Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> w/Nuke 6.9
Author Message
blith
Client



Joined: Jul 18, 2003
Posts: 977

PostPosted: Fri Oct 31, 2003 12:33 pm Reply with quote

when I click on create or add or export or manage in the Admin Index of my forums I get the following error
Code:
Warning: main(./pagestart.): failed to open stream: No such file or directory in /home/gamers/public_html/modules/Forums/admin/admin_styles.php on line 48


Fatal error: main(): Failed opening required './pagestart.' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gamers/public_html/modules/Forums/admin/admin_styles.php on line 48
Can someone please tell me what is wrong so I can work on this? Thank you.
 
View user's profile Send private message Visit poster's website
blith







PostPosted: Fri Oct 31, 2003 2:58 pm Reply with quote

I did a search for this error on the web and it seems to be another one of those nuke problems... but I found a hack and it seems to work. Here it is..
Open Forums/admin/admin_styles.php and find
Code:
require('./pagestart' . $phpEx);
and put
Code:
$phpEx = "php"; 


*before*

Code:
require('./pagestart' . $phpEx); 

Raven, if this looks unsafe as there was a question about security let us know.. thanks.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Oct 31, 2003 3:19 pm Reply with quote

I'm totally lost here, but that's ok, I guess. I am running6.9 and I don't have any prolem when I click on those options. If this cures your problem then great!
 
View user's profile Send private message
blith







PostPosted: Fri Oct 31, 2003 4:20 pm Reply with quote

Here is a hit I found with google...

Quote:
when i want to edit my styls for my forum i get this bug
by the way i'm using PHP-Nuke 6.8
Code:


Code:
Warning: main(./pagestart.): failed to open stream: No such file or directory in /home/pcxp/public_html/thesite/modules/Forums/admin/admin_styles.php on line 48

Fatal error: main(): Failed opening required './pagestart.' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pcxp/public_html/thesite/modules/Forums/admin/admin_styles.php on line 48


Quote:

Posted: Thu Sep 11, 2003 8:33 pm

ChatServ
Site Admin
Joined: Apr 21, 2002
Posts: 442
Location: Puerto Rico
Code:


 In admin_styles.php find:
require('./pagestart.' . $phpEx);
replace with:
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);


But be aware that the styles option is no longer used, instead you need to download a 6.5 compatible theme-pack

It seems it was an issue but now is not. I think I am using 6.8 also Raven...
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> w/Nuke 6.9

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©