Forums / Install & configuration / permission on files
David Ouagne
Thursday 10 April 2008 1:12:46 pm
I have apply this script:
#!/bin/sh
chmod -R ug+rwx design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/storagechown -R apache:apache design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/storage
chmod -R ug+rwx var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage/original var/storage/reference var/storage/variationschown -R apache:apache var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage/original var/storage/reference var/storage/variations
chmod -R ug+rwx autoloadchown -R apache:apache autoload
the result is these error messages :
Warning: require(autoload/ezp_kernel.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/jardibois.eu/httpdocs/autoload.php on line 34
Fatal error: require() [function.require]: Failed opening required 'autoload/ezp_kernel.php' (include_path='.:') in /var/www/vhosts/jardibois.eu/httpdocs/autoload.php on line 34
What's the problem?
Felix Laate
Thursday 10 April 2008 2:37:39 pm
Hi David,
are you positioned in the root of the Exponential-instalation when you execute this script?
Felix
Publlic Relations Manager Greater Stavanger www.greaterstavanger.com
Thursday 10 April 2008 11:39:09 pm
Hi,
I hope ... It is not I who is applied the script but my hoster. I am inquiring.
Friday 11 April 2008 12:11:07 pm
I have several problems permission example:
Could not open file 'var/ezwebin_site/cache/template/compiled/page_footer-b0f27be627fe48178887732ab294c9b5.php.ea84299c0e1da6d47bccef03d283e28e' for writing, perhaps wrong permissions [ Apr 10 2008 18:20:34 ] [91.163.112.20] eZPHPCreator::store: Failed to open file 'var/ezwebin_site/cache/template/compiled/page_footer-b0f27be627fe48178887732ab294c9b5.php' [ Apr 10 2008 18:20:34 ] [91.163.112.20] eZTemplateCompiler::executeCompilation: Unknown compiled template 'var/ezwebin_site/cache/template/compiled/page_footer-b0f27be627fe48178887732ab294c9b5.php' [ Apr 10 2008 18:20:36 ] [91.163.112.20] eZINI: Couldn't create cache file 'var/cache/ini/875bf40b060cb1c4eaa46879dd6c9f85.php', perhaps wrong permissions [ Apr 10 2008 18:20:36 ] [91.163.112.20] eZINI: Couldn't create cache file 'var/cache/ini/abae97a647a710d2a0f568751bcdba71.php', perhaps wrong permissions [ Apr 10 2008 18:20:36 ] [91.163.112.20] eZINI:Couldn't create cache file 'var/cache/ini/87f270bc2739916ca1f10fbd52714f48.php', perhaps wrong permissions
And
[ Apr 11 2008 20:43:12 ] [217.112.179.95] eZImageHandler::changeFilePermissions: Chmod 0666 var/ezwebin_site/storage/images/abris-pour-voiture/quelques-realisations/garage-modele-miami/1263-1-fre-FR/Garage-modele-Miami_imagelarge.jpg failed [ Apr 11 2008 20:43:20 ] [217.112.179.95] eZImageHandler::changeFilePermissions: Chmod 0666 var/ezwebin_site/storage/images/abris-pour-voiture/quelques-realisations/garage-modele-massif/1259-1-fre-FR/Garage-modele-Massif_gallerythumbnail.jpg failed [ Apr 11 2008 20:43:20 ] [217.112.179.95] eZImageHandler::changeFilePermissions:Chmod 0666 var/ezwebin_site/storage/images/abris-pour-voiture/quelques-realisations/garage-modele-miami/1263-1-fre-FR/Garage-modele-Miami_gallerythumbnail.jpg failed
This causes no image in the frontpage, why ?
Carlos Revillo
Friday 11 April 2008 2:13:34 pm
Have you checked your safe_mode setting? You could check it in your admin site. Click the setup tab and then system information. You will be shown information about your server configuration. Search for safe_mode. If this setting is set to on, you will have problems in order to work with your cache files. You can also try to upload a simple php file to your server with <?phpinfo()?> in it and see what it tells.
Some shared hostings have this option enabled for security reasons, but there are many links over the internet telling about the problems of having this setting enabled
There is also some issues reported for EZhttp://issues.ez.no/9662
Hope this helps.