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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old June 7th, 2004, 10:11 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
Exclamation Upgrade from 4.7j to 4.8 errors! Help!

Started the upgrade process, and the first screen after continue I got this error:

Preparing to reorganize admin options...
ALTER TABLE photop_categories DROP INDEX lastphoto failed with error: Can't DROP 'lastphoto'. Check that column/key exists
ALTER TABLE photop_categories DROP INDEX thumbnail failed with error: Can't DROP 'thumbnail'. Check that column/key exists
ALTER TABLE photop_iponline DROP INDEX userid failed with error: Can't DROP 'userid'. Check that column/key exists
ALTER TABLE photop_photos DROP INDEX approved failed with error: Can't DROP 'approved'. Check that column/key exists
ALTER TABLE photop_photos DROP INDEX date failed with error: Can't DROP 'date'. Check that column/key exists


Done! You can now remove this file and check out your new Admin Options layout!



I had 4.7j installed prior to this.....

Now when I goto my site, I see this...

Warning: main(/home/sites/yoursite/photopost/languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/virtual/site10/fst/var/www/html/voice/gallery/pp-inc.php on line 63

Fatal error: main(): Failed opening required '/home/sites/yoursite/photopost/languages/english/pp-inc.php' (include_path='.:/usr/share/pear') in /home/virtual/site10/fst/var/www/html/voice/gallery/pp-inc.php on line 63


Any clues?
dealios is offline   Reply With Quote
Old June 7th, 2004, 10:14 AM   #2 (permalink)
donb
Guest
 
Posts: n/a
http://www.photopost.com/members/for...60&postcount=2
  Reply With Quote
Old June 7th, 2004, 10:30 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
Ok, I changed the 4 lines, but their was only 1 WHERE in line 88... it read this..

$query[] = "DELETE FROM {$pp_db_prefix}settings WHERE id=33";


I ran upgrade47 again and now I get this..


Preparing to reorganize admin options...
INSERT INTO photop_admingroups VALUES (7,'Comments Options') failed with error: Duplicate entry '7' for key 1
INSERT INTO photop_admingroups VALUES (8,'Registration Options') failed with error: Duplicate entry '8' for key 1
INSERT INTO photop_admingroups VALUES (9,'Layout Options') failed with error: Duplicate entry '9' for key 1
INSERT INTO photop_admingroups VALUES (10,'Watermark Options') failed with error: Duplicate entry '10' for key 1
ALTER TABLE photop_comments ADD ipaddress VARCHAR(32) failed with error: Duplicate column name 'ipaddress'
ALTER TABLE photop_photos ADD ipaddress VARCHAR(32) failed with error: Duplicate column name 'ipaddress'
INSERT INTO photop_admingroups VALUES (11, 'Sidebar Settings') failed with error: Duplicate entry '11' for key 1
INSERT INTO photop_settings VALUES (144, 'Sidebar Placement?', 'sidebar', 'Set this to off for no sidebar or left or right depending on your tastes.', 'off', 1, 11) failed with error: Duplicate entry '144' for key 1
INSERT INTO photop_settings VALUES (145, 'Sidebar Width', 'sidebar_width', ' Choose the width for your sidebar', '20%', 4, 11) failed with error: Duplicate entry '145' for key 1
INSERT INTO photop_settings VALUES (146, 'Under Category PAL?', 'undercat', ' Display Recent Comments and Who\'s Online Pals', 'no', 5, 11) failed with error: Duplicate entry '146' for key 1
INSERT INTO photop_settings VALUES (147, 'Statistics PAL?', 'statspal', ' Display Statistics Pal?', 'yes', 6, 11) failed with error: Duplicate entry '147' for key 1
INSERT INTO photop_settings VALUES (148, 'Top Posters PAL?', 'topposterspal', ' Display Top Posters Pal?', 'no', 7, 11) failed with error: Duplicate entry '148' for key 1
INSERT INTO photop_settings VALUES (149, 'Random Image PAL?', 'randompal', ' Display Random Image?', 'yes', 8, 11) failed with error: Duplicate entry '149' for key 1
INSERT INTO photop_settings VALUES (150, 'Highest Ratings PAL?', 'ratingspal', ' Display Highest Ratings?', 'no', 9, 11) failed with error: Duplicate entry '150' for key 1
INSERT INTO photop_settings VALUES (151, 'Show Sidebar on Index Page?', 'sidebar_index', '', 'no', 2, 11) failed with error: Duplicate entry '151' for key 1
INSERT INTO photop_settings VALUES (152, 'Show Sidebar Globally?', 'sidebar_global', 'Showsidebar on showphoto,showmembers and showgallery pages?', 'no', 3, 11); failed with error: Duplicate entry '152' for key 1
INSERT INTO photop_settings VALUES (153, 'Default theme setting (UBBThreads users only)', 'threads', 'Threads Users: We need to know what the site default theme setting is.', 'infopop', 18, 1) failed with error: Duplicate entry '153' for key 1
INSERT INTO photop_settings VALUES (154, 'Show signatures?', 'showsigs', 'When available, display signatures?', 'yes', 27, 5) failed with error: Duplicate entry '154' for key 1
INSERT INTO photop_settings VALUES (155, 'Show Avatars?', 'showavatar', 'When available, show avatars?', 'yes', 28, 5) failed with error: Duplicate entry '155' for key 1
INSERT INTO photop_settings VALUES (156, 'Show Category Avatars?', 'indexavatars', 'Do you want to display the Index Avatars?', 'yes', 9, 3) failed with error: Duplicate entry '156' for key 1
INSERT INTO photop_settings VALUES (157, 'Display Custom PAL #1', 'custom1pal', ' If you modified the custom1pal.tmpl and want to include it set to yes', 'no', 11, 11) failed with error: Duplicate entry '157' for key 1
INSERT INTO photop_settings VALUES (158, 'Display Custom PAL #2', 'custom2pal', ' If you modified the custom2pal.tmpl and want to include it set to yes', 'no', 12, 11) failed with error: Duplicate entry '158' for key 1
INSERT INTO photop_settings VALUES (159, 'Display Custom PAL #3', 'custom3pal', ' If you modified the custom3pal.tmpl and want to include it set to yes', 'no', 13, 11) failed with error: Duplicate entry '159' for key 1
INSERT INTO photop_settings VALUES (160, 'Number of Top Posters to display', 'numtoppal', '', '5', 14, 11) failed with error: Duplicate entry '160' for key 1
INSERT INTO photop_settings VALUES (161, 'Number of Last Comments to display', 'numcompal', '', '5', 15, 11) failed with error: Duplicate entry '161' for key 1
INSERT INTO photop_settings VALUES (162, 'Number of Most Popular Photos to display', 'mostpoppal', '', '5', 16, 11) failed with error: Duplicate entry '162' for key 1
INSERT INTO photop_settings VALUES (163, 'Use Integrated forum stylesheets?', 'forumstyle', 'If you use a forum like vB3 or Threads and want to use the intergated stylesheet option, choose Yes', 'no', 19, 1) failed with error: Duplicate entry '163' for key 1
INSERT INTO photop_settings VALUES (164, 'Use Whos Online PAL?', 'onlinepal', '', 'yes', 10, 11) failed with error: Duplicate entry '164' for key 1
ALTER TABLE photop_usergroups ADD canassign INT(3) DEFAULT '0' NOT NULL failed with error: Duplicate column name 'canassign'
ALTER TABLE photop_categories ADD sortorder INT(2) DEFAULT '1' NOT NULL, ADD extra1 VARCHAR(250), ADD extra2 VARCHAR(250), ADD extra3 VARCHAR(250), ADD extra4 VARCHAR(250), ADD extra5 VARCHAR(250), ADD extra6 VARCHAR(250), ADD thumbnail INT(15) DEFAULT '0' NOT NULL failed with error: Duplicate column name 'sortorder'


Done! You can now remove this file and check out your new Admin Options layout!



MORE ERRORS! Help needed
dealios is offline   Reply With Quote
Old June 7th, 2004, 11:01 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
donny b in da house? help
dealios is offline   Reply With Quote
Old June 7th, 2004, 11:38 AM   #5 (permalink)
donb
Guest
 
Posts: n/a
Duplicates are ok.

How's the gallery itself running?
  Reply With Quote
Old June 7th, 2004, 12:52 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
its not running at all...

Im still getting this error



Warning: main(/home/sites/yoursite/photopost/languages/english/pp-inc.php): failed to open stream: No such file or directory in /home/virtual/site10/fst/var/www/html/voice/gallery/pp-inc.php on line 63

Fatal error: main(): Failed opening required '/home/sites/yoursite/photopost/languages/english/pp-inc.php' (include_path='.:/usr/share/pear') in /home/virtual/site10/fst/var/www/html/voice/gallery/pp-inc.php on line 63
dealios is offline   Reply With Quote
Old June 7th, 2004, 01:00 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2004
Posts: 2
I am getting the same error as well.....
txbigguy is offline   Reply With Quote
Old June 7th, 2004, 01:00 PM   #8 (permalink)
donb
Guest
 
Posts: n/a
/home/sites/yoursite/photopost

Edit the path in the config-inc.php file. $pp_path



// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/sites/yoursite/photopost";


It should read

$PP_PATH = "/home/virtual/site10/fst/var/www/html/voice/gallery";
  Reply With Quote
Old June 7th, 2004, 01:02 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
yep, just realized up i uploaded the 4.7 config instead of the fixed 4.8 config... ugh...

thanks
dealios is offline   Reply With Quote
Old June 7th, 2004, 01:06 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2004
Posts: 2
Yea that did the trick for me...
txbigguy is offline   Reply With Quote
Old June 7th, 2004, 01:19 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 38
WOA, just fixed my gallery to look like my forums look!!

These 2 options need to be set:

Default theme setting (UBBThreads users only)
Threads Users: We need to know what the site default theme setting is.

make sure it is blank


Use Integrated forum stylesheets?

If you use a forum like vB3 or Threads and want to use the intergated stylesheet option, choose Yes
dealios is offline   Reply With Quote
Old June 10th, 2004, 07:37 PM   #12 (permalink)
Registered User
 
Join Date: Apr 2004
Location: somewhere north
Posts: 31
As well I've just upgraded to PP4.8c and i can no longer see my thumbnails.
All files in data directory still exist with correct permissions
PP_PATH in config-inc.php is pointed to the correct location
the admin options look to be correct as well
finally i reformed scan database to recreate the thumbnails and still no luck (i verified that all thumbnails in data directory have been changed to today (just after scan completed), so i know the rebuild of thumbnails was correct and occurred in correct location.

so why can't i see thumbnails on any of my gallery pages?
skj310 is offline   Reply With Quote
Old June 10th, 2004, 07:49 PM   #13 (permalink)
Registered User
 
Join Date: Apr 2004
Location: somewhere north
Posts: 31
one more issue related to upgrade from 4.7j to 4.8c

"edit category" from administrator looks very weird!
each category is usually followed by hyperlinks within [] brackets ... the only link that shows up for me is [sort subcats]. what went wrong here?
skj310 is offline   Reply With Quote
Old June 10th, 2004, 08:24 PM   #14 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
have you updated the language files?
rbl is offline   Reply With Quote
Old June 10th, 2004, 08:55 PM   #15 (permalink)
Registered User
 
Join Date: Apr 2004
Location: somewhere north
Posts: 31
figured out the problem with the above 2 posts by me ...

to do the upgrade i stuck the 4.8c files into a temp dir called /www/temp
the older version 4.7j was in /www/photopost

then i simply did some "mv <whatever ... dir or file.*>" to update to the newer release

ultimately while checking timestamps i learned that many of the php files in my main /www/photopost dir were still 4.7j ... -embarrassment-

repeated the move ... this time blowing away the 4.7j files and boom ... works (for the most part)!!

thanks for the quick reply!
skj310 is offline   Reply With Quote
Old September 21st, 2004, 08:40 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 84
Arrow

Quote:
Originally Posted by dealios
Started the upgrade process, and the first screen after continue I got this error:

Preparing to reorganize admin options...
ALTER TABLE photop_categories DROP INDEX lastphoto failed with error: Can't DROP 'lastphoto'. Check that column/key exists
ALTER TABLE photop_categories DROP INDEX thumbnail failed with error: Can't DROP 'thumbnail'. Check that column/key exists
ALTER TABLE photop_iponline DROP INDEX userid failed with error: Can't DROP 'userid'. Check that column/key exists
ALTER TABLE photop_photos DROP INDEX approved failed with error: Can't DROP 'approved'. Check that column/key exists
ALTER TABLE photop_photos DROP INDEX date failed with error: Can't DROP 'date'. Check that column/key exists

I had this same error when I upgraded from 4.6.5 to 4.8.2 tonight.
I just continued my installation and all seems to be fine.... but is it ?!
Pasqualis is offline   Reply With Quote
Old September 21st, 2004, 09:31 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Your cant drop the index's

You can go in with phpmyadmin IF YOU KNOW WHAT YOUR DOING and drop those index's

Notice I capitalized the one part We had one user here who actually went in and deleted the actual table structure equivilents not the index's

These are basically performance enhancing things to speed things up.
__________________
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 September 22nd, 2004, 02:29 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 84
Thanks for the quick reply!

So okay... what actions do I have to take from my phpmyadmin ?
Pasqualis is offline   Reply With Quote
Old September 26th, 2004, 05:43 AM   #19 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 84
bump...
Pasqualis is offline   Reply With Quote
Old September 26th, 2004, 10:05 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
I already answered the question in my post. The mysql queries are self explanatory.

I dont know if I can be any clearer than drop those index's on the proper table.

If you do not know what an index is then you should not be attempting what I suggested one post up. As stated I had a customer delete their fields in their category table thinking I had told them to drop them. An index appears at the end of the table structure when viewing structure of the table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; September 26th, 2004 at 10:08 AM.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade errors ncg ReviewPost Installation & Upgrades 3 August 28th, 2005 12:16 PM
Errors during upgrade to 5.0 iloco Photopost Pro Installation & Upgrades 19 March 3rd, 2005 10:34 PM
Errors after 4.8d upgrade SVTBlackLight01 Photopost Pro Installation & Upgrades 2 July 20th, 2004 08:31 PM
Some errors I get after 2.8 upgrade... dealios ReviewPost Installation & Upgrades 0 June 23rd, 2004 04:22 PM


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

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