PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Problem upgrading from 6.01 to new version (http://www.photopost.com/forum/photopost-pro-installation-upgrades/144225-problem-upgrading-6-01-new-version.html)

angkor408 October 12th, 2010 11:44 AM

Problem upgrading from 6.01 to new version
 
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


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

Chuck S October 12th, 2010 02: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.

angkor408 October 12th, 2010 02: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'

Chuck S October 12th, 2010 03: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.

angkor408 October 12th, 2010 04:20 PM

You the man :) It is working now :) The only problem how come all the member profile got an X?

Message - KC Gallery

I had created a test login for you if you can test it out.

username: test
password: test123

Thanks.

Chuck S October 12th, 2010 05:19 PM

make sure in your forum settings in admin your forum url is correct.

Yours is not correct.

angkor408 October 12th, 2010 06:48 PM

Chuck, I don't have a folder called 'forum". This is the path to my forum.

KHMERCLUB.COM

angkor408 October 12th, 2010 06: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

Chuck S October 12th, 2010 07:01 PM

I am not sure what your talking about with that vb error?

I can log in and log out.

angkor408 October 12th, 2010 07: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?

angkor408 October 12th, 2010 07: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!!!

Chuck S October 12th, 2010 09: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.

angkor408 October 13th, 2010 01: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.

Chuck S October 13th, 2010 02:52 PM

There are hacks for vbulletin 4 located and stickied in the photopost mod forum.


All times are GMT -5. The time now is 03:10 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97