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: 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
Checked all the files I uploaded and they show to be updated from the 6.1 zip.
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.
Also got errors with the upgrade here...was upgrading from 5.6.2 to 6.1. Photopost integrated with Vbulletin on separate db's.
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
After the edit I get the following error...
If the profile template is what I posted here their is no issue
I took that template code right off our site here
Sorry Chuck, my mistake. I re-uploaded the original file instead of the edited one :rolleyes:
All is well with the user profiles now ;)
Not a problem enjoy your day my friend.
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
OK Chuck, I wasn't in the vbenhanced folder. DOH! All is well, thanks for the help!!
Not a problem have a good day!
Sorry for out focusing your topic
Do we need to run upgrade.php to go 6.1 from 6.02?
Yes you need to run the upgrade as the announcement states.
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
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.
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
I am pretty sure all issues have been found. the template above is valid
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
|All times are GMT -5. The time now is 01:35 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0