Warning: fopen
Posted: Thu Apr 19, 2012 2:13 am
Hi I have an fopen error for caching reported in the end users browser and i cant work out how to supress this message.
I read i probably need to add a php.ini file with code to send this to a file instead but this is beyond me and i cant work it out.
Can anyone help please
Here is the full error message
Warning: fopen(/usr/local/pem/vhosts/103699/webspace/httpdocs/tmp/cache/contentcache.php): failed to open stream: Permission denied in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 515 Warning: fread(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 516 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 517 Warning: fopen(/usr/local/pem/vhosts/103699/webspace/httpdocs/tmp/cache/contentcache.php): failed to open stream: Permission denied in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 557 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 558 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 559
I read i probably need to add a php.ini file with code to send this to a file instead but this is beyond me and i cant work it out.
Can anyone help please
Here is the full error message
Warning: fopen(/usr/local/pem/vhosts/103699/webspace/httpdocs/tmp/cache/contentcache.php): failed to open stream: Permission denied in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 515 Warning: fread(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 516 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 517 Warning: fopen(/usr/local/pem/vhosts/103699/webspace/httpdocs/tmp/cache/contentcache.php): failed to open stream: Permission denied in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 557 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 558 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pem/vhosts/103699/webspace/httpdocs/lib/classes/class.contentoperations.inc.php on line 559