|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
I am a bit nervous about converting over to the php version because I am coming from 4.1.3 and its a few upgrades plus a switch. Also since 4.1.3 doesnt allow me to turn off my boards for maintainence I have more to worry about. So I tried copying my current database to a new name database2 and am trying the upgrade on database2. Everything seemed to go ok through the upgrade, but for some reason the php version is still looking for database . I explicitly pointed the config file with a full url to the php config file... no go.
Can this be done?
WIll
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Will,
In the PHP version there is one line at the top of the main.inc.php file that needs to be edited, you will see a variable like this:
$thispath = "/home/httpd/html/wwwthreads.com/php";
Have you changed this?
UBB.threads Developer
|
|
|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
Yes, this is edited to my correct php install path.
Will
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
The only other portions that specify a database name are in the config.inc.php. Have you got all of the settings correct in there?
--- Scream WWWThreads Developer
UBB.threads Developer
|
|
|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
Yes the settings are correct there... thats why I thought it may have something do with the other perl version or apache through mod perl setting those variables?
Will
|
|
|
|
Joined: Nov 1999
Posts: 29
Newbie
|
Newbie
Joined: Nov 1999
Posts: 29 |
Here is some additional info about the problem. The error is:
Seeya! Table 'highendforum.w3t_Users' doesn't exist: 1146 Warning: Supplied argument is not a valid MySQL result resource in mysql.inc.php on line 71
(highendforum was my old database, boards is my new)
[admin@www boards]$ grep highend * grep: admin: Is a directory grep: cron: Is a directory grep: filters: Is a directory grep: images: Is a directory grep: includes: Is a directory grep: languages: Is a directory grep: stylesheets: Is a directory theme.inc.php: $theme['stylesheet'] = "highend"; theme.inc.php: $theme[availablestyles] = "highend:highend";
So as you can see highend trying to match highendforum is no where in my root directory of the php installation. It must be getting the variable from somewhere else.
Will
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Ah, you are running mod_perl with your PERL version? If that is the case then that is probably the problem. That is the only thing that I can think of really. But of course if it was looking at your old database then it should be able to find the w3t_Users table, unless your PERL version is quite old.
UBB.threads Developer
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|