PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 4th, 2008, 08:40 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 28
Upgrading VBGallery database error

I am trying to upgrade VBGallery. I uploaded all of the files and went to run the script and got the database errors pasted below.

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT catid, styleid, title, allowusercats, catuserid, membercat, parent, parentlist, hasimages, password, active, options, useroptions, styleoverride FROM ppgal_categories ORDER BY d d, hasimages;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'd, hasimages' at line 1
Error Number : 1064
Date : Friday, January 4th 2008 @ 09:22:16 AM
Script : http://domain.com/admincp/vbgallery_install.php
Referrer : http://domain.com/admincp/vbgallery_install.php
IP Address : x.x.x.x
Username : username
Classname : vB_Database


Database error in vBulletin 3.6.5:

Invalid SQL:
CREATE TABLE ppgal_setting SELECT * FROM adv_setting;

MySQL Error : Table 'ppgal_setting' already exists
Error Number : 1050
Date : Friday, January 4th 2008 @ 09:35:31 AM
Script : http://domain.com/admincp/vbgallery_install.php
Referrer : http://domain.com/admincp/vbgallery_install.php
IP Address : x.x.x.x
Username : username
Classname : vB_Database
mindcry is offline   Reply With Quote
Old January 4th, 2008, 11:32 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 28
I tried dropping ppgal_setting and now I get You are already running the current version of PhotoPost vBGallery Photopost vBGallery. which is not true
mindcry is offline   Reply With Quote
Old January 4th, 2008, 11:42 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 28
That didnt work so I restored it from backup. Now I dont get any db errors but it says that I am running the latest version still. so, when I go to the gallery page it's blank
mindcry is offline   Reply With Quote
Old January 4th, 2008, 12:13 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Shoot me some ftp access and a AdminCP account via PM.
- I'll take a look.
Zachariah is offline   Reply With Quote
Old January 8th, 2008, 11:47 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 1
Send a message via MSN to mmilton67uk Send a message via Yahoo to mmilton67uk
I had this same problem with the upgrade from version 2.0 to 2.4.1
I had to uninstall the old version before i could install the new version then i had to reupload all the images to the folders and input the images into the sql by hand,
So that i did not lose what i had already on my site.

I think you need to look into the upgrade script as its not doing what its ment to do.

I have also tryed this on my test site and i get the same errors.
if you would like a list of the errors i will do this for you and post them here so that you can see, but its best if you install the old version then try an upgrade yourself to see whats happening first hand.
mmilton67uk is offline   Reply With Quote
Old January 29th, 2008, 07:57 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 13
I am having the same issues, can anyone help?

Code:
Content visible to verified customers only.
boske is offline   Reply With Quote
Old January 29th, 2008, 02:46 PM   #7 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by boske View Post
I am having the same issues, can anyone help?

Code:
Content visible to verified customers only.
Hello what version of the gallery did you have installed ?
Zachariah is offline   Reply With Quote
Old January 30th, 2008, 02:28 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 13
I had vBadvanced Gallery v1.0.1
boske is offline   Reply With Quote
Old January 31st, 2008, 09:17 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Oceanside CA
Posts: 59
I have the exact same problem. Going from version 2.0 vbgallery. With vbulletin 3.6.8 pl2
bloodydecks is offline   Reply With Quote
Old January 31st, 2008, 10:43 AM   #10 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
First let's explore your database to find where the upgrade failed so that we can continue. There needs to be few queries executed to look around. There is a tool in vBulletin. I do not have table prefixes in front of my table name.

AdminCP => Maintenance => Execute SQL Query
Code:
Content visible to verified customers only.
Looking for: pppcount, ppicount

If found continue run:
Code:
Content visible to verified customers only.
- Then run the upgrade script again

If not shoot me some ftp/admincp access via PM.
Zachariah is offline   Reply With Quote
Old January 31st, 2008, 11:00 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 13
seems like that did the trick! Thank you for your help!
boske is offline   Reply With Quote
Old January 31st, 2008, 03:58 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Oceanside CA
Posts: 59
Thanks for posting Zacharaih.
I ran the query and did not find pppcount or ppicount.
I did run the second query reguardless and it fixed the problem...

Last edited by bloodydecks; February 1st, 2008 at 12:00 AM.
bloodydecks is offline   Reply With Quote
Old February 1st, 2008, 12:30 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Oceanside CA
Posts: 59
Nevermind. Still broken. 10K users on my website concerned .

Code:
Content visible to verified customers only.

Last edited by bloodydecks; February 1st, 2008 at 12:43 AM.
bloodydecks is offline   Reply With Quote
Old February 1st, 2008, 03:30 PM   #14 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
bloodydecks, added the 2 missing columns in user table.
- you should be ready to go
Zachariah is offline   Reply With Quote
Old February 1st, 2008, 03:45 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Oceanside CA
Posts: 59
Yep. It works now. But in the admincp I have urls and img tags enabled and they don't show up on the picture display page. Should I reinstall the templates?

You are the man Zachariah. Thanks for saving all the years of pics...
bloodydecks is offline   Reply With Quote
Old February 1st, 2008, 04:08 PM   #16 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Darkness Style

ADV_GALLERY_SHOWIMAGE
Default Template Updated in PhotoPost vBGallery 2.4 by PhotoPost vBGallery
Your Custom Template Last Edited in PhotoPost vBGallery 2.0 by Jason

You may have some Google ads or custom items in there.
Zachariah is offline   Reply With Quote
Old February 1st, 2008, 04:19 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Oceanside CA
Posts: 59
All fixed! Thank you!
bloodydecks 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
database error when upgrading hornstar6969 Photopost Pro Bug Reports 3 September 22nd, 2007 07:01 PM
Need help Upgrading from vBadvanced Gallery v1.0 to Photopost vBGallery in 3.6.7 imported_axi Installs and Upgrade - vBulletin 3.6x 3 July 8th, 2007 12:39 PM
Upgrading to 5.5 with UBBthreads 7.0 - Database Issue Deejay Photopost Pro Installation & Upgrades 10 October 14th, 2006 08:37 PM
upgrading vbgallery for 3.5 Howdy How Do I? - vBulletin 3.5.X 0 February 15th, 2006 08:09 AM
Upgrading from vBgallery to PhotoPost KBV Installs and Upgrade - vBulletin 3.5.X 2 November 22nd, 2005 09:56 AM


All times are GMT -5. The time now is 12:47 PM.

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