PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Thu Mar 15, 2007 8:40 pm Reply with quote Back to top

When I first ran rndb_upgrade.php, I got the following message:

Quote:
This program updates your Ravennuke tables from version 2.02 to version 2.10. You will also need to run NukeSentinel upgrades and the HTML newsletter portion of the installSQL.php that comes with the RN2.10 distribution. Support for this program is availabe thru the Forums at Ravenphpscripts.com.

You may wish to print the output from this program or capture it to a file to assist in diagnosing any problems that occur when you try to run the distribution.


Warning: main(db/mysql.php): failed to open stream: No such file or directory in /<<removed by admin>>/db/db.php on line 39

Warning: main(): Failed opening 'db/mysql.php' for inclusion (include_path='.:/usr/share/pear') in /<<removed by admin>>/db/db.php on line 39

Fatal error: Cannot instantiate non-existent class: sql_db in /<<removed by admin>>/db/db.php on line 76


I was able to get around it with a minor temporary mod in /db/db.php. Find:
Code:
if (defined('FORUM_ADMIN')) {
    $the_include = "../../../db";
} elseif (defined('INSIDE_MOD')) {
    $the_include = "../../db";
} else {
    $the_include = "db";
}


Change it to (only last line changes):
Code:
if (defined('FORUM_ADMIN')) {
    $the_include = "../../../db";
} elseif (defined('INSIDE_MOD')) {
    $the_include = "../../db";
} else {
    $the_include = "../db";
}
View user's profile Send private message Visit poster's website AIM Address
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Mar 16, 2007 8:51 am Reply with quote Back to top

webservant, are you sure that you are using the db.php from RN 2.10.00 distro? This was modified there to work.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Mar 16, 2007 8:52 am Reply with quote Back to top

P.S. I removed your paths from the original post. No-one in the public should ever need that (i.e., you do NOT want to divulge that). Wink
View user's profile Send private message Visit poster's website
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Fri Mar 16, 2007 1:18 pm Reply with quote Back to top

Thanks! I didn't notice that it was in the post. Bang Head
View user's profile Send private message Visit poster's website AIM Address
webservant
Worker
Worker


Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Sat Mar 17, 2007 9:06 am Reply with quote Back to top

Hmmm. No! But I remember replacing this directory on my source.
Well, this will save me an issue when I do my production site.
View user's profile Send private message Visit poster's website AIM Address
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.

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