Jump to content

Strange PHP Warnings in logs file


Recommended Posts

Hello i mentioned these strange line in my vps logs file: 

[Fri Oct 31 13:38:31 2014] [warn] [client ip.ip.ip.ip] mod_fcgid: stderr: PHP Warning:  Base directory /var/www/vhosts/domain.com/httpdocs/cache/purifier does not exist,, referer: http://domain.com/en/category1

[Fri Oct 31 13:38:31 2014] [warn] [client ip.ip.ip.ip] mod_fcgid: stderr:                     please create or change using %Cache.SerializerPath in /var/www/vhosts/domain.com/httpdocs/tools/htmlpurifier/HTMLPurifier.standalone.php on line 15280, referer: http://domain.com/en/category1

[Fri Oct 31 14:01:47 2014] [warn] [client ip.ip.ip.ip] mod_fcgid: stderr: PHP Warning:  touch(): Unable to create file /var/www/vhosts/domain.com/httpdocs/cache/push/activity because No such file or directory in /var/www/vhosts/domain.com/httpdocs/classes/Tools.php on line 2995, referer: http://domain.com/en/category1

Does anyone has any idea how these error are generated? These errors keep going every time i refresh any category page.

 

Thanks in advance,

C

Link to comment
Share on other sites

You can probably fix the first and last ones by creating the given directories with appropriate permissions :

/var/www/vhosts/domain.com/httpdocs/cache/purifier 

/var/www/vhosts/domain.com/httpdocs/cache/push/activity

 

For the second one this is maybe a bug in Prestashop (please search specifically for)

You may take a look at

http://htmlpurifier.org/live/configdoc/plain.html#Cache.SerializerPath and at /tools/htmlpurifier/HTMLPurifier.standalone.php on line 15280

  • Like 1
Link to comment
Share on other sites

what is your prestashop version?

 

I am in 1.6.0.8

 

You can probably fix the first and last ones by creating the given directories with appropriate permissions :

/var/www/vhosts/domain.com/httpdocs/cache/purifier 

/var/www/vhosts/domain.com/httpdocs/cache/push/activity

That worked! 

Link to comment
Share on other sites

  • 9 months later...

hi..............

 

 

 

Warning on line 15280 in file /home/hindiso/public_html/tools/htmlpurifier/HTMLPurifier.standalone.php
[512] Base directory /home/hindiso/public_html/cache/purifier does not exist, please create or change using %Cache.SerializerPath

Warning on line 15280 in file /home/hindiso/public_html/tools/htmlpurifier/HTMLPurifier.standalone.php
[512] Base directory /home/hindiso/public_html/cache/purifier does not exist, please create or change using %Cache.SerializerPath

Warning on line 15280 in file /home/hindiso/public_html/tools/htmlpurifier/HTMLPurifier.standalone.php
[512] Base directory /home/hindiso/public_html/cache/purifier does not exist, please create or change using %Cache.SerializerPath

Link to comment
Share on other sites

  • 1 month later...

Warning on line 1787 in file /home/armi0024/public_html/classes/controller/AdminController.php
[2] Cannot modify header information - headers already sent by (output started at /home/armi0024/public_html/override/classes/Link.php:45)

i got this error. any body here for fix this problem

 

Thanks

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...