 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
November 26th, 2005, 03:04 PM
|
#21 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
If you find
require "config-inc.php";
place this on top of it
$skip_exheader="yes";
|
| |
November 26th, 2005, 03:25 PM
|
#22 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
| Quote: |
Originally Posted by Chuck S If you find
require "config-inc.php";
place this on top of it
$skip_exheader="yes"; | Find that in what file ?
|
| |
November 26th, 2005, 03:32 PM
|
#23 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
| Quote: |
Originally Posted by Chuck S If you find
require "config-inc.php";
place this on top of it
$skip_exheader="yes"; | found it in ppinc.php
addded the line - now trying upgrade again
|
| |
November 26th, 2005, 03:38 PM
|
#24 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
No in upgrade.php sorry
|
| |
November 26th, 2005, 03:44 PM
|
#25 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
found it a dozen or more times in upgrade.php and added it that many times
Attempting to upgrade test install again
|
| |
November 26th, 2005, 03:52 PM
|
#26 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
before attempting to do upgrade the gallery now shows this error
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mercuryc/public_html/test/gall/forums/vb3.php on line 351
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mercuryc/public_html/test/gall/pp-inc.php on line 2931
and thumbnails are all missing
upgrade is progressing but lots of errors Quote:
Preparing to reorganize admin options...
INSERT INTO admingroups VALUES (7,'Comments Options') failed with error: Duplicate entry '7' for key 1
INSERT INTO admingroups VALUES (8,'Registration Options') failed with error: Duplicate entry '8' for key 1
INSERT INTO admingroups VALUES (9,'Layout Options') failed with error: Duplicate entry '9' for key 1
INSERT INTO admingroups VALUES (10,'Watermark Options') failed with error: Duplicate entry '10' for key 1
ALTER TABLE comments ADD ipaddress VARCHAR(32) failed with error: Duplicate column name 'ipaddress'
ALTER TABLE photos ADD ipaddress VARCHAR(32) failed with error: Duplicate column name 'ipaddress'
INSERT INTO admingroups VALUES (11, 'Sidebar Settings') failed with error: Duplicate entry '11' for key 1
INSERT INTO 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 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 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 settings VALUES (147, 'Statistics PAL?', 'statspal', ' Display Statistics Pal?', 'yes', 6, 11) failed with error: Duplicate entry '147' for key 1
INSERT INTO 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 settings VALUES (149, 'Random Image PAL?', 'randompal', ' Display Random Image?', 'yes', 8, 11) failed with error: Duplicate entry '149' for key 1
INSERT INTO settings VALUES (150, 'Highest Ratings PAL?', 'ratingspal', ' Display Highest Ratings?', 'no', 9, 11) failed with error: Duplicate entry '150' for key 1
INSERT INTO settings VALUES (151, 'Show Sidebar on Index Page?', 'sidebar_index', '', 'no', 2, 11) failed with error: Duplicate entry '151' for key 1
INSERT INTO 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
ALTER TABLE categories DROP INDEX lastphoto failed with error: Can't DROP 'lastphoto'. Check that column/key exists
ALTER TABLE categories DROP INDEX thumbnail failed with error: Can't DROP 'thumbnail'. Check that column/key exists
ALTER TABLE iponline DROP INDEX userid failed with error: Can't DROP 'userid'. Check that column/key exists
ALTER TABLE photos DROP INDEX approved failed with error: Can't DROP 'approved'. Check that column/key exists
ALTER TABLE photos DROP INDEX date failed with error: Can't DROP 'date'. Check that column/key exists
|
dozens of these errors - the data folder and subfolders are set to 777 Quote:
Warning: fopen(/home/mercuryc/public_html/test/gall/data/1/thumbs/index.htm): failed to open stream: Permission denied in /home/mercuryc/public_html/test/gall/pp-inc.php on line 2416
Warning: fclose(): supplied argument is not a valid stream resource in /home/mercuryc/public_html/test/gall/pp-inc.php on line 2417
Warning: fopen(/home/mercuryc/public_html/test/gall/data/1/medium/index.htm): failed to open stream: Permission denied in /home/mercuryc/public_html/test/gall/pp-inc.php on line 2422
Warning: fclose(): supplied argument is not a valid stream resource in /home/mercuryc/public_html/test/gall/pp-inc.php on line 2423
| |
| |
November 26th, 2005, 03:54 PM
|
#27 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Okay your data subdirectories are not set to 777. Make sure on 4.85-486 upgrade ONLY RUN STEP3 ONCE
The other errors are just duplicates saying you have already ran them
You will have mysql errors until your database is 5.21
|
| |
November 26th, 2005, 03:56 PM
|
#28 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
Im on step 2 and its failing ... Im double checking the permissions
|
| |
November 26th, 2005, 04:11 PM
|
#29 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
for some reason the thumbs and other folders in the 500 folder was acting wierd - after forcibly fixing that the upgrade went one more step now more errors Quote:
Updating filenames...
Updates completed...
Preparing to remove files which are no longer used by PhotoPost.
Warning: unlink(/home/mercuryc/public_html/test/gall/dcfp_auth_lib.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1947
Warning: unlink(/home/mercuryc/public_html/test/gall/subscribe.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1948
Warning: unlink(/home/mercuryc/public_html/test/gall/showalbums.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1949
Warning: unlink(/home/mercuryc/public_html/test/gall/login.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1950
Warning: unlink(/home/mercuryc/public_html/test/gall/orderphotos.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1951
Warning: unlink(/home/mercuryc/public_html/test/gall/logout.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1952
Warning: unlink(/home/mercuryc/public_html/test/gall/reportphoto.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1953
Warning: unlink(/home/mercuryc/public_html/test/gall/cookies.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1954
Warning: unlink(/home/mercuryc/public_html/test/gall/catopts.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1955
Warning: unlink(/home/mercuryc/public_html/test/gall/addfav.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1956
Warning: unlink(/home/mercuryc/public_html/test/gall/zipndownload.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1957
Warning: unlink(/home/mercuryc/public_html/test/gall/sortphotos.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1958
Warning: unlink(/home/mercuryc/public_html/test/gall/login-inc.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1959
Warning: unlink(/home/mercuryc/public_html/test/gall/createcal.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1960
Warning: unlink(/home/mercuryc/public_html/test/gall/email-inc.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1961
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-cinc.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1962
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-admlog.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1963
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-backup.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1964
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-editint.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1965
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-modcom.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1966
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-move.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1967
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-phpi.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1968
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-purge.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1969
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-templ.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1970
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-pa.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1971
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-cfgtpl.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1972
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-cfgedit.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1973
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-cfgint.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1974
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-editcfg.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1975
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-intedit.php): No such file or directory in /home/mercuryc/public_html/test/gall/upgrade.php on line 1976
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-options.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1977
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-order.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1978
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-style.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 1979
| I know its just trying to remove the files but since the root php files are ALL 777 why wont the script work ? Quote:
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-userg.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 2108
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-approve.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 2109
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-db.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 2110
Warning: unlink(/home/mercuryc/public_html/test/gall/adm-menu.php): Permission denied in /home/mercuryc/public_html/test/gall/upgrade.php on line 2111
|
Last edited by Silver_2000; November 26th, 2005 at 04:14 PM.
|
| |
November 26th, 2005, 04:15 PM
|
#30 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Yes if the image copy fails its permissions
Now after step3 those errors are fine not every server allows scripts to delete files
Go on to 5.0 upgrade
|
| |
November 26th, 2005, 04:25 PM
|
#31 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
manually deleted the files in the error and the gallery looks right
but it wont let me into the admin panel - Im logged in
deleting the cookies now - didnt help
It shows me logged in but when I click admin it asks me to login again and then takes me back to home page
Doug
|
| |
November 26th, 2005, 04:31 PM
|
#32 (permalink)
| | Member Verified Customer
Join Date: Jun 2003 Location: Dallas TX
Posts: 400
|
after closing all browsers and deleteing cookies it seems to be working
Thanks for help
Wish it wasnt this complicated
Doug
PS - the owner of the site-gallery is one of the customers who switched to VBaGallery after becoming frustrated by PP and these kinds of issues -
Ill let him know that the upgrade works and see if he is interested in running it on the production version. Since PP now owns VBa Gallery he is more than a little frustrated.
|
| |
November 26th, 2005, 04:32 PM
|
#33 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
well your cookie thing I would say was the cookie prefix |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:04 AM. | |