Forums / Upgrading to 1.5.x / Since upgrade, I can't edit some (not all) product descriptions -

Since upgrade, I can't edit some (not all) product descriptions -

Started by thelorus on 17 Nov 2012, 5:28 PM · Views: 788

Results 1 to 6 of 6
17 Nov 2012, 5:28 PM
#1
thelorus avatar

thelorus

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Since upgrade, I can't edit some (not all) product descriptions -

and the ones I want to edit are the ones that have suddenly appeared in a large font size and a different colour from the rest! Since the upgrade, most of my product descriptions have remained the same, and are editable. But the rogue ones are un-editable. If I adjust the font size and color, and click update, they still appear in the online catalogue as they did before I tried to change them. Any ideas please? Many thanks -

17 Nov 2012, 7:12 PM
#2
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Since upgrade, I can't edit some (not all) product descriptions -

your best start is to post a link and give more details of your upgrade.

19 Nov 2012, 8:45 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

Re: Since upgrade, I can't edit some (not all) product descriptions -

You should also check if your database and language files have the same character set. utf8, or some other, but they should match.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 Jul 2013, 12:38 PM
#4
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Since upgrade, I can't edit some (not all) product descriptions -

hi dbltoe & picandnix,
thanks for the replies guys here is the site location:
http://www.newzctest.brookwater.co.uk/
I had changed the utf8 to latin1 on both confige files, so did not expect to see the following entries, when i did a quick search for utf8 via the developer tool page, found this:

(on includes/functions/functions-general.php)

*/
 function charsetConvertWinToUtf8($string) {
   if (function_exists('iconv')) $string = iconv("Windows-1252", "ISO-8859-1//IGNORE", $string);
   $string = htmlentities($string, ENT_QUOTES, 'UTF-8');
   return $string;
 }
/**
* Convert supplied string to/from entities between charsets, to sanitize data from payment gateway
* @param $string
* @return string
*/
 function charsetClean($string) {
   if (CHARSET == 'UTF-8') return $string;
   if (function_exists('iconv')) $string = iconv("Windows-1252", CHARSET . "//IGNORE", $string);
   $string = htmlentities($string, ENT_QUOTES, 'UTF-8');
   $string = html_entity_decode($string, ENT_QUOTES, CHARSET);
   return $string;
 }

is this a red herring? should i change the utf8 to latin1 (is that right btw, latin1 not latin-1?)

thanks in advance, :smile:

ps: should mention it is not all of the files, just a few here & there, but having to check every single file will take forever, (600+ items.....:no: groan...)

18 Jul 2013, 12:51 PM
#5
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Since upgrade, I can't edit some (not all) product descriptions -

Hi dbltow,
i have checked the mysql files & the coding is: utf8_general_ci
there is obviously something I need to do about this should i change the database setting to latin1? (same as confige files) ?

thanks again in advance...

ps: just a further thought, if i do this the other sites using this DB would be affected right? I also have the database for piwik installed as well, (piwik btw is great & a snap to install, much, much better than google analytic, much more accurate too.)

18 Jul 2013, 1:45 PM
#6
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Since upgrade, I can't edit some (not all) product descriptions -

Ok,
problem solved, UTF8 in database (btw, can have individual databases' designated to different coding, did not know that) & UTF8 in configure files (admin & includes) the whole latin1 thing (for me at least) was a blind alley. thanks for help guys, nudgedme in the right direction.

regards to all,

VO