Problem creating 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   Problem creating forums.
eag2
CZ Newbie
eag2 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 03, 2004
0.00 posts per day
Posts: 4
Points: 174
   
When I try to goto my forums to create new boards and things I get this error.

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/freepgs.com/httpdocs/eag2/modules/Forums/admin/index.php on line 67

Fatal error: Failed opening required './../extension.inc' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/freepgs.com/httpdocs/eag2/modules/Forums/admin/index.php on line 67

If I just click on the forums it'll take me to them, but there isn't any forums there. I ain't got the chance to set them up cuase I get that error when I try to.

Any help or sugguestions would be appreciated. Thanks.



Back to top Reply with quote
#2   re: Problem creating forums.
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
What version of Nuke is this?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Problem creating forums.
eag2
CZ Newbie
eag2 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 03, 2004
0.00 posts per day
Posts: 4
Points: 174
   
I beleive it's 7.0 not completely sure though.



Back to top Reply with quote
#4   re: Problem creating forums.
eag2
CZ Newbie
eag2 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 03, 2004
0.00 posts per day
Posts: 4
Points: 174
   
No more help?



Back to top Reply with quote
#5   re: Problem creating forums.
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
Please be patient, we can't give you an answer if we can't recreate the error. Someone will get back to you as soon as they have the answer and could you please post what is on line 67 of that file


taut



Back to top Reply with quote
#6   Re: Problem creating forums.
lilia
CZ Newbie
lilia has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 05, 2004
0.00 posts per day
Posts: 7
Points: 1,264
   


Originally posted by eag2:

When I try to goto my forums to create new boards and things I get this error.

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/freepgs.com/httpdocs/eag2/modules/Forums/admin/index.php on line 67

Fatal error: Failed opening required './../extension.inc' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/freepgs.com/httpdocs/eag2/modules/Forums/admin/index.php on line 67




I hope this will be of help:

lines 64- 68 in your adminin/index.php file is the following:

if ($popup != "1")
{
$module_name = basename(dirname(__FILE__));
require("modules/".$module_name."/nukebb.php");
}

line 67 refers to required file from your modules/Forums directory called extensions.inc and the problem seems to be that either the file is not there or it cannot be read for some reason.

I would suggest checking the modules/Forums directory to see if the required file is there and if it is that the permissions are set correctly (chmod 666 for files).

If it's not there upload it from your php nuke package.

I know it sounds quite a simplistic solution and a bit of a silly mistake to have made but I have made ny share of such silly mistakes and oversights so I speak from experience. :-)

just my two cents.



Back to top Reply with quote
#7   re: Problem creating forums.
eag2
CZ Newbie
eag2 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 03, 2004
0.00 posts per day
Posts: 4
Points: 174
   
Someone suggested that from another forum I posted the problem on. I tried it and no luck. I'm going to try and reupload the two files see if that does anything. Thanks for the suggestions though. If anyone else any suggestions please feel free to reply.



Back to top Reply with quote
#8   re: Problem creating forums.
lilia
CZ Newbie
lilia has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 05, 2004
0.00 posts per day
Posts: 7
Points: 1,264
   
I had a look into it and tried to reproduce the error, though when I took the extension.inc file out or put it in a higer path then the warning I got was diffrent, it referenced extensions.ince saying that the sile dows not exist.

the warning you got mentions file in the wrong directory so the problem could be with the path settings in your modules/Forums/admin/index.php file.

it should read like this:


define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require('./../extension.inc');
require('./pagestart.' . $phpEx)




that defines where your forums and the extension.inc file are located.
see if you can work it out from there.

sorry if I can't offer more help. hope you can figure this out.



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