View Full Version : english.php permissions
July 29th, 2006, 07:40 AM
I have the languages folder and english.php files set to chmod 755, but am still getting the following error when I try to change some of the language strings via the admin panel:
"Warning: fopen(/home/XXXXX/public_html/reviews/languages/english.php): failed to open stream: Permission denied in /home/XXXXX/public_html/reviews/adm-misc.php on line 4563
Unable to write changes, permissions on english.php are not set properly"
Please advise what I am doing wrong. Thanks!
July 29th, 2006, 08:59 AM
In your languages directory change the english.php file to 666
July 29th, 2006, 09:43 AM
I've since had a similar problem with the permissions settings for a template file. Could you please clarify what settings they should all have?
I have the folder set to 755, but the files are currently at 644.
On a related note, is there a comprehensive list anywhere showing what the chmod settings for all files and folders should be? I'm afraid I found the installation instructions only partially helpful, as they didn't specify whether the settings they described should be applied to all folders and files or just the folders. They also, by the way, instructed me to set all of the php and sql files to one setting, but I then had to change both of the config php files back to something else when I experienced issues with their settings when running the install script.
As an overall result - and as evidenced by my language and template issues - I'm concerned that I probably have other files with incorrect settings. But no definitive, detailed list against which I can check them.
Sorry it's such a long way of asking the question, but I wanted to give you a newbie's perspective ;)
July 29th, 2006, 10:31 AM
The css and tmpl files need to be set to 666 as per instructed in our installation instructions for the software
July 29th, 2006, 10:43 AM
Do you mean just the files, or the stylesheets and template folders too? And what about the sub-folders?
And I'm not being funny, but where does it say that, please? I tried my very best to follow all of the installation instructions religiously.
There's no mention of the settings you mention on http://www.reviewpost.com/installphp.html, the chmod references from which are copied below. Is there not a comprehensive reference list anywhere?
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
data (chmod 777)
1 (chmod 777)
2 (chmod 777)
500 (chmod 777)
ioncube (chmod 755), this folder is only for the time-limited/expiring versions of ReviewPost
Be sure to FTP all .php and .sql files into the reviewpost directory. All permissions for .php and .sql files should be set to chmod 644."
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.