WPIDS 0.2: problems with activation

You have feature Requests, or some Bugs found within the port of PHPIDS WPIDS? Tell them here.

WPIDS 0.2: problems with activation

Postby Mutt on Fri Nov 23, 2007 1:20 am

Hi - I've just tried to install WPIDS 0.2 (i.e. the latest version from the site at time of posting) for the first time. On trying to activate it from WordPress's plugin management page I get the following:
Code: Select all
Parse error: syntax error, unexpected '=', expecting ')' in /var/www/html/blog/wp-content/plugins/wp-ids/wp-ids.php on line 620

Did upload in ASCII mode etc, and I'm certain my webhosts are running PHP5. I had WP_Lockdown installed but deactivated it first. I have just upgraded to the latest WordPress release, 2.3.1.
Mutt
 

Re: WPIDS 0.2: problems with activation

Postby Philnate on Fri Nov 23, 2007 4:31 pm

Thanks Mutt for letting me know. I'm investigating, I've heard several comments that it seems to cause some Problems on WP 2.3.x, but I couldn't trac these Problems currently myself...
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: WPIDS 0.2: problems with activation

Postby Philnate on Sun Nov 25, 2007 9:15 pm

Mutt I just tested it, and it's working for me without any Problems. Please ask your Webhoster if he really uses PHP5. But it's sadly not enough at all that your host uses PHP5 you need at least PHP5.1.6 in order to be able to use WPIDS(sorry if it wasn't clear enough within the Readme).
You can as well check your PHP version by putting following into a php file, which you then browse to, through your Webbrowser:
Code: Select all
<?php
phpinfo();
?>

If it shows at least PHP5.1.6, reupload the files and then retry it. When it doesn't work afterwards I need more information about your webspace configuration.
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: WPIDS 0.2: problems with activation

Postby Arbyto on Tue Nov 27, 2007 2:12 pm

Hi everyone,
I've two (newbie) questions:
- PhpIDS is needed for WPIDS 0.2 to work?
- Assuming that the two of them are indipendent, I've installed WPIDS 0.2 on my WP 2.0.11 (hosting Apache + PHP 5.2.4) and I got these 2 warnings:
Code: Select all
Warning: include_once(wpids-css.php) [function.include-once]: failed to open stream: No such file or directory in /home/htdocs/wp-content/plugins/wp-ids.php on line 157

Warning: include_once() [function.include]: Failed opening 'wpids-css.php' for inclusion (include_path='./:/usr/local/web/php5/lib/pear') in /home/htdocs/wp-content/plugins/wp-ids.php on line 157

Any idea/suggestion is welcome :)

cheers!
Arbyto
 

More on WPIDS 0.2: problems with activation

Postby Arbyto on Tue Nov 27, 2007 3:03 pm

I've just noticed that when trying to login or open an internal directory of my WP installation, instead of being redirect to the login page, now i get this:
Code: Select all
Warning: require_once(/home/htdocs/wp-content/plugins/wp-ids/IDS/Init.php) [function.require-once]: failed to open stream: No such file or directory in /home/htdocs/wp-content/plugins/wp-ids.php on line 359

Fatal error: require_once() [function.require]: Failed opening required '/home/htdocs/wp-content/plugins/wp-ids/IDS/Init.php' (include_path='./:/usr/local/web/php5/lib/pear:/home/htdocs/wp-content/plugins/wp-ids/') in /home/htdocs/wp-content/plugins/wp-ids.php on line 359

I had to disable the plugin by ftp, since I had no other way to access my admin page by http.
Again, any suggestion is warmly welcome.

cheers!
Arbyto
 

Re: WPIDS 0.2: problems with activation

Postby Philnate on Tue Nov 27, 2007 8:16 pm

WPIDS needs PHPIDS to work, but you don't need to care about it as PHPIDS comes with WPIDS.
What did you exactly upload to your Blog, the whole WPIDS folder or just some single file called wp-ids.php? If it's only this single file you need to upload everything else as well as it's needed to run WPIDS. That would as well, solve the reason for your Errormessages, if you've uploaded everything, download the package again and reupload it to see if the error occurs again if so please tell me.
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: WPIDS 0.2: problems with activation

Postby Arbyto on Wed Nov 28, 2007 3:02 pm

Hi, many thanks for your answer!
As you correctly guessed, I've initally uploaded only wp-ids.php.
After reading your reply I've downloaded the full wp-ids.zip (v 0.1) from Php-ids website, and then uploaded wp-ids.php (v 0.2) in its folder. I'm gladly to say that now everything is working smoothly.
Is there a packaged archive with the latest version that I missed and that I can link to?

thanks again!
Arbyto
 

Re: WPIDS 0.2: problems with activation

Postby Philnate on Wed Nov 28, 2007 8:12 pm

I'm happy that I could help you, and that everything was quite easy to solve.
Currently we only have the link http://phpids.org/files/wpids.zip any way we plan to get some SVN version of a zip archive up soon. So you can get from that link always the latest zip. we've made already some smaller changes, to the package which didn't made it's way into the zip, so I would suggest that you download the latest wp-ids.php file from this link:
http://wpids.googlecode.com/svn/trunk/wp-ids.php

And some last point I want to mention: The version 0.1.x is the currently latest version of WPIDS. The current Zip-Package contains anyway WPIDS 0.2, which is only wrongly typed and shall be 0.1. And really early version was as well available under 1.0, these releases are really old and shouldn't be used any more.
Stay updated to BlogSecurity to get the latest announcements of WPIDS, and some other cool things!
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: WPIDS 0.2: problems with activation

Postby Mutt on Fri Nov 30, 2007 3:27 pm

Hi - my problem's now sorted, by the way. It was indeed an incorrect PHP version. (My host had installed PHP 5.2.4 but it needed activating - it was defaulting to 4.4.4.)
Mutt
 

Re: WPIDS 0.2: problems with activation

Postby Philnate on Fri Nov 30, 2007 7:58 pm

Fine, that this problem is sorted out.
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: WPIDS 0.2: problems with activation

Postby Arbyto on Fri Nov 30, 2007 11:43 pm

Thanks for the clarification,
I've downloaded 0.1.1, the latest version on SVN at the moment. And everything is working very well.
I've noticed that WP-IDS may conflict with some off-line editors such as Zoundry Blog Writer, ScribeFire and possibly with MS Live Writer. Is there a way to give autenticated users access trought xml-rpc?

cheers!
Arbyto
 

Re: WPIDS 0.2: problems with activation

Postby Philnate on Mon Jan 14, 2008 11:17 pm

Hmm, we didn't thought about such "problems". Could you give me some informations upon what causes problems for you with your offline Editors?
For sure something we should add.
Last bumped by Anonymous on Mon Jan 14, 2008 11:17 pm.
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm


Return to WPIDS

Who is online

Users browsing this forum: No registered users and 1 guest

cron