View Full Version : Problem upgrading from 6.01 to new version
October 12th, 2010, 12:44 PM
Hi, For some reason after I upgraded to the new version I lost all the layout and template. This is the error message I'm getting:
URL to my site: Main Index - KC Gallery (http://www.khmerclub.com/gallery/)
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4007
Parse error: syntax error, unexpected T_STRING in /home2/khmerclu/public_html/gallery/header-inc.php(102) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 4007
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home2/khmerclu/public_html/gallery/header-inc.php(232) : eval()'d code on line 1
October 12th, 2010, 03:30 PM
Are you running the photopost 7.02 code?
That error is usually seen on sites using vbulletin where the photopost code is NOT the 7.0 series that supports vb4.
October 12th, 2010, 03:39 PM
Hi Chuck, I was trying to install PhotoPost PHP Pro v7.02 by selecting upgrade option, it say completed but I get this error on SQL. So this mean maybe the upgrade doesn't go through. Any reason Why?
Error performing MySQL command: INSERT INTO pp_settings VALUES (251, 'Number of thumbnail preview columns?', 'previewcols', 'Can be 1 or 3.', '3', 33, 5)
Error: Duplicate entry '251' for key 'PRIMARY'
Error performing MySQL command: INSERT INTO pp_settings VALUES (252, 'Border color of currently showing thumbnail in thumbnail preview column?', 'selectcolor', '', '#00cc00', 34, 5)
Error: Duplicate entry '252' for key 'PRIMARY'
Error performing MySQL command: INSERT INTO pp_settings VALUES (254, 'Path to ffmpeg (if used)', 'ffmpeg', 'This only needs to be set if you are using ffmpeg to extract video thumbnails. Full server path.', '/usr/bin/ffmpeg', 31, 1)
Error: Duplicate entry '254' for key 'PRIMARY'
Error performing MySQL command: INSERT INTO pp_settings VALUES (253, 'SEO meta description for index page?', 'seoindex', '', 'A community photo gallery', 19, 3)
Error: Duplicate entry '253' for key 'PRIMARY'
October 12th, 2010, 04:07 PM
duplicate errors simply mean you ran the upgrades.
I was more referring to the files. You need to upload everything except the install file and 2 config files.
October 12th, 2010, 05:20 PM
You the man :) It is working now :) The only problem how come all the member profile got an X?
Message - KC Gallery (http://www.khmerclub.com/gallery/showphoto.php?photo=1228)
I had created a test login for you if you can test it out.
October 12th, 2010, 06:19 PM
make sure in your forum settings in admin your forum url is correct.
Yours is not correct.
October 12th, 2010, 07:48 PM
Chuck, I don't have a folder called 'forum". This is the path to my forum.
October 12th, 2010, 07:53 PM
Chuck, I got it work now by login photophost and edit admin-index.php just to khmerclub.com for forum. The only problem I noticed when I sign out from my page I get this error:
You can use to the test account and see why I get that message.
Fatal error: Please check the $bitfields array in the vB_DataManager_Moderator class definition - $vbulletin->bf_misc_moderatorpermissions2 is not a valid bitfield.
in [path]/includes/class_dm.php on line 220
October 12th, 2010, 08:01 PM
I am not sure what your talking about with that vb error?
I can log in and log out.
October 12th, 2010, 08:04 PM
Chuck, I just noticed it only happen to the account that i login as admincp. Any other account don't have admin right it doesn't happen. Do you know why?
October 12th, 2010, 08:49 PM
chuck , I just copied my xml from vb file to my include/xml it seem to fix this problem.
Another problem I'm having how come my featured gallery image is blank? Also there an x on the icon? If you click on the photo it open fine?
Lives Khmer MP3 Song , Karaoke, News, Forums, Games, Photo, Video and More!!! (http://www.khmerclub.com/)
October 12th, 2010, 10:11 PM
we do not have any code in our program that shows on vb
you must be using some hack and if so you sure your using the correct hacks for vb4?
My suggestion would be to check out the mod forms for compatible vb4 hacks.
October 13th, 2010, 02:55 PM
Chuck, actually it was use from VB 3.68 until I upgraded to 4.07 it doesn't work. I thought there a CMPS module for that support 4.0.
October 13th, 2010, 03:52 PM
There are hacks for vbulletin 4 located and stickied in the photopost mod forum.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.