Author |
Message |
SpaceMonkey
Worker


Joined: Apr 30, 2005
Posts: 170
|
Posted:
Mon Dec 12, 2005 8:19 pm |
|
I'm about to upgrade from 2.3.1 to 2.4.2 and I'd like some advice before proceeding. The only core files that will need editting are YourAccount/index and the mainfile.
I'm guessing I have to update all the rest of the files.
When I do the install, will it make the appropriate changes to the database? Or do I have to delete some of the old ones?
TIA [/b] |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Dec 12, 2005 8:28 pm |
|
Not trying to be smart-alec, but just follow the instructions - no other advise is needed. |
|
|
|
 |
SpaceMonkey

|
Posted:
Mon Dec 12, 2005 8:50 pm |
|
I can't seem to find "global $setinfo, $user_prefix, $db, $module_name, $pm_login, $prefix;" in the core file "Your Account".... |
|
|
|
 |
Raven

|
Posted:
Mon Dec 12, 2005 9:00 pm |
|
|
|
 |
SpaceMonkey

|
Posted:
Mon Dec 12, 2005 9:22 pm |
|
I'm using 7.7... I found it.. It's weird that BBedit seems to have trouble finding these things.. |
|
|
|
 |
SpaceMonkey

|
Posted:
Mon Dec 12, 2005 9:50 pm |
|
My mainfile has this Code:if (defined('FORUM_ADMIN')) {
@require_once("../../../config.php");
@require_once("../../../db/db.php");
} elseif (defined('INSIDE_MOD')) {
@require_once("../../config.php");
@require_once("../../db/db.php");
} else {
@require_once("config.php");
@require_once("db/db.php");
}
/* FOLLOWING LINES ARE DEPRECATED BUT ARE HERE FOR OLD MODULES COMPATIBILITY */
/* PLEASE START USING THE NEW SQL ABSTRACTION LAYER. SEE MODULES DOC FOR DETAILS */
if (defined('FORUM_ADMIN')) {
@require_once("../../../includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
} elseif (defined('INSIDE_MOD')) {
@require_once("../../includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
} else {
@require_once("includes/sql_layer.php");
$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
|
It doesn't have what's described in the mainfile edit text... Should I just replace the above with what's described in the edit? |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Dec 12, 2005 10:05 pm |
|
If you're using the 3.1 patch, search the forums here for alternate instructions. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
SpaceMonkey

|
Posted:
Mon Dec 12, 2005 10:31 pm |
|
I know I'm using some version of chatservs patches. How do I find out if it's 3.1? I've tried searching the forums for alternate instructions and can't find them.
Can anyone point them out? |
|
|
|
 |
SpaceMonkey

|
Posted:
Mon Dec 12, 2005 11:35 pm |
|
Everything seems to be working and I'm running 2.4.2 Thanks.. |
|
|
|
 |
|