Page 1 of 1

Warning: fopen

Posted: Thu Apr 19, 2012 2:13 am
by seafurymike
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

Re: Warning: fopen

Posted: Thu Apr 19, 2012 4:56 am
by Wishbone
Do those paths exist?

Re: Warning: fopen

Posted: Thu Apr 19, 2012 5:52 am
by Rolf
Contacted webhost yet? He could change it...