Ok, I've built a CMS and installed same on several different servers. Occasionally I've had problems with the PHP code that writes to the created pages and files, but nearly always they've been permissions problems and once the fopen setting in php.ini. Now, however, I'm on a server that's thrown me another curve ball -- no matter what the permissions are on files, folders, or whatever -- even 777! -- I still get:
Code:
Warning: fopen(../../index.php) [function.fopen]: failed to open stream: Permission denied in /home/warriorg/public_html/admin/includes/publish.php on line 46
can't open ../../index.php
Incredibly frustrating . . . fopen is turned on in the .ini, and I'm at a loss of what to check next. Anybody with any thoughts? Remember this same code has worked literally on 10 other servers.