Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (id242), 24 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/23/08
Posts: 10
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
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
#186238 - 06/10/07 01:28 AM Odd Fetch Error during import
BryanDS Offline
stranger
Registered: 06/08/07
Posts: 22
All my posts seem to come over.. but almost every user gets an error. And when all is said and done, I just get a notification that there is a DB error only visible to administrators.

I may be completely odd in this problem (usually am)

When I start the importer, I get this (among other errors later on)

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /raid/home/dancesafe/dancesafe/booth/libs/mysql.inc.php on line 227

Upgrading from 6.5.4

Color me lost.

Per what I have been able to find on the net, it seems most times it is a query issue.. but I am using the downloaded importer from Groupee.

Thoughts? Or should I say what more info might you need?
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."
#186250 - 06/10/07 05:56 AM Re: Odd Fetch Error during import [Re: BryanDS]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
When you say user, you mean as the import does its stuff?

Not on a live board?
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#186265 - 06/10/07 11:08 AM Re: Odd Fetch Error during import [Re: Mark S]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hi Bryan,

If you're still at the stage where you're getting the "Database error only visible to Admins" error, then the first step would be to check what that is, because it may be related to the import issue.

What you can do is edit the libs/mysql.inc.php file. Around line 281, you'll see this line:

$showerror = 0;

Change that, to this:

$showerror = 1;

This should then show the actual error and we can go from there.
Top
#186268 - 06/10/07 12:15 PM Re: Odd Fetch Error during import [Re: Rick]
BryanDS Offline
stranger
Registered: 06/08/07
Posts: 22
Sorry all, should have said this. Main board (currently in use @ http://www.dancesafe.org/ubbthreads) new board in http://www.dancesafe.org/booth.

This is the error I get.

Script: /raid/home/dancesafe/dancesafe/booth/libs/ubbthreads.inc.php
Line#: 2142
SQL Error: Table 'dsbooth.ubbt_dsboothUSERS' doesn't exist
SQL Error #: 1146
Query: select t2.USER_TIME_OFFSET,t2.USER_TOPIC_VIEW_TYPE,t2.USER_TIME_FORMAT,t1.USER_DISPLAY_NAME,t1.USER_PASSWORD,t1.USER_SESSION_ID, t1.USER_MEMBERSHIP_LEVEL, t2.USER_TOTAL_PM, t1.USER_ID, t1.USER_IS_BANNED,t1.USER_IS_UNDERAGE, t2.USER_STYLE,t2.USER_HIDE_LEFT_COLUMN,t2.USER_HIDE_RIGHT_COLUMN,t2.USER_LANGUAGE,t2.USER_MOOD,t2.USER_RELATIVE_TIME from ubbt_dsboothUSERS AS t1, ubbt_dsboothUSER_PROFILE as t2 where t1.USER_ID = '' and t1.USER_ID = t2.USER_ID


So.. since the DB that was created for the 7.1 version was fresh, it seems like the importer did not create the table for the users to reside in. Which would follow, since the original error recieved during the import happened during a user import session.

One of the full errors from the original import is


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /raid/home/dancesafe/dancesafe/booth/libs/mysql.inc.php on line 227
Importing EricBZ - EricBZ (1612)
Top
#186269 - 06/10/07 12:23 PM Re: Odd Fetch Error during import [Re: BryanDS]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Actually, the importer doesn't create the USERS table. This is supposed to be created by the initial install. Do you have anything like phpmyadmin installed so you can look at what tables exist in the database? It would appear that the initial install didn't create all the tables.
Top
#186270 - 06/10/07 12:56 PM Re: Odd Fetch Error during import [Re: Rick]
BryanDS Offline
stranger
Registered: 06/08/07
Posts: 22
ubbt_dsboothcattemp 0 MyISAM latin1_swedish_ci 1.0 KiB -
ubbt_dsboothfiletemp 0 MyISAM latin1_swedish_ci 1.0 KiB -
ubbt_dsboothforumtemp 0 MyISAM latin1_swedish_ci 1.0 KiB -
ubbt_dsboothgrouptemp 8 MyISAM latin1_swedish_ci 1.1 KiB -
ubbt_dsboothimportconfig 1 MyISAM latin1_swedish_ci 1.1 KiB -
ubbt_dsboothmemtemp 2,000 MyISAM latin1_swedish_ci 68.8 KiB -
ubbt_dsboothpolltemp


The install went perfectly as far as I could see when it happened. And I stopped right before creating the admin. (I followed the instructions on the upgrade / importer page letter by letter)
Top
#186271 - 06/10/07 01:57 PM Re: Odd Fetch Error during import [Re: BryanDS]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
If those are the only tables you're seeing then there is some type of issue somewhere. You're basically missing ALL of the actual UBB.threads tables for the forum to actually work.

When you say you stopped right before creating the admin. It actually gives you two options. Either create the admin, or just create the tables. If you stopped at that screen, that could be the problem. You want to click the link for just creating the tables.
Top
#186298 - 06/10/07 06:52 PM Re: Odd Fetch Error during import [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Quoting the guide in help on this:
 Quote:
3. Go through the new install procedure (yourforums.tld/forums/install/install.php) until you reach the "create admin user" screen then click on the "create tables" link (do NOT click on the "create admin user" link).


Step3 is a two part step ;)...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
Today at 12:54 AM
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
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

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