Warning messages after PHP upgrade
Posted: Mon Jan 03, 2011 11:38 am
The PHP version for the server on which my website has been mounted has been upgraded from 4* to 5* and I now get the following warning message:
<quote>
Warning: fopen(/home/****/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 556
Warning: fwrite(): supplied argument is not a valid stream resource in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 557
Warning: fclose(): supplied argument is not a valid stream resource in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 558
</quote>
I am running CMSMS version 1.5.2 "Caguas" which I know needs updating but I would like to sort this problem out first.
The permissions on the file in question are set at 644.
Can anyone help please?
Thank you.
Martin
<quote>
Warning: fopen(/home/****/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 556
Warning: fwrite(): supplied argument is not a valid stream resource in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 557
Warning: fclose(): supplied argument is not a valid stream resource in /home/****/public_html/lib/classes/class.contentoperations.inc.php on line 558
</quote>
I am running CMSMS version 1.5.2 "Caguas" which I know needs updating but I would like to sort this problem out first.
The permissions on the file in question are set at 644.
Can anyone help please?
Thank you.
Martin