PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
southern
Client


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

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

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
chatserv
The Mouse Is Extension Of Arm


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

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

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
Client


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

PostPosted: Tue Feb 17, 2004 9:43 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum