Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
7 registered (Djuma, driv, FordDoctor, Gardener, Mike L, Ruben Rocha, 1 invisible), 20 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/21/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 180
Gizmo 112
Rick 106
Thelockman 79
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#186238 - 06/09/07 10:28 PM Odd Fetch Error during import
BryanDS Offline
stranger

Registered: 06/07/07
Posts: 20
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
#186250 - 06/10/07 02:56 AM Re: Odd Fetch Error during import [Re: BryanDS]
Mark S Offline
Carpal Tunnel
***

Registered: 07/04/06
Posts: 4044
Loc: Liverpool : England : UK
When you say user, you mean as the import does its stuff?

Not on a live board?
_________________________
Version v7.2.2 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
To answer the question you must first give a question.

Top
#186265 - 06/10/07 08:08 AM Re: Odd Fetch Error during import [Re: Mark S]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7903
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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#186268 - 06/10/07 09:15 AM Re: Odd Fetch Error during import [Re: Rick]
BryanDS Offline
stranger

Registered: 06/07/07
Posts: 20
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 09:23 AM Re: Odd Fetch Error during import [Re: BryanDS]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7903
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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#186270 - 06/10/07 09:56 AM Re: Odd Fetch Error during import [Re: Rick]
BryanDS Offline
stranger

Registered: 06/07/07
Posts: 20
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 10:57 AM Re: Odd Fetch Error during import [Re: BryanDS]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7903
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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#186298 - 06/10/07 03:52 PM Re: Odd Fetch Error during import [Re: Rick]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
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 ;)...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top


Shout Box

Today's Birthdays
No Birthdays
Recent Topics
I'm the Admin but.....
by David DelMonte
12/02/08 11:12 AM
Fatal error: Smarty::require_once
()

by ThreadsUser
12/02/08 08:17 AM
PayPal batch file for ID'ing expired and failed payment subscriptions?
by Mitch P.
12/02/08 06:02 AM
Shrinking graemlins
by Djuma
12/01/08 05:48 PM
2 problems I'm seeing now.
by DougMM
12/01/08 04:39 PM
Forum Stats
4261 Members
33 Forums
30535 Topics
154977 Posts

Max Online: 978 @ 06/24/07 08:19 PM