Results 1 to 10 of 298

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Templeton, CA
    Posts
    7
    Plugin Contributions
    0

    Default Re: Multi-Language Support for EZ-Pages

    Hello,

    I had a problem with this module in the following scenario:

    1) I installed the module
    2) I added a new language
    3) I attempted to edit an existing ez page

    The new translation would not be updated when submitting my changes. I believe I've resolved the issue by adding the following code to the /admin/ezpages.php file at about line 193 ...

    PHP Code:
            /** added by applynx -- inserts text if new language **/
          
    $page_query "select * from " TABLE_EZPAGES_TEXT " where pages_id = '" $pages_id "' AND languages_id= '" $language_id "'";
          
    $page $db->Execute($page_query);
          if (
    $page->RecordCount() == 0) {
            
    $sql_data_array['pages_id'] = $pages_id;
            
    $sql_data_array['languages_id'] = $language_id;
            
    zen_db_perform(TABLE_EZPAGES_TEXT$sql_data_array);
          }
          
    /** end applynx modification **/ 
    This message applies to Zen Cart 1.3.8a and Multi-Language EZ Page Support module 1.3.0.5v2.02

  2. #2
    Join Date
    Sep 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Multi-Language Support for EZ-Pages

    I use multilingual ez-pages with min. modification of zen cart and no mod installed.
    ZenCart - 1.3.8a
    DB encoding - utf8_unicode_ci
    site encoding - utf8
    changes in includes/modules/ezpages_bar_header(footer).php

    $lang = $_SESSION['languages_id'];
    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 and languages_id = $lang and header_sort_order > 0 order by header_sort_order, pages_title");

    I create 3 ezpages "Home" for 3 different languages with names and content, corresponding to each language and same sort order.
    There is in DB a "language_id" field (default=1). Change this value to 2, 3 etc. which is ID of desired language.
    I can add in admin few fields in EZpages - create/edit/control pages to enable choice, sort order and language select from admin, without direct edit of DB, but I have no time to do this.

    This works for me fine.

    Sorry if my post looks funny for you.

  3. #3
    Join Date
    Sep 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Multi-Language Support for EZ-Pages

    I installed the latest version. I read the readme.txt file and followed the instructions.

    After clicking install link from tools->install/uninstall multilanguage EZ-pages, all my Ez-pages links disappear from the header and footer and every where..

    I used fix/repair -link tools->install/uninstall multilanguage EZ-pages and I get:
    3 pages now need translations to be fixed from Admin > Tools > EZ-Pages.

    I have done all the translations but I keep getting the message when using fix/repair -link. And all the links stay invisible..

    Any help available??

    Thanks in advance!

  4. #4
    Join Date
    Nov 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Multi-Language Support for EZ-Pages

    Hello, I have installed the module. From the readme.txt I read this as installation instructions:
    Step 1. Go to Admin > Tools > Install/Uninstall Multi-Language EZ-Pages and click the link for Uninstall. This transfers page titles and html content for your default language back into the regular ezpages table, and then drops the ezpages_content table. After this step you MUST replace the file admin/ezpages.php with an original file from your Zen Cart installation package or your ezpages admin page WILL NOT FUNCTION.
    I go to the admin pangel, I see no "Install/Uninstall Multi-Language EZ-Pages" under "Tools" menu.

    When I go to E-Z Pages I get this error:

    1146 Table 'metrofarmacy.TABLE_EZPAGES_TEXT' doesn't exist
    in:
    [select count(*) as total from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2']
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    I need English/Greek support on my website but I'm a bit confused on how make this module work :-(

  5. #5
    Join Date
    Nov 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Multi-Language Support for EZ-Pages

    Quote Originally Posted by atmosx View Post
    Hello, I have installed the module. From the readme.txt I read this as installation instructions:


    I go to the admin pangel, I see no "Install/Uninstall Multi-Language EZ-Pages" under "Tools" menu.

    When I go to E-Z Pages I get this error:



    I need English/Greek support on my website but I'm a bit confused on how make this module work :-(

    I did a not install some files. Now works

  6. #6

    Default Re: Multi-Language Support for EZ-Pages

    Hello Everyone,

    Please help.

    I have a real problem here. My page and admin aren't accessible anymore...I didn't change any core files for at least one week now. Yesterday all worked:

    Here is the problem:

    When i open my site it says like this:


    TagLine Here

    1146 Table 'pasjazvezd_zvezda.TABLE_EZPAGES_TEXT' doesn't exist
    in:
    [select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.toc_chapter, et.pages_title from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2' and status_header = 1 and header_sort_order > 0 order by header_sort_order, pages_title]


    And if i open ADMIN PAGE:

    Warning: dir() has been disabled for security reasons in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php on line 22

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/functions/general.php on line


    Does anyone have any clue what is going on here. I allready tried to upload backup mysql base and core files for includes and whole admin core files, but it is the same... i am totally clueless...

    Regards,
    MAtic

  7. #7

    Default Re: Multi-Language Support for EZ-Pages

    SOLVED. My hosting provider increased security level on php and didn't told me :/

    Bye..




    Quote Originally Posted by RenStar View Post
    Hello Everyone,

    Please help.

    I have a real problem here. My page and admin aren't accessible anymore...I didn't change any core files for at least one week now. Yesterday all worked:

    Here is the problem:

    When i open my site it says like this:


    TagLine Here

    1146 Table 'pasjazvezd_zvezda.TABLE_EZPAGES_TEXT' doesn't exist
    in:
    [select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.toc_chapter, et.pages_title from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2' and status_header = 1 and header_sort_order > 0 order by header_sort_order, pages_title]


    And if i open ADMIN PAGE:

    Warning: dir() has been disabled for security reasons in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php on line 22

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/functions/general.php on line


    Does anyone have any clue what is going on here. I allready tried to upload backup mysql base and core files for includes and whole admin core files, but it is the same... i am totally clueless...

    Regards,
    MAtic

 

 

Similar Threads

  1. v150 EZ-Pages Meta tag fields + Multi-Language Support for EZ-Pages
    By ShopVille in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Nov 2012, 09:25 PM
  2. "Multi-Language Support for EZ-Pages" prints "Array" in Sidebox
    By andreas.hennig in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 13 Jul 2010, 08:23 AM
  3. multi language ez-pages doesnt work for me
    By bluesky2008 in forum Addon Language Packs
    Replies: 2
    Last Post: 31 Jul 2008, 04:23 PM
  4. multi language button image in header, links to multi language pages
    By bluesky2008 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Jul 2008, 04:14 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