Friday 20 April 2007 6:04:46 am
Hi Egil, thanks for your reply! I tried renaming index.php to extension .phpx. Debug output told me about problems with var/log so I 777 this directory with whole subcontent like the log files. No more bad debug output. But if I try the URL for the admin panel, it falls back to normal site, so there has to be an error depending the URL then. After a grep of the source files, a reference to "index.php" is found in many of them so just renaming to .phpx would not do it, there always would be those little errors. So I set up an .htaccess with the content "AddHandler php-fastcgi .php". Now the index.php is handled over fastcgi without renaming. I tried that these days already but there was always some error like the admin panel fell back again or there were no writing rights to the log directory. It seems that in fcgi mode you have to change the rights in var/log as mentioned above. And to use the admin panel u should know that there is an "?" assigned to the index.php as far as I can see now (late :P), so to reach the admin panel you need to do a .../index.php<b>?</b>/your_admin_url. Then again, having made it to the admin panel, i cleared all the caches one after the other. Clicking on the "Clear" button in quick tab to the right just went to asking me if I wanted to download the index.php. Clearing cache after cache or all caches over the Design tab instead was working. Loading the a page with images the first time gives a warning "chmod() ... Operation not permitted in ... ezimagehandler.php" and an error "Error: eZImageHandler::changeFilePermissions" ""Chmod 0666 (someimagefile) failed". Loading it a second time, those warnings and errors are gone. I looked up the named files by FTP and saw that they automatically were chmod 666 so maybe this is the reason why debug output did not show warnings and errors a second time alias when they are already cached. To sum it up: AddHandler php-fastcgi in .htaccess, var/log and subcontent rights to 777, admin panel over index.php? (question mark!), weired index.php download if clicked on the wrong cache button, after clearing all caches a one time chmod() error. I will have a try if I can live with this kinda not so really satisfying solution. ;) Thanks again Egil for the information that all subscripts are running over index.php. That made me save some time on thoughts about how to change the other scripts.
Have a nice day! the one who invested many many many hours in problems who shall not be there
|