TinyPortal

Development => Support => Installation => Topic started by: hudd92 on March 21, 2006, 08:29:03 PM

Title: Why??
Post by: hudd92 on March 21, 2006, 08:29:03 PM
Why do I get this?

2: copy(/home/hudd92/public_html/forums/Themes/default/images/divider.gif): failed to open stream: Permission denied
File: /home/hudd92/public_html/forums/Sources/Subs-Package.php
Line: 961
Title: Re: Why??
Post by: alan s on March 21, 2006, 08:45:20 PM
why? because it can...............................only messing what you need to do is chmod the smf directory to 777
Title: Re: Why??
Post by: Arkanthos on March 21, 2006, 08:56:48 PM
yeppers, most of the time when you see the words failed to open stream: Permission denied it's a chmod problem.
Title: Re: Why??
Post by: hudd92 on March 21, 2006, 09:01:57 PM
Well, I played with different directories and got it working.
Title: Re: Why??
Post by: TwinsX2Dad on March 21, 2006, 09:32:23 PM
Quote from: Arkanthos on March 21, 2006, 08:56:48 PM
yeppers, most of the time when you see the words failed to open stream: Permission denied it's a chmod problem.

It could also be a path issue.
Title: Re: Why??
Post by: iowamf on March 21, 2006, 09:41:58 PM
check to make sure the file divider.gif is there and that permissions on upper level dirs have 'x' priv's.

I know many who chmod all SMF files to 777 - which is OK for testing/debugging ... but (in my humble opinion) somewhat questionable in production environments.
Title: Re: Why??
Post by: TwinsX2Dad on March 21, 2006, 09:51:56 PM
Quote from: iowamf on March 21, 2006, 09:41:58 PMI know many who chmod all SMF files to 777 - which is OK for testing/debugging ... but (in my humble opinion) somewhat questionable in production environments.

It would be okay for certain people, but not on the majority of shared hosts. 777 is misunderstood as allowing the 'world' to modify your files. in reality, that 'world' is your Apache server, not the entire world.

I would have reservations on changing everything to 777, because you might not change all of them back correctly. There are quite a few files.
Title: Re: Why??
Post by: bps on June 25, 2006, 04:07:56 AM
i have the same problem and i made sure that the folder is chmoded to 777 and i still get the same problem
Title: Re: Why??
Post by: G6Cad on June 25, 2006, 09:16:09 AM
Read this thread. It will give you all the help you need.

http://www.tinyportal.net/smf/index.php?topic=3860.10