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 -> RN Conversion Issues From v2.02
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

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";
}

_________________
Awaiting His Shout
Webservant - GraciousCall.org
Romans 8:28-39 
View user's profile Send private message Visit poster's website AIM Address
montego
Site Admin



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

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

webservant, are you sure that you are using the db.php from RN 2.10.00 distro? This was modified there to work.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego







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

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
 
webservant







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

Thanks! I didn't notice that it was in the post. Bang Head
 
webservant







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

Hmmm. No! But I remember replacing this directory on my source.
Well, this will save me an issue when I do my production site.
 
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 -> RN Conversion Issues From v2.02

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 ©