Hello

I made a std. Drupal installation and added the phpids module. So far it seemed to work. But after i leafed the website and accessed it again, there occured the following error:

Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /home/www/web38/html/webapp/v5/drupal/modules/phpids/IDS/Monitor.php on line 58

There just appears a blank, white, web page with this error message. So my Drupal is not accessable anymore, that's the reason, why i chose the priority "critial".

I use the phpids 0.3.1 and the current drupal module.
Thank you

CommentFileSizeAuthor
#3 info.php_.rtfd_.tar_.gz61.98 KBsysspoof

Comments

swentel’s picture

Can you give me some more information about your OS, php-version because I can't reproduce this error. I've tested all 3 packages on the PHPIDS site and with the download package of phpids on my site. You are sure you have'nt touched the Monitor.php file either ?

sysspoof’s picture

Hello

No i did not touch any file.
I attached the phpinfo output (richtext). I hope it provides you enough information.
For short answer i can say, that the os from my webhoster is a linux derivate.

Cheers

sysspoof’s picture

StatusFileSize
new61.98 KB

Hello

No i did not touch any file.
I attached the phpinfo output (richtext). I hope it provides you enough information.
For short answer i can say, that the os from my webhoster is a linux derivate.

Cheers

swentel’s picture

Status: Active » Closed (works as designed)

Well, you php version is 5.0.5; You need at least 5.1.6 (5.2.x recommend) to run the phpids. Sorry about that. You should ask your hosting company to upgrade PHP (it's a quite old version anyway). If you want to fix the blank pages, try to set the status of the phpids-module to 0 in your database. You can set the status to 0 in the 'system' table.

Same error also appears on PHPIDS forum cf http://forum.php-ids.org/comments.php?DiscussionID=39&page=1

sysspoof’s picture

hello

i have to apologize for my late reply. I changed the php version to 5.2 now and it seems to work correctly now.

Thank you.