Jump to content

Recommended Posts

Posted

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!

Posted

Now I get this error:

Forbidden

You 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.

Posted (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 by natimage
Posted

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.

Posted

Thanks, Nick!!!!!!!!!! :D

 

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

Posted

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.

Posted

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

Posted (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 by TCH-Don
Posted

Thanks, Nick. And thanks, Don, for the link and the info!

 

Much appreciated! I might learn a thing or two about permissions yet!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...