something's gone terribly wrong with my forums!

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   something's gone terribly wrong with my forums!
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
when I try to access post on my forums I get this message:


Warning: main(modules/Forums/viewtopic.php): failed to open stream: Permission denied in /home/adr/public_html/home/modules.php on line 43

Warning: main(): Failed opening 'modules/Forums/viewtopic.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adr/public_html/home/modules.php on line 43
Sorry, such file doesn't exist...


anyone know how to fix it?



Back to top Reply with quote
#2   re: something's gone terribly wrong with my forums!
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Yes, I do.


Warning: main(modules/Forums/viewtopic.php): failed to open stream: Permission denied in /home/adr/public_html/home/modules.php on line 43

means that you need to set your permissions so that the world can read that particular file.

The reason you are getting this:


Warning: main(): Failed opening 'modules/Forums/viewtopic.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adr/public_html/home/modules.php on line 43
Sorry, such file doesn't exist...
is because since you don't have permission it is saying it doesn't exist.

To fix these warnings, you need to make sure your permissions are set to "644" for that particular file, and if you get this warning again, change that file to 644 as well.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: something's gone terribly wrong with my forums!
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
wolf - thank you for your help.

At the risk of sounding like a further dumbass.....how do I change the permissions to 644?



Back to top Reply with quote
#4   re: something's gone terribly wrong with my forums!
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
It depends what hosting you are using. Are you using cPanel? It's easy thru cPanel, but any other host im not sure about. If your using codezhost, ask Telli or whoever has it can tell you.

If your on cPanel, just simply click on the file name and you have a menu on the upper right. Look down that menu and you will see Change Permissions. Click those check-boxes until you have the desired 644.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: something's gone terribly wrong with my forums!
thedon
CZ Super Newbie
thedon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 20, 2004
0.01 posts per day
Posts: 38
Points: 2,114
   
yes, I am using cPanel. That sounds easy enough, I think even I can figure it out.

Thanks again for your help wolf!



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum