Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
southern
Client


Joined: Jan 29, 2004
Posts: 591
Location: Texas

PostPosted: Mon Feb 16, 2004 11:19 pm Reply with quote

Yet another problem in Forums admin... when I click on Add, Create, etc. in Styles Admin I get this error:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/southern/public_html/includes/sql_layer.php on line 342


Warning: main(./pagestart.): failed to open stream: No such file or directory in /home/southern/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/southern/public_html/modules/Forums/admin/admin_styles.php on line 48


I uploaded and overwrote the admin_styles.php file from my 6.8 reserve and made sure there are no blank lines after the closing tag but the prob is still there. I recently installed the subBlack theme which has an integrated forum and set it as the default, but I am not sure whether this problem was already extant before as I only decided to add a style today. Any suggestion as to a fix?
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
chatserv
Member Emeritus


Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Tue Feb 17, 2004 12:37 am Reply with quote

In that file change:
Code:
require('./pagestart.' . $phpEx);

to:
Code:
require($phpbb_root_path . 'extension.inc');

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

But keep in mind that in recent Nuke version that option is next to useless, forum templates are now stored inside of each theme.
 
View user's profile Send private message Visit poster's website
southern
PostPosted: Tue Feb 17, 2004 9:43 am Reply with quote

Thanks, chatserv. I will hie myself off to apply this. It may be next to useless but getting an error is worse, so I prefer next to useless. Smile BTW I applied your security fix for the Search module so thanks for that, too.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

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 ©