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 May 6th, 2008, 11:26 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 10
Upgrade issues 6.02 to 6.1

I am going from 6.02 to 6.1. Uploaded all files edited config-inc.php then ran script. Get this error when script is run: I realize the dups are from running the script over but the bottom error seems to have been the prevalent issue.

Preparing to update database...

Error performing MySQL command: INSERT INTO pp_settings VALUES (236,'Enable Email a Friend feature?','findfriend','','yes',7,4)
Error: Duplicate entry '236' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (238,'Use images for user menu options on showphoto?','imgmenu','','yes',35,5)
Error: Duplicate entry '238' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (239,'Enable zoom javascript?','zoom','Enable the TJP zoom javascript feature on showphoto?','no',36,5)
Error: Duplicate entry '239' for key 1

Error performing MySQL command: ALTER TABLE pp_messages ADD fromuserid INT( 12 ) DEFAULT '0' NOT NULL AFTER userid
Error: Duplicate column name 'fromuserid'


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtuat4/public_html/photopost/upgrade.php on line 2765



In the gallery I get this when clicking on a user:

Parse error: syntax error, unexpected $end in /home/virtuat4/public_html/photopost/templates/vb3enhanced/profile.tmpl on line 650
nvader07 is offline   Reply With Quote
Old May 6th, 2008, 11:34 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 10
Checked all the files I uploaded and they show to be updated from the 6.1 zip.
nvader07 is offline   Reply With Quote
Old May 6th, 2008, 11:39 PM   #3 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Posts: 1,340
Quote:
Originally Posted by nvader07 View Post


In the gallery I get this when clicking on a user:

Parse error: syntax error, unexpected $end in /home/virtuat4/public_html/photopost/templates/vb3enhanced/profile.tmpl on line 650
I am getting a similar error when view internal messages..
skidpics is offline   Reply With Quote
Old May 6th, 2008, 11:53 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 10
I am getting the error on messages too. I can view albums but get the error when viewing an individual user gallery or my messages. I dunno.
nvader07 is offline   Reply With Quote
Old May 7th, 2008, 04:18 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 37
Also got errors with the upgrade here...was upgrading from 5.6.2 to 6.1. Photopost integrated with Vbulletin on separate db's.

warning message
Code:
Content visible to verified customers only.
Appeared at step..
Code:
Content visible to verified customers only.
Now I am getting the same errors as the people above when viewing member profiles, plus non of my categories are accessible, they are showing on the index as headers (collapsed sections) but don't open if clicked. Also in the search, the categories themselves are not listed.

Last edited by Nobody; May 7th, 2008 at 04:33 AM.
Nobody is offline   Reply With Quote
Old May 7th, 2008, 11:02 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Duplicate errors means you already ran the upgrade script. The mysql query could be that there are no categories that do not have empty catavatars but should not affect any operation of the code.

The profile thing go to admin and edit your profile template and make template this

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 May 7th, 2008, 11:15 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 37
After the edit I get the following error...
Quote:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mydomain/public_html/gallery/templates/vb3enhanced/profile.tmpl on line 23
Also relating to my earlier post, I have some other issues existing, currently the gallery is non functional. I'll start a new thread regarding that though.
Nobody is offline   Reply With Quote
Old May 7th, 2008, 11:18 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
If the profile template is what I posted here their is no issue

http://www.photopost.com/photopost/member.php?uid=2359

I took that template code right off our site here

http://www.photopost.com/photopost/t...d/profile.tmpl
__________________
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 May 7th, 2008, 11:35 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 37
Sorry Chuck, my mistake. I re-uploaded the original file instead of the edited one

All is well with the user profiles now
Nobody is offline   Reply With Quote
Old May 7th, 2008, 11:55 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not a problem enjoy your day my friend.
__________________
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 May 7th, 2008, 01:27 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 10
I now have this error on messages and profile views after the edit you posted Chuck.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/virtuat4/public_html/photopost/templates/vb3enhanced/profile.tmpl on line 23
nvader07 is offline   Reply With Quote
Old May 7th, 2008, 01:31 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2008
Posts: 10
OK Chuck, I wasn't in the vbenhanced folder. DOH! All is well, thanks for the help!!
nvader07 is offline   Reply With Quote
Old May 7th, 2008, 02:54 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not a problem have a good day!
__________________
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 May 8th, 2008, 07:03 PM   #14 (permalink)
Member
 
Join Date: Feb 2007
Location: Tokyo
Posts: 90
Send a message via MSN to sherpa
@ nvader07
Sorry for out focusing your topic

@ Chuck
Do we need to run upgrade.php to go 6.1 from 6.02?
sherpa is offline   Reply With Quote
Old May 8th, 2008, 09:04 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yes you need to run the upgrade as the announcement states.
__________________
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 May 11th, 2008, 07:41 PM   #16 (permalink)
Member
 
Join Date: Feb 2007
Location: Tokyo
Posts: 90
Send a message via MSN to sherpa
Thanks Chuck

During the upgrade I encountered error below

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/sherpa/public_html/photo/upgrade.php on line 2765
sherpa is offline   Reply With Quote
Old May 11th, 2008, 09:18 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
That will not cause any issues it just scans and updates the last photo cat avatar field but it causes no issues. I have reported the issue and Michael should be fixing the build.
__________________
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 May 15th, 2008, 10:41 PM   #18 (permalink)
Member
 
Join Date: Feb 2007
Location: Tokyo
Posts: 90
Send a message via MSN to sherpa
Ok
Now I found one parse error in profile.tmpl
If I click on some ones profile error comes saying
Parse error: syntax error, unexpected $end in /home/sherpa/public_html/photo/templates/profile.tmpl on line 665
sherpa is offline   Reply With Quote
Old May 15th, 2008, 10:55 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I am pretty sure all issues have been found. the template above is valid
__________________
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 May 25th, 2008, 09:52 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Hi, I am getting the same problem:

Parse error: syntax error, unexpected $end in /home/site/www/gallery/templates/profile.tmpl on line 665

Any idea how to fix it ?

Its not the vbenhanced one, I have no integration there.

If I replace with the code mentioned above, I get this:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/site/www/gallery/templates/profile.tmpl on line 23

Thanks.
Peter 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 Issues rcwild Photopost Pro Installation & Upgrades 3 October 8th, 2007 08:05 PM
Upgrade Issues IJO Photopost Pro Installation & Upgrades 3 September 12th, 2005 09:13 AM
4.85 Upgrade issues clubplanet Photopost Pro Installation & Upgrades 1 September 8th, 2005 03:29 PM
upgrade issues sifuhall ReviewPost Installation & Upgrades 5 September 5th, 2005 12:01 PM
Upgrade Issues aquariumpros Classifieds Installation & Upgrades 29 June 24th, 2004 06:37 PM


All times are GMT -5. The time now is 11:29 PM.

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