Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (57-Vette), 51 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/09/11
Posts: 140
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 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
Page 1 of 2 1 2 >
Topic Options
#238036 - 07/20/10 09:42 PM SQL Error #: 1146
jarmerson Offline
stranger
Registered: 07/20/10
Posts: 13
I was thrown into a project where we're moving a forum from one server to another. I have no experience with ubbthreads, but I like what I see so far smile

My current issue is outlined below.

UBB Message We encountered a problem. The reason reported was

Script: /home/mdsfound/public_html/forums/libs/user.inc.php
Line#: 467
SQL Error: Table 'mdsfound_forum.ubbt_USERS' doesn't exist
SQL Error #: 1146
Query: SELECT t2.USER_TIME_OFFSET,t2.USER_TOPIC_VIEW_TYPE,t2.USER_TIME_FORMAT, t1.USER_ID, t1.USER_DISPLAY_NAME, t1.USER_PASSWORD, t1.USER_SESSION_ID, t1.USER_MEMBERSHIP_LEVEL, t1.USER_IS_BANNED,t1.USER_RULES_ACCEPTED, t1.USER_IS_UNDERAGE, t2.USER_TOTAL_PM, t2.USER_STYLE, t2.USER_HIDE_LEFT_COLUMN,t2.USER_HIDE_RIGHT_COLUMN, t2.USER_LANGUAGE, t2.USER_MOOD, t2.USER_RELATIVE_TIME, t2.USER_TIME_OFFSET,t2.USER_SHOW_ALL_GRAEMLINS, t2.USER_AVATAR, t2.USER_TITLE, t2.USER_CUSTOM_TITLE, t2.USER_NAME_COLOR, t2.USER_SHOW_LEFT_MYSTUFF FROM ubbt_USERS as t1, ubbt_USER_PROFILE as t2 WHERE t1.USER_ID = '' AND t1.USER_ID = t2.USER_ID

Please click back to return to the previous page.

Any insight would be awesome! We have this setup so DNS is still pointing to live site. I've changed my host file so local DNS resolves to the new server while we work out the bugs.

Thanks in advance for your insights!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#238037 - 07/20/10 10:16 PM Re: SQL Error #: 1146 [Re: jarmerson]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
The database file was not uploaded into the MySQL.

If it is a large file I usually always do it by command line into the MySQL Server.
Top
#238046 - 07/21/10 01:14 PM Re: SQL Error #: 1146 [Re: JAISP]
jarmerson Offline
stranger
Registered: 07/20/10
Posts: 13
I resolved the error by changing the values of the files in questions. The old database used UPPERCASE for tables and the new uses lowercase. I simply changed UPPERCASE values to lowercase and it worked smile

Now my issue looks like:

Fatal error: require_once() [function.require]: Failed opening required '/home/mdsfound/public_html/forums/scripts/libs/functions_forums.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mdsfound/public_html/forums/scripts/cfrm.inc.php on line 50

Anything look wrong here>?
Top
#238047 - 07/21/10 01:21 PM Re: SQL Error #: 1146 [Re: jarmerson]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
The table name issue is definitely a gotcha when going from windows to linux. We're going to finally resolve that in v8.

As for your new error. It's a bit strange. It's looking for /forums/scripts/libs/functions_forums.inc.php when it should be looking for /forums/libs/functions_forums.inc.php

Are you getting that from the main page?
Top
#238048 - 07/21/10 01:24 PM Re: SQL Error #: 1146 [Re: jarmerson]
jarmerson Offline
stranger
Registered: 07/20/10
Posts: 13
I think it has to do with my "FULL_PATH setting in config.inc.php

The old value was c:/inetpub/wwwroot/mds-foundation.org/forums

The new is /home/mdsfound/public_html/forums/scripts

Does this look right?
Top
#238049 - 07/21/10 01:26 PM Re: SQL Error #: 1146 [Re: jarmerson]
jarmerson Offline
stranger
Registered: 07/20/10
Posts: 13
That was it!!! I took out the /scripts so it refers to /forums without /scripts and I'm on the next error which are more UPPERCASE to lowercase related issues smile

I'll report back with stuff I get stuck on!
Top
#238050 - 07/21/10 01:26 PM Re: SQL Error #: 1146 [Re: jarmerson]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ah, there's your problem. Chop the /scripts off the end of the new path.
Top
#238051 - 07/21/10 01:27 PM Re: SQL Error #: 1146 [Re: Rick]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Beat me to the punch smile
Top
#238052 - 07/21/10 01:34 PM Re: SQL Error #: 1146 [Re: jarmerson]
jarmerson Offline
stranger
Registered: 07/20/10
Posts: 13
Ok - so it seems that the only problems left are the UPPERCASE table names.

Is there any kind of something to help with this. I got the forum to come up, but of course visiting any link throws more errors.

Any help is greatly appreciated.
Top
#238053 - 07/21/10 01:38 PM Re: SQL Error #: 1146 [Re: jarmerson]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
you'll need to rename your tables to uppercase.. i've run into this a couple of times
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
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