Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 1999
Posts: 29
Newbie
Newbie
Offline
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


Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
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
Offline
Joined: Nov 1999
Posts: 29
Yes, this is edited to my correct php install path.

Will


Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
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
Offline
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


Sponsored Links
Joined: Nov 1999
Posts: 29
Newbie
Newbie
Offline
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
Offline
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

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)