[Solved]Installation problem "failed to open stream" and missing editor.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

[Solved]Installation problem "failed to open stream" and missing editor.

Post by wakewatcher »

I updated one of my installations from 1.6.6 to 1.7 and all seemed well.  The "system information" all passed. (with one "!" for current php 5.2.11) all seemed well until I tried to add new content.  Then I got these failures:
Warning: fopen(/home/abc/public_html/bvg/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/abc/public_html/bvg/lib/classes/class.contentoperations.inc.php on line 568

Warning: fwrite(): supplied argument is not a valid stream resource in /home/abc/public_html/bvg/lib/classes/class.contentoperations.inc.php on line 569

Warning: fclose(): supplied argument is not a valid stream resource in /home/abc/public_html/bvg/lib/classes/class.contentoperations.inc.php on line 570
I looked at the folders and it looks to have the same permissions as another cmsms (1.6.6) installation.  (Which work fine.)
For instance the /tmp/cache/contentcache.php file in both instances was set as 0644.  But out of desperation I changed the permissions of the 1.7 version to 0777 and then the problem 'seems' to have gone away.  But I'm not comfortable with my guessed at solution.

On a separate issue.  In this instance (1.7) the editor icons, tinyMCE, (the area above the content window) is blank.  It seems like I saw this before a couple of years ago but can't remember (or find) what caused it.  -thx-
Last edited by wakewatcher on Thu Apr 15, 2010 10:06 pm, edited 1 time in total.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Installation problem "failed to open stream" and missing editor.

Post by reneh »

Try a Clear cache from admin area - global settings - advanced.

And for Tiny:
Tiny module have a list of posible solutions in its help section
I.e. try to do a    reset all settings to default  in Tiny admin - advanced.
ReneH 8-)
A search will save you hours waiting for an answer! Image
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

[solved]Re: Installation problem "failed to open stream" and missing editor.

Post by wakewatcher »

Thanks for everything.  Tiny now is smiling at me!
Locked

Return to “[locked] Installation, Setup and Upgrade”