natimage Posted January 24, 2004 Posted January 24, 2004 I've worked on this Invision Board a little bit, but not recently. When I went to mess with it today, I suddenly got the following error: Warning: load_template(./Skin/s2/skin_global.php): failed to open stream: Permission denied in /home/monarch/public_html/Invision/sources/functions.php on line 62 I changed permissions in WSFTP to 777 for the Invision folder, but that did not help. Any suggestions? Thanks! Quote
natimage Posted January 25, 2004 Author Posted January 25, 2004 Now I get this error: ForbiddenYou don't have permission to access /Invision// on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.29 Server at www.monarchmountaindesigns.com Port 80 That file and several other files I checked are all at 644 now. There are 2 folders in the Skins directory. S1 and S2...I checked permissions on both of them. However, in S2, when I clicked CHMOD to check the permission settings I got the following FTP error, even though I wasn't changing anything: 550 Could not change perms on s2: Bad file descriptor!Chmod failed. It may not be supported on remote site. None of the others that I checked gave me an error. Quote
natimage Posted January 25, 2004 Author Posted January 25, 2004 (edited) This morning. With all permissions seemingly set at 644, I get the Forbidden, you don' have permission error. If I set /Invision folder to 777, I get the following error: Warning: main(./sources/functions.php): failed to open stream: Permission denied in /home/monarch/public_html/Invision/index.php on line 106 I tinkered with the permissions on the index.php file and on the sources/functions.php file, but to no avail. Any ideas on how this thing got messed up to begin with? I had not touched permissions on this site after getting IPB set up. And at that poing, it was working fine. Actually, I did check to see what the permission settings were at one point, but made no changes. And I think I still had access at that point as well. Edited January 25, 2004 by natimage Quote
Nick_ Posted January 25, 2004 Posted January 25, 2004 natimage, I tweaked the permissions a little bit on your /Invision/ folder, and now as far as I can tell, it's fixed. Please let me know if you find otherwise. Quote
natimage Posted January 25, 2004 Author Posted January 25, 2004 Thanks, Nick!!!!!!!!!! Can you tell me what you did and why, so that if this ever happens again, maybe I'll have the smarts to fix it myself? Rock Sign Quote
Nick_ Posted January 25, 2004 Posted January 25, 2004 I chmod 755'd everything...It probably needs tweaked a bit, but I've found with permissions, it's usually easiest to set them 755 temporarily, than once it works, slowly restrict the permissions better. Quote
TCH-Dick Posted January 25, 2004 Posted January 25, 2004 the only files that REALLY need to be restricted are config_global and skin_global.php, these should not be writeable unless you are making any changes in your admin cpanel Quote
TCH-Don Posted January 25, 2004 Posted January 25, 2004 (edited) from the IPB install guide. folder name: CHMOD value archive_in 0755 archive_out 0755 lang 0755 Skin 0755 style_images 0755 uploads 0777 file name: CHMOD value conf_global.php 0666 Note: on the IPS site there is a IPB Documentation page that may explain a lot more, including backing up and restoring the data. Edited January 25, 2004 by TCH-Don Quote
natimage Posted January 25, 2004 Author Posted January 25, 2004 Thanks, Nick. And thanks, Don, for the link and the info! Much appreciated! I might learn a thing or two about permissions yet!! Quote
Nick_ Posted January 25, 2004 Posted January 25, 2004 You might check out http://rsc.cx/docs/chmod.html as well...it's a pretty decent but short chmod tutorial Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.