Page 1 of 1

Warning messages after PHP upgrade

Posted: Mon Jan 03, 2011 11:38 am
by burlington
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

Re: Warning messages after PHP upgrade

Posted: Mon Jan 03, 2011 8:33 pm
by replytomk3
Upgrade CMSMS.

Re: Warning messages after PHP upgrade

Posted: Mon Jan 03, 2011 8:40 pm
by M@rtijn
burlington wrote: I am running CMSMS version 1.5.2 "Caguas" which I know needs updating but I would like to sort this problem out first.
I guess 1.5.2 doesn't support php5.
I understand you want to fix your problem before upgrading , but chances are that upgrading will actually fix this problem :D

Re: Warning messages after PHP upgrade

Posted: Mon Jan 03, 2011 9:39 pm
by burlington
Thanks folks.

You are of course right.

I will now upgrade soonest.

Martin