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 > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 11th, 2009, 07:41 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
Unhappy upgrade from 242 to 3.1 looking like a disaster, please help

have followed instructions to a T, 1st script from 242 to 2.5 ran successful but at the very end got:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/chris/public_html/classifieds/pp-inc.php on line 242
Database not properly setup - unable to read pp_phrases table. Contact administrator.

so ran the next one and it completed successfully, then ran the 2.6 to 3x and it immediately bombed with:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/chris/public_html/classifieds/pp-inc.php on line 242
Database not properly setup - unable to read pp_phrases table. Contact administrator.

I ran through the rest of the scripts anyway, final one said some tables did not exist, then languages import seemed to work. when I load my classifieds it looks like there are no styles and the following errors are at the top of the page:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/chris/public_html/classifieds/pp-inc.php on line 3692

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/chris/public_html/classifieds/pp-inc.php on line 3877

other links are broken. Looks like a real mess which is a nightmare because this is an active part of my site doing nearly a million in sales. Can anyone help get the upgrade scripts to run properly, what should I do?
sross is offline   Reply With Quote
Old April 11th, 2009, 07:50 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
ok, went into phpmyadmin ran a repair on pp_phrases table, then went back to beginning and ran through scripts.. didn't get any errors other than duplicate entries. It did give me new options that ran successfuly this time. My system seems to be in tact but no photos showing and no skin, looking into that now..
sross is offline   Reply With Quote
Old April 11th, 2009, 08:08 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
ok ok, i am getting there.. i have the skins/integration to vb3 back. Everything seems ok except no images and I know why. before the upgrade I had renamed data to dataold and when that part of the script ran to transfer the images it didn't happen so now I am stuck with 2 data folders. All I need to do is re-rerun the script to migrate the images but I do not want to make things worse. Can you advise on how I can do this. Since there are over 8,000 images I cannot do it manually. I thought maybe I rerun the 2.42 to 2.5 script to do the migration step again but it could make things worse. thanks for any help! maybe i can just run a query to do this?
sross is offline   Reply With Quote
Old April 11th, 2009, 08:11 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
to clarify, this is the part i screwed up:

Code:
Content visible to verified customers only.
I am now stuck with a data directory that has nothing in it but folders and a dataold directory that has my old images.
sross is offline   Reply With Quote
Old April 11th, 2009, 08:13 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
Can you please list the site in question?

My suggestion would be possibly without seeing anything is restore a backup of the database run the 3.0 to 3.1 upgrade then go back and complete 2.42 to 3.0 and see if this works for you.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 11th, 2009, 08:16 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
If you ran the part to do files TWICE this indeed is your issue and you can not do anything without restoring a backup of your database and redoing the upgrade.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 11th, 2009, 08:34 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
well i reran that part of the script and it said it moved the files only took a few seconds but nothing has changed so it doesn't seem to have done anything..
sross is offline   Reply With Quote
Old April 11th, 2009, 08:41 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
just saw your replies.. is it possible to restore only the pp_ part of my database? it's 1gb db and i'd hate to lose 30 odd new members and 100's of forum posts. I currently have my classifieds locked at the file system level. I'm not too worried about losing images if that's my only problem i could probably manually copy in the ones over the last month. but not sure if it goes deeper than that.. for example i just tried to upload a test ad and no categories showed in the drop down box..
sross is offline   Reply With Quote
Old April 11th, 2009, 08:53 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 152
here's an image of the no categories showing:

Code:
Content visible to verified customers only.
Aside from my images directory gone haywire, the above issue with no cats showing seems to be the only other glitch..
sross is offline   Reply With Quote
Old April 12th, 2009, 06:33 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,695
I would have to actually see the site in question to see what upgrade has been missed.

You can restore JUST the cp_products table to get ads back.

If categories are not in dropdowns then I would have to see what upgrade was not run something more to this issue for sure.

Although 3.1 is an extensive upgrade as far as files go and language translation etc the actual database changes are not that great for all the other changes that have been done.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Got upgraded by PP to 6.1-disaster Finster Photopost Pro Bug Reports 17 June 13th, 2008 08:34 AM
Migration was a disaster! SherryG Photopost Pro Installation & Upgrades 8 April 10th, 2008 10:46 PM
BUG: Line 241 & 242 of showgallery.php Reggie Photopost Pro Bug Reports 5 October 5th, 2007 09:52 AM
Problems after update from 242 to 261 peterle Classifieds Installation & Upgrades 7 July 17th, 2007 09:49 AM
Upgrade was a disaster Smoothie Photopost Pro Installation & Upgrades 31 July 17th, 2006 10:40 PM


All times are GMT -5. The time now is 04:33 PM.

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