Jump to content

From my error log. Does this look like a hack?


Billy

Recommended Posts


[10-Dec-2016 04:11:58 America/Chicago] PHP Warning: scandir(): (errno 13): Permission denied in /home/xoxoxoxo/public_html/classes/Dispatcher.php on line 877

[10-Dec-2016 04:11:58 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/xoxoxoxo/public_html/classes/Dispatcher.php on line 878

[10-Dec-2016 04:12:16 America/Chicago] PHP Warning: scandir(/home/xoxoxoxo/public_html/override/controllers/front/guide.OFF/): failed to open dir: Permission denied in /home/xoxoxoxo/public_html/classes/Dispatcher.php on line 877

[10-Dec-2016 04:12:16 America/Chicago] PHP Warning: scandir(): (errno 13): Permission denied in /home/xoxoxoxo/public_html/classes/Dispatcher.php on line 877

[10-Dec-2016 04:12:16 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/xoxoxoxo/public_html/classes/Dispatcher.php on line 878

[13-Dec-2016 22:37:13 America/Chicago] PHP Warning: scandir(/home/xoxoxoxo/public_html/themes/xxxx/cache/ie9): failed to open dir: No such file or directory in /home/xoxoxoxo/public_html/classes/Media.php on line 628

 

Link to comment
Share on other sites

I have the same problem

 

[19-Dec-2016 00:53:08 ] PHP Warning:  scandir(/home/........../public_html/........../themes/........../cache/ie9): failed to open dir: No such file or directory in /home/........../public_html/........../classes/Media.php on line 628
[19-Dec-2016 00:53:08 ] PHP Warning:  scandir(): (errno 2): No such file or directory in /home/........../public_html/........../classes/Media.php on line 628
[19-Dec-2016 00:53:08 ] PHP Warning:  Invalid argument supplied for foreach() in /home/........../public_html/........../classes/Media.php on line 629
Edited by jesika (see edit history)
Link to comment
Share on other sites

All these requests are returning an error, therefore not harmful, cause server is answering with error. Interesting should be the IP from the request, to say if it is a hack try, or yourself having errors on some files....

 

scandir are in 99% hack tries.

 

"invalid argument" are errors in files, same for "failed to open dir".

Link to comment
Share on other sites

All these requests are returning an error, therefore not harmful, cause server is answering with error. Interesting should be the IP from the request, to say if it is a hack try, or yourself having errors on some files....

 

scandir are in 99% hack tries.

 

"invalid argument" are errors in files, same for "failed to open dir".

This error comes after an updating of PrestaShop v1.6.1.9 to PrestaShop v1.6.1.10

Link to comment
Share on other sites

This error comes after an updating of PrestaShop v1.6.1.9 to PrestaShop v1.6.1.10

In you special case, it could be an incompatibility to a module or theme you are using with the php-version in use on your server, or simply missing files/directories deleted during upgrade and your extras are needing.

 

Disable all overrides and modules which are not from Prestashop and verify if error disappear.

Link to comment
Share on other sites

In you special case, it could be an incompatibility to a module or theme you are using with the php-version in use on your server, or simply missing files/directories deleted during upgrade and your extras are needing.

 

Disable all overrides and modules which are not from Prestashop and verify if error disappear.

I'll check. Thanks !

Edited by jesika (see edit history)
Link to comment
Share on other sites

I'll check

Please check also if /classess/Media.php is available/have right reading permissions on your FTP. This file should have chmod 0644.

 

If yes than empty cache of your theme. /theme/your theme/cache. Delete all files there BUT NOT the index.php file.

 

You are using any cache module extra ? Which php-version are you running on your server ? Linux what (Debian, Ubuntu)?

  • Like 1
Link to comment
Share on other sites

Extra caching is not activated ? As php5.6 works with opcodecache does not need other cache system and BTW it is incompatible, running errors on server.

 

Check on tab: advanced parameters -> performance -> last section there: Cache - use cache = NO.

 

Please check also if /classess/Media.php is available/have right reading permissions on your FTP. This file should have chmod 0644.


Linux , PHP 5.6

/theme/your theme/cache-deleted only index.php in this folder     

errors disappeared ?

Link to comment
Share on other sites

No, but later you write.


Extra caching is not activated ? As php5.6 works with opcodecache does not need other cache system and BTW it is incompatible, running errors on server.

 

Check on tab: advanced parameters -> performance -> last section there: Cache - use cache = NO.

 


errors disappeared ?

No, but later you write

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...