Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Bjab), 25 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#31697 - 11/18/00 02:10 AM Running php and perl with different databases?
Anonymous
Unregistered

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
Top
#31698 - 11/18/00 12:18 PM Re: Running php and perl with different databases?
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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?

---

Scream

WWWThreads Developer
Top
#31699 - 11/18/00 02:26 PM Re: Running php and perl with different databases?
Anonymous
Unregistered

Yes, this is edited to my correct php install path.

Will
Top
#31700 - 11/18/00 10:25 PM Re: Running php and perl with different databases?
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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
Top
#31701 - 11/19/00 04:53 AM Re: Running php and perl with different databases?
Anonymous
Unregistered

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
Top
#31702 - 11/19/00 05:00 AM Re: Running php and perl with different databases?
Anonymous
Unregistered

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
Top
#31703 - 11/19/00 12:18 PM Re: Running php and perl with different databases?
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.

---

Scream

WWWThreads Developer
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image