Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,871
    Plugin Contributions
    96

    Default utf-8: Developers Tool Kit not finding strings?

    I've got a v1.5.0 test installation that I made as "fully" utf-8 (utf8_general_ci collation, DB_CHARSET=utf8, CHARSET=utf-8 in both catalog & admin english.php files). No plugins (yet), just a non-intrusive template add-on.

    I was poking around, searching for which file(s) use the TEXT_EMAIL_MESSAGE_ADMIN_SETTINGS_CHANGED define, plugged that value into the Key or Name to Lookup in all files, Catalog/Admin, .php only, not case sensitive ... punched Search and the only file found was /MYADMIN/includes/languages/english/modules.php. Thinking that was a bit funny, I opened /MYADMIN/modules.php up in NotePad++ and there's the string (on line 72).

    Has anyone else run into this? Is there some system setting (I'm running XAMPP 1.7.4 on Win7-Ultimate-64-bit) that needs changing?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: utf-8: Developers Tool Kit not finding strings?

    I know I have v1.5 on a lot of different servers that are clean, demo install with utf-8 (utf8_general_ci collation, DB_CHARSET=utf8, CHARSET=utf-8) that have no issues ...

    I have several v1.5 that are upgrade but set to (latin1_swedish_ci, DB_CHARSET = latin1, CHARSET = iso-8859-1) that have no issues ...

    They pull up:
    Code:
    /includes/languages/english/modules.php
    
    Line #23 : define('TEXT_EMAIL_MESSAGE_ADMIN_SETTINGS_CHANGED', 'This is an automated email from your Zen Cart store to alert you of a change that was just made to your administrative settings: ' . "\n\n" . 'NOTE: Admin settings have been CHANGED for the [%s] module, by your Zen Cart admin user %s.' . "\n\n" . 'If you did not initiate these changes, it is advisable that you verify the settings immediately.' . "\n\n" . 'If you are already aware of these changes, you can ignore this automated email.');
     
    /your_secret_admin/modules.php
    
    Line #71 : $msg = sprintf(TEXT_EMAIL_MESSAGE_ADMIN_SETTINGS_CHANGED, preg_replace('/[^\d\w]/', '*', $_GET['module']), $admname);
    I do not use XAMPP, so I do not know if there are issues or not on that ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,871
    Plugin Contributions
    96

    Default Re: utf-8: Developers Tool Kit not finding strings?

    Thanks for the reply, Ajeh. I'll poke around some more ...

  4. #4
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: utf-8: Developers Tool Kit not finding strings?

    Quote Originally Posted by lat9 View Post
    I've got a v1.5.0 test installation that I made as "fully" utf-8 (utf8_general_ci collation, DB_CHARSET=utf8, CHARSET=utf-8 in both catalog & admin english.php files). No plugins (yet), just a non-intrusive template add-on.

    I was poking around, searching for which file(s) use the TEXT_EMAIL_MESSAGE_ADMIN_SETTINGS_CHANGED define, plugged that value into the Key or Name to Lookup in all files, Catalog/Admin, .php only, not case sensitive ... punched Search and the only file found was /MYADMIN/includes/languages/english/modules.php. Thinking that was a bit funny, I opened /MYADMIN/modules.php up in NotePad++ and there's the string (on line 72).

    Has anyone else run into this? Is there some system setting (I'm running XAMPP 1.7.4 on Win7-Ultimate-64-bit) that needs changing?

    I'm having the same problem on one of my sites.

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: utf-8: Developers Tool Kit not finding strings?

    I have a UTF-8 site and whether using Xampp 1.73 or 1.81 it finds the two instances.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. Replies: 5
    Last Post: 1 Aug 2016, 04:31 PM
  2. Developers Tool Kit not working after upgrade to 1.3.9h
    By fireclouddesign in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 17 Sep 2011, 06:54 PM
  3. Trying to get rid of "lbs" from php files - developers tool kit not finding it.
    By mtimber in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 26 Oct 2008, 10:13 PM
  4. Developers Tool Kit not working
    By podgerkev in forum General Questions
    Replies: 5
    Last Post: 8 Dec 2006, 07:29 AM
  5. text string not coming up in developers tool kit
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 13 Aug 2006, 07:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg