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 Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 18th, 2004, 06:44 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
3.0.5 upgrade crashes

Two new problems with the upgrade.php script trying to upgrade 3.0.5 to 4.8.2
Upgrade.php starts out like this:
Quote:
Filesize Fix Database fix to correct file sizes (3.0.6 and under - run only once)
Filesize Fix Database fix to correct filesize problems (3.0.6 and under - run only once)
1. Aside from the Filesize Fix anchors both having the same names, the first "filesize fix" refers to fix.php which doesn't exist and probably should be fixmedium.php
2. fixmedium.php crashes out at line 66
Code:
Content visible to verified customers only.
with this error message
Quote:
Parse error: parse error, unexpected T_STRING in /home/bonsai/public_html/pictures/fixmedium.php on line 66
memobug is offline   Reply With Quote
Old September 18th, 2004, 06:52 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
More fun trying to run fixfilesize.php next: Is 3.0.5 not a supported version
Code:
Content visible to verified customers only.
memobug is offline   Reply With Quote
Old September 18th, 2004, 07:01 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
Finally got through it!

It was a lot of work upgrading 3.0.5!

I guess the programmers forgot it existed, and never having a clear upgrade path I was reluctant to give it a try. Maybe it was only out for a few days and so no one cared to support it.

In brief, I had to go back all the way to the 2.3.6 Perl version upgrade script and create a couple of new rows in tables to get myself from 3.0.5 to 3.0.6. Stuff like this (see quote below)

Eventually I did got there, and then just had to poke into phpmyadmin to reset the settings database to select vb3 instead of vb2. I sure wish that setting were in config-sys.

After that, it was just running through all the upgrade scripts. The last upgrade gave me some errors because it said none of the tables to be dropped were even there. I don't know about that, maybe the submit button bounced.

In any case, I am happy to be through with it!

Quote:
The 2.3.6 upgrade script has different columns in it, like (in red)

$query[] = "CREATE TABLE useralbums (id {$Style['small']}int(4) NOT NULL auto_increment,albumname varchar(255) NOT NULL default '',parent int(5) NOT NULL default '0',description varchar(255) default NULL,isprivate varchar(4) NOT NULL default 'no',PRIMARY KEY (id),KEY parent(parent)) TYPE=MyISAM;";

No I have to sit down with the code and hash out all the changes to get it up to 3.0.6

I really hate trying to upgrade this stuff. It's unfortunate that the programmers pretend that 3.0.5 never existed in the upgrade tree.

Last edited by memobug; September 18th, 2004 at 08:16 AM.
memobug is offline   Reply With Quote
Old September 18th, 2004, 09:16 AM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Wasn't 3.0.5 released back in 2002? I'll have to think about the upgrade process when upgrading from such an old version; the name of the forums file would definately cause a problem going that far back.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 18th, 2004, 06:29 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Northern California
Posts: 383
I don't know, it has been a couple of years, I think. Most of the files in that build are dated Jun 2002. The odd part is that the perl version is supported well. It's just this interim version that got orphaned.

Anyway, I think I am ok as far as I can tell. Classifieds is my problem now. It figures I could get a 2 year old version humming and have the fresh stuff go bad.

Regards,

Matt
memobug 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade 4.8d to 5.03 upgrade.php problem dbullock Photopost Pro Installation & Upgrades 4 May 19th, 2005 11:13 AM


All times are GMT -5. The time now is 05:18 PM.

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