some errors from error.log

Found a bug? Tell us!!
Post Reply
emwede
Regular
Posts: 58
Joined: Thu Jun 22, 2006 10:38 am
Contact:

some errors from error.log

Post by emwede »

Hi, for some time now my /var/log/apache2/error.log fills up mainly with two errors resulting from s9y-code (as I read it):

Code: Select all

 PHP Parse error:  syntax error, unexpected ';' in /var/www/.../plugins/pl_informa/template_show_informa on line 13        
and the second one

Code: Select all

PHP Warning:  Invalid argument supplied for foreach() in /var/www/.../plugins/serendipity_event_geotag/serendipity_event_geotag.php on line 253
The third that always goes hand in hand with the fourth is

Code: Select all

PHP Warning:  feof(): supplied argument is not a valid stream resource in /var/www/.../blog.php on line 914
[Thu May 10 09:18:41 2007] [error] [client 74.6.71.35] PHP Warning:  fgets(): supplied argument is not a valid stream resource in
/var/www/.../blog.php on line 914              

where the fifths looks realy weired and is probably caused by some hacking attempt

Code: Select all

PHP Warning:  serendipity_plugin_api::include() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/.../plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:/var/www/.../bundled-libs/:/var/www/.../bundled-libs/Smarty/libs/:/var/www/.../:') in /var/www/.../include/plugin_api.inc.php on line 548 


Anyone out there, who has seen this before or probably even fixed it ;-)

thanks and best regards
Michael

BTW: Environment look like this:

debian, apache 2.2.3-4, libapache2-mod-php5 5.2.2-1, s9y 1.2-alpha4 (as from svn of May 5th 8:50)[/code]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: some errors from error.log

Post by garvinhicking »

Hi!

Code: Select all

 PHP Parse error:  syntax error, unexpected ';' in /var/www/.../plugins/pl_informa/template_show_informa on line 13        
That is not a default serendipity file, it must come from you. There's no "pl_informa" directory in any of the official s9y plugins/directories.
and the second one

Code: Select all

PHP Warning:  Invalid argument supplied for foreach() in /var/www/.../plugins/serendipity_event_geotag/serendipity_event_geotag.php on line 253
I believe that one is fixed in recent versions of the geotag plugin.
The third that always goes hand in hand with the fourth is

Code: Select all

PHP Warning:  feof(): supplied argument is not a valid stream resource in /var/www/.../blog.php on line 914
[Thu May 10 09:18:41 2007] [error] [client 74.6.71.35] PHP Warning:  fgets(): supplied argument is not a valid stream resource in
/var/www/.../blog.php on line 914              
blog.php is also not a default serendipity file so it must come from your custom code...

Code: Select all

PHP Warning:  serendipity_plugin_api::include() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/.../plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:/var/www/.../bundled-libs/:/var/www/.../bundled-libs/Smarty/libs/:/var/www/.../:') in /var/www/.../include/plugin_api.inc.php on line 548 
Hm, check the exact mentioned path there. PHP is not able to include the mentioned file, it might be because of improper paths or missing permissions. But I don't spot a hacking attempt there.


Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply