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 October 20th, 2006, 02:35 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Unhappy Upgrade to 5.5 was not successful

Two days ago my gallery was just fine. Yesterday I went to it and nothing appeared. I looked at my files and no photos or comments had been made to it in over a week. The latest files that had changed were from my ISP changing their customer management system. I called them and they looked at the problem and returned an email. The email stated that the problem must be with Photopost. They did something so that my gallery page now showed these errors

"Notice: Undefined offset: 0 in /var/www/html/gallery/index.php on line 15

Fatal error: Call to undefined function: get_regcode() in /var/www/html/gallery/pp-inc.php on line 3037


I don't suspect Photopost since my site has run without problems for quite some time.

I decided that the best answer might be to upgrade, so I purchased Photopost 5.5. My upgrade to 5.5 failed and I get this message on the page the upgrade starts:

Preparing to update database...

Error performing MySQL command: ALTER TABLE pp_photos ADD allowrate INT(1) DEFAULT '1' NOT NULL, ADD allowcoms INT(1) DEFAULT '1' NOT NULL;
Error: Duplicate column name 'allowrate'

Error performing MySQL command: INSERT INTO pp_settings VALUES (220,'Number of minutes a user is allowed to edit a comment?','comtimeout','0 to disable. 86400 is one day.','0',2,7)
Error: Duplicate entry '220' for key 1


After that there are PhotoPost headers down the rest of the page.

I went into my photo database and I think that's alright.
I integrate with PHPBB2 and replaced those files when I upgraded.

What can I do to fix this? I have an article coming out soon where I refer people to my website.

Mike Waite
mwaite49 is offline   Reply With Quote
Old October 20th, 2006, 02:58 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
More information

More on my previous message.

My gallery website is: http://mikewaite.com/gallery/

My website hosting service uses VDS hosting

They use PHP 4.4.4. on a Linux server Server version: 5.0.24

MySQL client version: 5.0.24

Hope this helps.

Mike Waite
mwaite49 is offline   Reply With Quote
Old October 20th, 2006, 03:17 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
You need to upload all the new photopost files. Your missing your forums subdirectory integration file under the gallery directory so reupload all your gallery files based off the Photopost 5.5 upgrade announcement
__________________
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 October 20th, 2006, 03:59 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Chuck,

Thank for the quick reply.

I followed the instructions as they were in the Photopost 5.5 upgrade announcement. I just tried upgrading again with the same error. Both times I copied the phpbb2.php file from the forums directory to the forums directory.
I have only been copying the files listed in the 5.5 upgrade announcement.

What else may be going on?
mwaite49 is offline   Reply With Quote
Old October 21st, 2006, 09:57 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Unhappy Upgrade still not working

I have followed the instructions each time I've tried to upgrade to 5.5 and still get the errors shown in my previous message. I double checked the forum files you suggested. Not only does my gallery not show but I can't access my site administration. I've upgraded several times since my initial purchase and have not had problems before.

I'm stuck and don't know how to proceed.

Mike Waite
mwaite49 is offline   Reply With Quote
Old October 21st, 2006, 11:05 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Fatal error: Call to undefined function: get_regcode() in /var/www/html/gallery/pp-inc.php on line 3037

Thats an absolute error here that tells me your integration file does not exist

Try uploading the entire photopost distribution minus config files or header footer files
__________________
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 October 21st, 2006, 10:12 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Unhappy 5.5 upgrade still not working

I did another upgrade and this time the upgrade stalled. Just a blank blue screen.

When you say integration file that doesn't exist do you mean the file phpbb2.php located in the forums directory? That file has definitely been updated and is sitting in the directory.

I can't access my gallery administration if there is something that can be set there.

Is there a way to reinstall and perhaps reset the integration? I don't even care if it integrates with the forum as long as I can get a working gallery with my photos and categories.

Mike
mwaite49 is offline   Reply With Quote
Old October 22nd, 2006, 10:14 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Fatal error: Call to undefined function: get_regcode() in /var/www/html/gallery/pp-inc.php on line 3037

The error above is absolute. get_regcode is defined in the integration file so yes phpbb2.php.

http://www.mikewaite.com/gallery/index.php

I dont really have any other answer for you here. I can only post what I have if I look at your site this is what I see and the function it says it can not find is in your phpbb2.php file which should be located under your gallery/forums subdirectory. With the error your site has this file is either corrupt or does not exist

Code:
Content visible to verified customers only.
__________________
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 October 22nd, 2006, 12:40 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Question Look at my site

Chuck,

You can look at my site.

Can I email you the information to login?

Mike
mwaite49 is offline   Reply With Quote
Old October 23rd, 2006, 11:48 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
What do I do now?

Chuck,

I'm at a point where I don't have the skills to fix my problem.

I'd be glad to give you a login to the site and my database so you could see if you can find something, but I need to know what to do. Can I email you this information or is there anything else involved?

Mike
mwaite49 is offline   Reply With Quote
Old October 23rd, 2006, 04:04 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Unhappy Crashed database tables

Chuck,

I have a little more information.

I looked at my database and found this in the pp_cache table

#145 - Table './mikewaite/pp_cache' is marked as crashed and should be repaired

I also have the #145 - Table './mikewaite/pp_iponline' is marked as crashed and should be repaired

With my limited knowledge I'm guessing that these two tables are contributing to the problem.

How can they be repaired and what can be done?

Mike
mwaite49 is offline   Reply With Quote
Old October 23rd, 2006, 05:11 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
You can use phpmyadmin to repair your tables thats probally the easiest thing to do. I take it this is how you saw they where corrupt just select them and hit repair in the dropdown
__________________
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 October 23rd, 2006, 06:18 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Location: Southwest Mississipp
Posts: 18
Smile Back in business

Thanks Chuck. I repaired the two tables as you suggested and ran upgrade.php again. I have my gallery back.

I had this show up at the install:

Error performing MySQL command: ALTER TABLE pp_photos ADD allowrate INT(1) DEFAULT '1' NOT NULL, ADD allowcoms INT(1) DEFAULT '1' NOT NULL;
Error: Duplicate column name 'allowrate'

Error performing MySQL command: INSERT INTO pp_settings VALUES (220,'Number of minutes a user is allowed to edit a comment?','comtimeout','0 to disable. 86400 is one day.','0',2,7)
Error: Duplicate entry '220' for key 1

Upgrade complete!

I don't know what it means. Do I need to do something to clean up those two errors?

I really appreciate your assistance.

Mike
mwaite49 is offline   Reply With Quote
Old October 23rd, 2006, 06:33 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
That just means you ran the upgrade before and those columns exist
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Successful, but no image? rainyleaves Photopost Pro How Do I...? 0 January 18th, 2006 09:49 AM
Upload Successful, but no image? Basil Photopost Pro Installation & Upgrades 1 January 6th, 2006 06:00 AM
Upgrade successful - Images missing kevinrstruck Photopost Pro Installation & Upgrades 5 December 14th, 2005 05:42 AM
upload says successful but no files to moderate! xfaethorx Installs and Upgrade - vBulletin 3.0.X 3 July 26th, 2005 11:08 AM
Successful major upgrade ! WebDork Photopost Pro Installation & Upgrades 8 June 20th, 2004 08:30 PM


All times are GMT -5. The time now is 03:51 PM.

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