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 June 16th, 2005, 11:33 AM   #1 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
admin cannot login after upgrade to 511

can you please help with this

cannot login after upgrade

errors:

1.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xyz/blablabla/blabalahtml/pp-inc.php on line 2879

2. An error was encountered during execution of the query:

SELECT id,ugnoupload,ugnoanno,ugnoview,ugnopost,ugnovote,password,watermark,cattype,ismember,catname,parent,children,thumbs,canzip,moderators,header,footer,headtags FROM categories

The query returned with an errorcode of:

Unknown column 'ismember' in 'field list'

If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.

3. An error was encountered during execution of the query:

SELECT c.id,
c.catname,
c.description,
c.catorder,
c.parent,
c.thumbs,
c.children,
c.photos,
c.posts,
c.catdepth,
c.cattype,
c.ismember,
c.thumbnail,
p.id,
p.bigimage,
p.cat,
p.approved,
p.user,
p.userid,
p.date,
p.width,
p.height,
p2.bigimage,
p2.cat,
p2.storecat,
p2.userid,
p2.width,
p2.height,
com.username,
com.id,
com.date,
com.photo
FROM categories c
LEFT JOIN photos p ON c.lastphoto=p.id
LEFT JOIN photos p2 ON c.thumbnail=p2.id
LEFT JOIN comments com ON com.id=c.lastpost
ORDER BY c.catorder ASC

The query returned with an errorcode of:

Unknown column 'c.ismember' in 'field list'

If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.


thanks

Last edited by VIPHOSTZONE; June 16th, 2005 at 11:35 AM.
VIPHOSTZONE is offline   Reply With Quote
Old June 16th, 2005, 11:49 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Please make sure you run the upgrade script and any necessary upgrades from the latest version you where running. You missed the upgrade from 5.0 to 5.1
__________________
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 June 16th, 2005, 12:58 PM   #3 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
Please make sure you run the upgrade script and any necessary upgrades from the latest version you where running. You missed the upgrade from 5.0 to 5.1
thanks for reply

we move site to new host.
we change patch in config-inc.php
upload uor backup from old host
then upload new 5.1.1 script

our prev version is
// PhotoPost Pro Version Number
$VERSION = "5.02";

now we cannot login and there are two errors:

1. Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /blabla/blabla/blablahtml/pp-inc.php on line 2879

2. Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /blabla/blabla/blablahtml/pp-inc.php on line 765


http://www.viphostzone.com/

thanks for help in advance !
VIPHOSTZONE is offline   Reply With Quote
Old June 16th, 2005, 01:16 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Please follow the upgrade instructions in the documentation folder and run the upgrade.php script as I stated above running any applicable upgrades you need to run so in your case run these

5.0-5.1
5.1-5.11
__________________
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 June 16th, 2005, 03:36 PM   #5 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
Please follow the upgrade instructions in the documentation folder and run the upgrade.php script as I stated above running any applicable upgrades you need to run so in your case run these

5.0-5.1
5.1-5.11
ok - we erase all, restore site from backup (all works, great),

then upload over version 5.11...
then visit upgrade.php
all ok

but again - admin cannot login...

and get again this errors:

1.On main page:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /blablabla/pp-inc.php on line 2879



2. after admin login:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /blablabla/pp-inc.php on line 2879

Warning: Cannot modify header information - headers already sent by (output started at /blablabla/pp-inc.php:2879) in /blablabla/forums/photopost.php on line 155

Warning: Cannot modify header information - headers already sent by (output started at /blablabla/pp-inc.php:2879) in /blablabla/forums/photopost.php on line 157


Login Successful!

Click here if you do not want to wait any longer
(or if your browser does not automatically forward you)

.....
redirect back to index.php



so - where is error?


thank you in advance

Last edited by VIPHOSTZONE; June 16th, 2005 at 03:47 PM.
VIPHOSTZONE is offline   Reply With Quote
Old June 16th, 2005, 03:46 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
As I have stated have your run the upgrade script per the upgrade instructions?

These mysql errors come from not running the upgrade. Line 2879 of pp-inc.php is the last line below which means the query is invalid

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 offline   Reply With Quote
Old June 16th, 2005, 03:56 PM   #7 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
As I have stated have your run the upgrade script per the upgrade instructions?

These mysql errors come from not running the upgrade. Line 2879 of pp-inc.php is the last line below which means the query is invalid

Code:
Content visible to verified customers only.
yes - we make upgrade twice
so now we restore back to version 5.02 and waiting for news :-)

another question - it is possible make clean install 5.11 and then import old data folder?

Last edited by VIPHOSTZONE; June 16th, 2005 at 03:59 PM.
VIPHOSTZONE is offline   Reply With Quote
Old June 16th, 2005, 04:06 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You need to run both the 5.0-5.1 and 5.1-5.11 upgrades

That query explicitly tells me your missing the field from the categories table ismember and album fields
__________________
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 June 16th, 2005, 04:22 PM   #9 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
You need to run both the 5.0-5.1 and 5.1-5.11 upgrades

That query explicitly tells me your missing the field from the categories table ismember and album fields
ok - site restored back to 5.02 - all works great on new host.

hmm..
but where and how we can lost this tables if we press only upgrade.php ?
VIPHOSTZONE is offline   Reply With Quote
Old June 16th, 2005, 05:00 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You must run the upgrade script and select the two upgrades from it and run them both to upgrade. The error your showing us says you have not done so.
__________________
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 June 16th, 2005, 05:23 PM   #11 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
You must run the upgrade script and select the two upgrades from it and run them both to upgrade. The error your showing us says you have not done so.

ok, thanks
we'll try again tomorrow
VIPHOSTZONE is offline   Reply With Quote
Old June 17th, 2005, 01:07 AM   #12 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
You must run the upgrade script and select the two upgrades from it and run them both to upgrade. The error your showing us says you have not done so.
we run all stages of upgrade - i'm hope we not beginners - so we all do correct.

maybe we found where error is.

one from our free/trial users from India or something else post a photos with names and description in non-latin characters - we delete this account 2-3 months back, but as we see because user use non-latin characters our mysql db and data folder is destroyed.

so now we needed manually check data folder and mysql db for any non-latin characters

we post result here later
VIPHOSTZONE is offline   Reply With Quote
Old June 17th, 2005, 09:21 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
ah there ya go you never meantioned a corrupt database.
__________________
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 June 19th, 2005, 04:13 PM   #14 (permalink)
Registered User
 
Join Date: Feb 2005
Posts: 14
Quote:
Originally Posted by omegatron
ah there ya go you never meantioned a corrupt database.
all ok now

all this because no link in upgrade.php version 5.02 > 5.11



Last edited by VIPHOSTZONE; June 19th, 2005 at 04:36 PM.
VIPHOSTZONE is offline   Reply With Quote
Old June 19th, 2005, 04:56 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
So you did not have the proper upgrade script uploaded.
__________________
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 July 6th, 2005, 01:33 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 14
Actually, Omega, I just downloaded the upgrade script in the members area and there is no 5.02 to 5.11 script link in it either. It's in the latest download version.
jribz is offline   Reply With Quote
Old July 6th, 2005, 01:38 PM   #17 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
You want the Upgrade 5.0x link (which means 5.01 or 5.02, etc).
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 6th, 2005, 01:48 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 14
OK thanks Michael.
jribz 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
I cannot login to Admin Big Kahuna Photopost Pro Installation & Upgrades 2 April 1st, 2005 05:09 AM
Can't login to the Admin CP rcsmith Photopost Pro Installation & Upgrades 11 March 23rd, 2005 11:47 AM
Cant login to admin after upgrade to 4.8.6 FrankR678 Classifieds Installation & Upgrades 4 March 4th, 2005 05:21 AM
Cannot login to admin area after 4.8.5 upgrade kall Photopost Pro Installation & Upgrades 58 January 22nd, 2005 10:02 PM
Admin login stopped working... backup admin does work... LittleBrother ReviewPost Installation & Upgrades 2 July 1st, 2004 04:58 AM


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

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