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 March 4th, 2005, 05:21 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Unhappy Still errors upgrade to version 5

The first upgrade from version 4.86 to version 5 was very bad.
So i have to restore the database and datafile.
When this has work again (version 4.86) i have read this forum and set ( check) the permissions.
So that must be good.
But... again errors
I have no idea what is wrong because the version 4.86 is working fine.
Now i gone again restore everything,but i wait for the answer what i do wrong.
This are the errors:

This is the first:

Warning: fopen(/home/virtual/site1/fst/var/www/html/fotopost/data/1/thumbs/index.htm): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2254

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2255

Warning: fopen(/home/virtual/site1/fst/var/www/html/fotopost/data/1/medium/index.htm): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2260

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2261

Warning: fopen(/home/virtual/site1/fst/var/www/html/fotopost/data/1/mini/index.htm): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2266

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2267

Warning: fopen(/home/virtual/site1/fst/var/www/html/fotopost/data/2/thumbs/index.htm): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2254

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line 2255

Warning: fopen(/home/virtual/site1/fst/var/www/html/fotopost/data/2/medium/index.htm): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/pp-inc.php on line

Than i get the second error:

Updating filenames...
Updates completed...

Preparing to remove files which are no longer used by PhotoPost.
Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/dcfp_auth_lib.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1912

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/subscribe.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1913

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/showalbums.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1914

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/login.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1915

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/orderphotos.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1916

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/logout.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1917

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/reportphoto.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1918

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/cookies.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1919

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/catopts.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1920
aberg is offline   Reply With Quote
Old March 4th, 2005, 05:32 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
The latest errors are not a concern as it would not let you delete some files which may or not be allowed since your fotopost directory is 755

However your data directories to me would seem that at least those two and one are not 777

Check the thumbs, mini and medium directories under 1 and 2 as well as those directories themselves and make sure they are 777 and then do you upgrades.

Every instance of problems running the Photopost 5 upgrade that I have been witness to has been permissions related. In every case after a total recheck of all directory permissions the upgrade goes through fine

This is expecially needed to be set correctly on this upgrade as we are moving files to alternate directories.
__________________
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 March 4th, 2005, 05:46 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Unhappy

Thanks for the quick replay.
I have make all the directory's in data 777.
Seems to be work now,but still the last error is there:

Updating filenames...
Updates completed...

Preparing to remove files which are no longer used by PhotoPost.
Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/dcfp_auth_lib.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1912

But now error 3 is there too.
After registration there is again a error:

Warning: main(/home/virtual/site1/fst/var/www/html/fotopost/languages/english/english.php): failed to open stream: No such file or directory in /home/virtual/site1/fst/var/www/html/fotopost/register.php on line 287

Warning: main(): Failed opening '/home/virtual/site1/fst/var/www/html/fotopost/languages/english/english.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site1/fst/var/www/html/fotopost/register.php on line 287

I know you wrote that this is a easy upgrade.
I use now photopost about 1,5 year and i have done a lot of upgrade form the versions.
But this one is very bad, it isnt so easy as you wrote and there are bug in it.
I ám sure about that because how do you want to explain that a good working version 4.86 not can be upgrade to version 5 without a lot of problems
I have make also a new install and this is without any problems.

So now i return to version 4.86 and wait to see how other users find the upgrade ....
aberg is offline   Reply With Quote
Old March 4th, 2005, 05:55 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Find this line in register.php

include "{$Globals['PP_PATH']}/languages/{$Globals['pplang']}/english.php";

change it to this

include "{$Globals['PP_PATH']}/languages/{$Globals['pplang']}.php";
__________________
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 March 5th, 2005, 04:23 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Unhappy

Oke changed, but again error 5 !!
It isn't possible to logout.
After screen login out still loged in.
So i can't check the setting.
Why is this upgrade so difficult ?????
It must be seem easy as like before
aberg is offline   Reply With Quote
Old March 5th, 2005, 08:10 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
The upgrade itself is very simple 3 steps.

However it requires your permissions be correct to work correct. All problems with upgradfing losing images etc are permissions issues


The fix I gave above for register.php would be considered a bug in the register script.

I would suggest when asking for help post your site info.

It is extremely hard to encompass all the issues without seeing first hand your problem.
__________________
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 March 6th, 2005, 07:29 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Thanks for the replay.
Because the problems with i have with the upgrade i have install a fresh version of photopost V for testing.
Normal i use VB3 + Photopost together and you can see that on my forum .
I have restore the database on this site.
I'am using seperate database for photopost and VB.
I'am happy that i done this,because restore photopost give's no problems on the forum.
As you can see i'am using now again version 4.86.
So now i have try to test the new version 5 on photopost test.
But still as i wrote errors.

Because in any post you wrote about problems with permissions i will ask you to give me the permissions of the directory's before upgrade.
I will than check this on the working version ( 4.86) and changed the settings when needed.
But stil it is strange that a working version with upgrade to a new version give permission errors.
Normal i think the upgrade script must check of the settings are ok and correct them when needed.
aberg is offline   Reply With Quote
Old March 6th, 2005, 08:12 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
aberg we attempt to change permissions on the directories we create on the upgrade script but scripts not always have permission to change permission like the user who signs into the ftp account

ALL DATA DIRECTORIES AND THERE SUBDIRECTORIES need to be 777
__________________
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 March 8th, 2005, 12:07 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Thumbs down

Again everything restore and update.
All directory's 5 time check and 777
Stil errors as above, Lot of :

Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/showalbums.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1914

and still can;t logout.

But.... now images files all OK, and can upload new pictures.
Seems to be workin now correct,except as i wrote can't log-out and what is this error:
Warning: unlink(/home/virtual/site1/fst/var/www/html/fotopost/showalbums.php): Permission denied in /home/virtual/site1/fst/var/www/html/fotopost/upgrade.php on line 1914




what now.....

Last edited by aberg; March 8th, 2005 at 12:09 PM.
aberg is offline   Reply With Quote
Old March 8th, 2005, 12:09 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
The removal of file errors mean nothing in the grand scheme as you can remove them manually

Is your photopost upgraded correctly? photos viewable?

Post a link here so I can see what issue you have
__________________
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 March 8th, 2005, 12:11 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
try to remove them manuel as name, but than errors in the admin screen

photopost ( testing directory before i updae my real gallery)

Last edited by aberg; March 8th, 2005 at 12:13 PM.
aberg is offline   Reply With Quote
Old March 8th, 2005, 12:19 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Okay everything appears fine

If those files are not deleted on the last part of install its not a big deal.

Delete them manually as they are no longer used by any Photopost 5 files
__________________
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 March 9th, 2005, 11:59 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 243
Thanks. only one problen can't log-out.
After log-out screen still loged in.
Any idea what is wrong ?
aberg is offline   Reply With Quote
Old March 9th, 2005, 04:34 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
I had changed everything to 777 before the upgrade and I am getting registration errors
Code:
Content visible to verified customers only.
at the top pf the confirnmation email page after someone registers

The confirmation email they get looks like this
Quote:
Thanks for registering at .

In order to activate your account, which will enable you to upload photos and post comments (if
the site allows comments), you must click on the link below or copy and paste it into your browser:

/register.php?ppaction=vfy&uid=&knum=

Thanks!

The Team
I did the register.php edit above and now registration wont complete because the system complians that the password confirmation field NEVER matches the password field....

EDIT - apparently the password match was a cache problem.. Its fixed now

Doug

Last edited by Silver_2000; March 9th, 2005 at 04:40 PM.
Silver_2000 is offline   Reply With Quote
Old March 9th, 2005, 04:43 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
Well now that I have edited the register.php I cant login .. Just like the other folks ...

Doug
Silver_2000 is offline   Reply With Quote
Old March 9th, 2005, 04:57 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
If I copy the english.php to the english folder I can login

Doug
Silver_2000 is offline   Reply With Quote
Old March 9th, 2005, 08:07 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Is that with 5.01?
__________________
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 March 9th, 2005, 10:32 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
Quote:
Originally Posted by omegatron
Is that with 5.01?
Nope - 5.0 - when was 5.01 released ?
Silver_2000 is offline   Reply With Quote
Old March 11th, 2005, 09:50 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 352
has this been fixed in 5.2 ??
Silver_2000 is offline   Reply With Quote
Old March 11th, 2005, 09:52 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
There is no 5.2 and the call to a non existant language file is indeed fixed.
__________________
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
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
No PP version number after upgrade? ivanmcp Photopost Pro Installation & Upgrades 1 June 11th, 2005 10:00 AM
HELP !!Couple Faults in upgrade to version 5 aberg Photopost Pro Installation & Upgrades 3 March 4th, 2005 11:33 AM
Upgrade Problem from 4.7j to the latest version fvgffm Photopost Pro Installation & Upgrades 21 December 31st, 2004 07:50 AM
Some errors after upgrade to latest version dutchbb Photopost Pro Installation & Upgrades 2 December 17th, 2004 10:25 AM


All times are GMT -5. The time now is 06:47 PM.

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