I'm totally lost...Warning: fopen(C:\Web Sites\iaj/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in C:\Web Sites\iaj\lib\classes\class.content.inc.php on line 1784
Warning: fwrite(): supplied argument is not a valid stream resource in C:\Web Sites\iaj\lib\classes\class.content.inc.php on line 1785
Warning: fclose(): supplied argument is not a valid stream resource in C:\Web Sites\iaj\lib\classes\class.content.inc.php on line 1786
Pages not Updating
-
patrick95350
Pages not Updating
After a recent server migration (Unfortunately, I didn't have any control over that), I'm not able to update any pages. Or rather, the updates are saved, but don't show up on the actual site. I'm getting these error codes at the top of all the admin content pages:
-
fadum
Re: Pages not Updating
I had that and chmod contentcache.php 777 and it sorted it, i then changed it back to 644 and all was still ok
still dont know what causes it
-
iNSiPiD
Re: Pages not Updating
Not all servers support fopen file/url by default. Check with your ISP.
-
patrick95350
Re: Pages not Updating
According to my host, fopen, &c., is supported. I did notice that the first line of the error message:
there is a link: [function.open] is actually link pointing to "http://iaj.ucdavis.edu/admin/function.fopen", but there is not function.fopen in the admin folder. Is there a settings error that creeped in, either in CMS or in the server's php install?Warning: fopen(C:\Web Sites\iaj/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in C:\Web Sites\iaj\lib\classes\class.content.inc.php on line 1784
-
iNSiPiD
Re: Pages not Updating
The error is occurring in a temp file. Have you tried clearing the cache?
This appears to be a local site as the root path is from your C drive. Your ISP doesn't come into it.
You'll need to chek your own Apache settings in the httpd.conf file for fopen.
This appears to be a local site as the root path is from your C drive. Your ISP doesn't come into it.
You'll need to chek your own Apache settings in the httpd.conf file for fopen.
-
patrick95350
Re: Pages not Updating
I hadn't tried clearing the cache. Feel kinda like an idiot for not trying that first. Unfortunately, all that did was reveal even more error messages!
Aack!Warning: unlink(C:\Web Sites\iaj/tmp/cache/contentcache.php) [function.unlink]: Permission denied in C:\Web Sites\iaj\admin\siteprefs.php on line 77
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 167
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at C:\Web Sites\iaj\admin\siteprefs.php:77) in C:\Web Sites\iaj\lib\classes\class.admintheme.inc.php on line 176
-
iNSiPiD
Re: Pages not Updating
Urghgh...sounds like a permissions problem. Are you on a *nix box? I've got no idea how to set file permissions but make sure you have given read/write permissions to the various files and directories as outlined in the installation instructions.
If that doesn't work I think you'd better try sending wishy a private message about this.
Have you tried this site out on your ISP's server yet to see if you get similar errors?
If that doesn't work I think you'd better try sending wishy a private message about this.
Have you tried this site out on your ISP's server yet to see if you get similar errors?
-
iNSiPiD
Re: Pages not Updating
Hi Patricia,
Yah, that's what is weird. The only way the temp directory would be Read Only is if it was copied from removable media or had been set that way in the ZIP archive.
Normally header errors are a result of certain calls being made after the header information is already set. I can't imagine this is a code error. I'd usually just wrap everything in ob_start/ob_end if it was.
patrick95350, get properties on the following directories and make sure they're not Read Only for some odd reason.
- tmp/templates_c
- tmp/cache
- uploads
- uploads/images
This should do the job.
Yah, that's what is weird. The only way the temp directory would be Read Only is if it was copied from removable media or had been set that way in the ZIP archive.
Normally header errors are a result of certain calls being made after the header information is already set. I can't imagine this is a code error. I'd usually just wrap everything in ob_start/ob_end if it was.
patrick95350, get properties on the following directories and make sure they're not Read Only for some odd reason.
- tmp/templates_c
- tmp/cache
- uploads
- uploads/images
This should do the job.
