Guest Posted March 7, 2006 Posted March 7, 2006 Help i am getting failed to open stream: Permission denied in Unknown on line 0 on my index page i do not know what to do
kgt Posted March 7, 2006 Posted March 7, 2006 I believe this happens when the webserver cannot even open index.php for reading. Make sure your permissions are at the very least 444 on index.php. (Read for owner, group, and everyone.) You can change this in your FTP program, usually by right-clicking and choosing "Properties" or something similar. Contributions Discount Coupon Codes Donations
Guest Posted March 7, 2006 Posted March 7, 2006 I believe this happens when the webserver cannot even open index.php for reading. Make sure your permissions are at the very least 444 on index.php. (Read for owner, group, and everyone.) You can change this in your FTP program, usually by right-clicking and choosing "Properties" or something similar. will that be just the index or the index in the english folder thanks for your help
kgt Posted March 7, 2006 Posted March 7, 2006 will that be just the index or the index in the english folder Honestly? It's probably every file in your site. However, change permissions on just the root index.php (not the one in english). If you get a different error (probably something like "failed to open file includes/application_top.php: permission denied), then you know that was the problem. If this is that case, contact your host and have them fix the issue by making all files in your site readable by the webserver. Contributions Discount Coupon Codes Donations
Guest Posted March 7, 2006 Posted March 7, 2006 Honestly? It's probably every file in your site. However, change permissions on just the root index.php (not the one in english). If you get a different error (probably something like "failed to open file includes/application_top.php: permission denied), then you know that was the problem. If this is that case, contact your host and have them fix the issue by making all files in your site readable by the webserver. EVerything was working fine until this morning my web host is of no help i have made changes on the root index.php yes it all files cause no page is showing now what i get now is Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home2/mysite/public_html/index.php on line 13
♥Vger Posted March 7, 2006 Posted March 7, 2006 Your files all need to have permissions of 644, except for the two configure.php files which will be 644, 444 or 400 (depending on the server setup). Folders should have permissions of 755. Vger
Guest Posted March 7, 2006 Posted March 7, 2006 Your files all need to have permissions of 644, except for the two configure.php files which will be 644, 444 or 400 (depending on the server setup). Folders should have permissions of 755. Vger but this was working quite ok before this morning i feel someone edited one of my file i was thinking of re installing os commerce but i have customers who already registered
kgt Posted March 7, 2006 Posted March 7, 2006 but this was working quite ok before this morningi feel someone edited one of my file i was thinking of re installing os commerce but i have customers who already registered This is a server problem. I doubt anyone edited your file, because that's not the problem. Permissions got changed for your whole site. I highly doubt reinstalling will help. If your host will not help you with a file permissions problem, then I'd say drop them. They're bad news. In the meantime, you can find an FTP program that will do recursive CHMOD. This one advertises that it will: http://www.coreftp.com/ You will need to set permissions as Vger has said. Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.