PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 12th, 2009, 01:48 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
vBGallery install seems to have killed my database

I was in the middle of installing vBGallery to replace my PP installation and I got to the part where the script imports product.

I received an error saying that it essentially couldn't find the XML. I went back and tried it again and now all I get is database errors.

My site won't load at all and I don't even see the tables the script supposedly created in the database.

Any insight into what happened here?

I'm running vB 3.8.3 (latest)
djrichards is offline   Reply With Quote
Old June 12th, 2009, 02:01 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Did you upload the xml file?

I wonder if it has your product enabled but since the xml did not exist it could not import it

You can try running this query in your database make sure the plugin is not active. Also your vb should be sending you an email with the actual error which would help us assist.

UPDATE product SET active=0 WHERE productid='ppvbgallery';
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 12th, 2009, 02:34 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
Although there are more than one XML files in the package the only one the instructions say to upload is cpnav_vbagallery.xml which was uploaded to the forum/includes/xml folder. I've just re-verified that.

I've received (and continue to get) several error emails. Here's the text of the first one.

Quote:
Database error in vBulletin 3.8.3:

Invalid SQL:

SELECT administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_plugins AS phrasegroup_plugins,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
language.phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
, ppgal_user.*, ppgal_user.*
FROM vB_user AS user
LEFT JOIN vB_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vB_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vB_administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN vB_language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

LEFT JOIN vB_ppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid)
LEFT JOIN vB_ppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid)
WHERE user.userid = 1;

MySQL Error : Not unique table/alias: 'ppgal_user'
Error Number : 1066
Request Date : Friday, June 12th 2009 @ 12:25:49 PM
Error Date : Friday, June 12th 2009 @ 12:25:49 PM
Script : Log in - the Lancisti Forums - vBulletin Admin Control Panel
Referrer : Log in - the Lancisti Forums - vBulletin Admin Control Panel
IP Address : 71.208.44.112
Username :
Classname : vB_Database
MySQL Version :
I found the tables were created after all. I just wasn't looking for them to have a "vB_" on the front. I deleted those to see if I can reinstall but no dice.
djrichards is offline   Reply With Quote
Old June 12th, 2009, 02:39 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Upload everything there is an xml in the admincp that needs to be uploaded.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 12th, 2009, 03:26 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
Quote:
Originally Posted by Chuck S View Post
Upload everything there is an xml in the admincp that needs to be uploaded.
Well, that's not what your instructions say. :-)
djrichards is offline   Reply With Quote
Old June 12th, 2009, 03:32 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
I assume by "everything" you also mean the clientscript folder stuff too?

Same for cpstyles and images, too?

Instructions say nothing about them either.
djrichards is offline   Reply With Quote
Old June 12th, 2009, 03:33 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Everything in the forums and gallery directories need to be uploaded to your server from our unzipped code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 12th, 2009, 03:56 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
Quote:
Originally Posted by Chuck S View Post
Did you upload the xml file?

I wonder if it has your product enabled but since the xml did not exist it could not import it

You can try running this query in your database make sure the plugin is not active. Also your vb should be sending you an email with the actual error which would help us assist.

UPDATE product SET active=0 WHERE productid='ppvbgallery';
No dice. Here's what I get.

Quote:
#1146 - Table 'lancisti_site.product' doesn't exist
Sorry, but I'm not particularly conversant in SQL. Site is still dead.

Everything is uploaded and I can't access anything via browser. Just get vB database errors.
djrichards is offline   Reply With Quote
Old June 12th, 2009, 04:00 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
You need to alter that query say to include your specific vbulletin table prefix. My example gives a default install with no table prefix on the product table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 12th, 2009, 04:37 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 20
Thanks for the help, Chuck.

I just created a new database from my backup and have the site back up now. I'll try the install again later.
djrichards is offline   Reply With Quote
Old June 12th, 2009, 09:24 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Not a problem let me know if you need anything else.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply

« - | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I just killed my VB install with VBG 2.4.3 voglermc Installs and Upgrade - vBulletin 3.6x 17 November 10th, 2008 12:10 PM
Hey new vBGallery users: How long did it take you to install vBGallery? edprush Installs and Upgrade - vBulletin 3.6x 11 January 29th, 2007 03:08 AM
2.1 fresh install and... well, can't install. Database error. Exilera Installs and Upgrade - vBulletin 3.6x 6 December 2nd, 2006 10:50 AM
Upgrade to 3.5.1 killed vbaGallery DaFonz Installs and Upgrade - vBulletin 3.5.X 1 November 4th, 2005 03:59 AM
I killed the gallery! C500HP Installs and Upgrade - vBulletin 3.0.X 3 October 25th, 2005 03:13 PM


All times are GMT -5. The time now is 04:51 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0