PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old April 27th, 2010, 10:17 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2009
Posts: 13
Converting from CP1251 to UTF8

There was a problem after database converting from CP1251 to UTF8. While cache of categories updating an error occurs:

Code:
Content visible to verified customers only.
Please, somebody knows how to fix it?

Last edited by alv2937; April 27th, 2010 at 10:22 AM.
alv2937 is offline   Reply With Quote
Old April 27th, 2010, 10:48 AM   #2 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
I also encoutered that error, and fixed it on my install...
(strange enough it came long time after i moved to UTF-8)
somehow the gallery options are not passed on.. dont ask me why...

as a quickfix:
open forum/includes/functions_gallery.php
find this:
Code:
Content visible to verified customers only.
Just Above (!) add

Code:
Content visible to verified customers only.
That should get you running again..

Luc

PS: In my case it came from the fact that i was calling the function from outside gallery...(in a hack) so its normal but in your case the ppg_options should be there...
Are you sure everything went right while updating your database to utf-8? are all text fields utf-8_general_ci? Also I experienced some problem when using mysql vs. mysqli in php
Also I had some post problem when I had saved a php file in UTF-8... (that made the zip compression stall) - so the php files had to stay ansi..

Last edited by Luciano; April 27th, 2010 at 10:57 AM.
Luciano is offline   Reply With Quote
Old April 27th, 2010, 12:12 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2009
Posts: 13
All tables of a database are utf-8_general_ci

There was no problems at conversion procedure. Our forum is international, and we should upgrade to utf-8_general_ci in any case, so we prepared for it.

The fix that you gave me has helped me for this function, but the same problem appears when calling in a photo gallery.

Whether is it possible, that you have looked at this error?

I'll inform a login and password to you.
alv2937 is offline   Reply With Quote
Old April 27th, 2010, 01:29 PM   #4 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
question: how did you prepare?
i can take a look if you want.. anytime..
Luc
Luciano is offline   Reply With Quote
Old April 27th, 2010, 02:35 PM   #5 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
you can now remove the fix...
if anybody is interested what the problem was.. the settings could not be fetched from datastore because of db changes...
saving the settings twice.. forced the datastore to be regenerated ...
seems to work now

Luc
Luciano 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
classifieds and utf8 errors in characters yahoooh Classifieds Bug Reports 3 August 20th, 2008 11:56 AM
classifieds amd utf8 errors in characters yahoooh Classifieds How do I...? 1 August 18th, 2008 07:44 AM
Converting From IPB to vBulletin dieselpowered Photopost Pro Installation & Upgrades 1 March 27th, 2007 01:41 PM


All times are GMT -5. The time now is 08:24 AM.

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