Forums / All Other Contributions/Addons / Multi-Language Support for EZ-Pages

Multi-Language Support for EZ-Pages

Views: 91,636

Results 261 to 280 of 298
20 Jan 2015, 8:04 PM
#261
dre avatar

dre

New Zenner

Join Date:
Mar 2006
Location:
The Netherlands
Posts:
92
Plugin Contributions:
0

Multi-Language Support for EZ-Pages

fixed it with:

$page_query = $db->Execute("SELECT e.*, et.pages_title
                            FROM  " . TABLE_EZPAGES . " e 
                              LEFT JOIN " . TABLE_EZPAGES_TEXT . " et ON (e.pages_id = et.pages_id)
                            WHERE et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
                                AND e.status_footer = 1
                                AND e.footer_sort_order > 0
                            ORDER BY e.header_sort_order, et.pages_title");
27 Jan 2015, 3:04 PM
#262
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I use 1.5.4

Nobody to take charge of the package? My background is unfortunately not sufficient....

27 Jan 2015, 3:15 PM
#263
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi-Language Support for EZ-Pages

kalastaja:

I use 1.5.4

Nobody to take charge of the package? My background is unfortunately not sufficient....

You can use the existing mod for zc 1.5.4

27 Jan 2015, 3:55 PM
#264
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

What is the "CUSTOM" folder (in modules) supposed to be?

27 Jan 2015, 4:00 PM
#265
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi-Language Support for EZ-Pages

kalastaja:

What is the "CUSTOM" folder (in modules) supposed to be?

"CUSTOM" is another variation of "YOUR_TEMPLATE", or in other words rename that folder to the name of your own template

27 Jan 2015, 4:50 PM
#266
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

This is new:> $sql = "select * from " . TABLE_EZPAGES . " where pages_id = " . (int)$ezpage_id;

// comment the following line to allow access to pages which don't have a status switch set to Yes:
$sql .= " AND (status_toc > 0 or status_header > 0 or status_sidebox > 0 or status_footer > 0)";

// Check to see if page exists and is accessible, retrieving relevant details for display if found
$var_pageDetails = $db->Execute($sql);
// redirect to home page if page not found (or deactivated/deleted):
if ($var_pageDetails->EOF) {
require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
$messageStack->add_session('header', ERROR_PAGE_NOT_FOUND, 'caution');
header('HTTP/1.1 404 Not Found');
zen_redirect(zen_href_link(FILENAME_DEFAULT));
}
This is old:> $var_pageDetails = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.header_sort_order, e.sidebox_sort_order,
e.footer_sort_order, e.toc_sort_order, e.toc_chapter, e.status_header, e.status_sidebox, e.status_footer, status_toc, et.pages_title,
et.pages_html_text
from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
where e.pages_id = et.pages_id
and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
and e.pages_id = " . (int)$ezpage_id );
How should I merge?

27 Jan 2015, 4:57 PM
#267
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi-Language Support for EZ-Pages

kalastaja:

This is new:
This is old:
How should I merge?

This is what I made of it in my "public_html/includes/modules/pages/page/header_php.php"

<?php

/**
 * ez_pages ("page") header_php.php
 *
 * @package page
 * @copyright Copyright 2003-2014 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version GIT: $Id: Author: DrByte  Jun 1 2014 -0500 Modified in v1.5.3 $
 * @version $Id: header_php.php 4881 2006-11-04 17:51:31Z ajeh $
 * @modified from standard file to provide multi-language support
 */
/*
 * This "page" page is the display component of the ez-pages module
 * It is called "page" instead of "ez-pages" due to the way the URL would display in the browser
 * Aesthetically speaking, "page" is more professional in appearance than "ez-page" in the URL
 *
 * The EZ-Pages concept was adapted from the InfoPages contribution for Zen Cart v1.2.x, with thanks to Sunrom et al.
 */

// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_EZPAGE');

$ezpage_id = (int)$_GET['id'];
if ($ezpage_id == 0) {
  zen_redirect(zen_href_link(FILENAME_DEFAULT));
}

$chapter_id = (int)$_GET['chapter'];
$chapter_link = (int)$_GET['chapter'];

//die('I SEE ' . $ezpage_id . ' - ' . $group_id);
//die('I SEE ' . $ezpage_id . ' - ' . $chapter_id);

$sql = "SELECT *
        FROM " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
        WHERE e.pages_id = et.pages_id
        AND et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
        AND e.pages_id = " . (int)$ezpage_id;
// comment the following line to allow access to pages which don't have a status switch set to Yes:
$sql .= " AND (status_toc > 0
            or status_header > 0
            or status_sidebox > 0
            or status_footer > 0)";

// Check to see if page exists and is accessible, retrieving relevant details for display if found
$var_pageDetails = $db->Execute($sql);
// redirect to home page if page not found (or deactivated/deleted):
if ($var_pageDetails->EOF) {
  require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
  $messageStack->add_session('header', ERROR_PAGE_NOT_FOUND, 'caution');
  header('HTTP/1.1 404 Not Found');
  header('Status: 404 Not Found');
  zen_redirect(zen_href_link(FILENAME_DEFAULT));
}

//check db for prev/next based on sort orders
$pos = (isset($_GET['pos'])) ? $_GET['pos'] : 'v';  // v for vertical, h for horizontal  (v assumed if not specified)
$vert_links = array();
$toc_links = array();
//  $pages_order_query = "SELECT pages_id FROM " . TABLE_EZPAGES . " WHERE status = 1 and vertical_sort_order <> 0 ORDER BY vertical_sort_order, horizontal_sort_order, pages_title";
//  $pages_order_query = "SELECT * FROM " . TABLE_EZPAGES . " WHERE ((status_sidebox = 1 and sidebox_sort_order <> 0) or (status_footer = 1 and footer_sort_order <> 0) or (status_header = 1 and header_sort_order <> 0)) and alt_url_external = '' ORDER BY header_sort_order, sidebox_sort_order, footer_sort_order, pages_title";
// next query modified for multi-language support
$pages_order_query = "SELECT *
                      FROM  " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et 
                      WHERE ((status_toc = 1 and toc_sort_order <> 0) and toc_chapter= :chapterID )
                      AND alt_url_external = '' and alt_url = ''
                      AND et.languages_id = '" . (int)$_SESSION['languages_id'] . "' 
                      AND e.pages_id = et.pages_id
                      ORDER BY toc_sort_order, et.pages_title";
// end modification

$pages_order_query = $db->bindVars($pages_order_query, ':chapterID', $chapter_id, 'integer');
$pages_ordering = $db->execute($pages_order_query);

while (!$pages_ordering->EOF) {
  $vert_links[] = $pages_ordering->fields['pages_id'];
  $toc_links[] = array('pages_id' => $pages_ordering->fields['pages_id'], 'pages_title' => $pages_ordering->fields['pages_title']);
  $pages_ordering->MoveNext();
}

/*
  //  $pages_order_query = "SELECT pages_id FROM " . TABLE_EZPAGES . " WHERE status = 1 and horizontal_sort_order <> 0 ORDER BY horizontal_sort_order, pages_title";
  $pages_order_query = "SELECT * FROM " . TABLE_EZPAGES . " WHERE status_footer = 1 and footer_sort_order <> 0 and alt_url_external = '' ORDER BY footer_sort_order, pages_title";
  $pages_ordering = $db->execute($pages_order_query);
  while (!$pages_ordering->EOF) {
  $horiz_links[] = $pages_ordering->fields['pages_id'];
  $pages_ordering->MoveNext();
  }
 */
// now let's determine prev/next
reset($vert_links);
$counter = 0;
$previous_v = -1;
$last_v = 0;
$previous_vssl = '0';
$next_item_v = 0;
$next_vssl = 0;
while (list($key, $value) = each($vert_links)) {
  if ($value == $ezpage_id) {
    $position_v = $counter;
    $previous_vssl = '0';
    if ($key == 0) {
      $previous_v = -1; // it was the first to be found
    } else {
      $previous_v = $vert_links[$key - 1];
    }
    $next_vssl = '0';
    if ($vert_links[$key + 1]) {
      $next_item_v = $vert_links[$key + 1];
    } else {
      $next_item_v = $vert_links[0];
    }
  }
  $last_v = $value;
  $counter++;
}
if ($previous_v == -1) {
  $previous_v = $last_v;
}

/*
  //prev/next for horiz now
  reset ($horiz_links);
  $counter = 0;
  while (list($key, $value) = each ($horiz_links)) {
  if ($value == $ezpage_id) {
  $position_h = $counter;
  $previous_hssl = '0';
  if ($key == 0) {
  $previous_h = -1; // it was the first to be found
  } else {
  $previous_h = $horiz_links[$key - 1];
  }
  $next_hssl = '0';
  if ($horiz_links[$key + 1]) {
  $next_item_h = $horiz_links[$key + 1];
  } else {
  $next_item_h = $horiz_links[0];
  }
  }
  $last_h = $value;
  $counter++;
  }
  if ($previous_h == -1) $previous_h = $last_h;
 */

if (!isset($pos) || empty($pos) || $pos == 'v') {
  $prev_link = zen_href_link(FILENAME_EZPAGES, 'id=' . $previous_v . '&pos=v' . '&chapter=' . $chapter_link, ($previous_vssl == '0' ? 'NONSSL' : 'SSL'));
  $next_link = zen_href_link(FILENAME_EZPAGES, 'id=' . $next_item_v . '&pos=v' . '&chapter=' . $chapter_link, ($next_vssl == '0' ? 'NONSSL' : 'SSL'));
} else {
  $prev_link = zen_href_link(FILENAME_EZPAGES, 'id=' . $previous_h . '&pos=h' . '&chapter=' . $chapter_link, ($previous_hssl == '0' ? 'NONSSL' : 'SSL'));
  $next_link = zen_href_link(FILENAME_EZPAGES, 'id=' . $next_item_h . '&pos=h' . '&chapter=' . $chapter_link, ($next_hssl == '0' ? 'NONSSL' : 'SSL'));
}



$previous_button = zen_image_button(BUTTON_IMAGE_PREVIOUS, BUTTON_PREVIOUS_ALT);
$next_item_button = zen_image_button(BUTTON_IMAGE_NEXT, BUTTON_NEXT_ALT);
$home_button = zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT);


// set Page Title for heading, navigation, etc
define('NAVBAR_TITLE', $var_pageDetails->fields['pages_title']);
define('HEADING_TITLE', $var_pageDetails->fields['pages_title']);
$breadcrumb->add($var_pageDetails->fields['pages_title']);

require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));



// Pull settings from admin switches to determine what, if any, header/column/footer "disable" options need to be set
// Note that these are defined normally under Admin->Configuration->EZ-Pages-Settings
if (!defined('EZPAGES_DISABLE_HEADER_DISPLAY_LIST')) {
  define('EZPAGES_DISABLE_HEADER_DISPLAY_LIST', '');
}
if (!defined('EZPAGES_DISABLE_FOOTER_DISPLAY_LIST')) {
  define('EZPAGES_DISABLE_FOOTER_DISPLAY_LIST', '');
}
if (!defined('EZPAGES_DISABLE_LEFTCOLUMN_DISPLAY_LIST')) {
  define('EZPAGES_DISABLE_LEFTCOLUMN_DISPLAY_LIST', '');
}
if (!defined('EZPAGES_DISABLE_RIGHTCOLUMN_DISPLAY_LIST')) {
  define('EZPAGES_DISABLE_RIGHTCOLUMN_DISPLAY_LIST', '');
}
if ($ezpage_id > 0) {
  if (in_array($ezpage_id, explode(",", EZPAGES_DISABLE_HEADER_DISPLAY_LIST)) || strstr(EZPAGES_DISABLE_HEADER_DISPLAY_LIST, '*')) {
    $flag_disable_header = true;
  }
  if (in_array($ezpage_id, explode(",", EZPAGES_DISABLE_FOOTER_DISPLAY_LIST)) || strstr(EZPAGES_DISABLE_FOOTER_DISPLAY_LIST, '*')) {
    $flag_disable_footer = true;
  }
  if (in_array($ezpage_id, explode(",", EZPAGES_DISABLE_LEFTCOLUMN_DISPLAY_LIST)) || strstr(EZPAGES_DISABLE_LEFTCOLUMN_DISPLAY_LIST, '*')) {
    $flag_disable_left = true;
  }
  if (in_array($ezpage_id, explode(",", EZPAGES_DISABLE_RIGHTCOLUMN_DISPLAY_LIST)) || strstr(EZPAGES_DISABLE_RIGHTCOLUMN_DISPLAY_LIST, '*')) {
    $flag_disable_right = true;
  }
}
// end flag settings for sections to disable
// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_EZPAGE');
27 Jan 2015, 5:09 PM
#268
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Is there any database issues - if I now apply the (code) changes to my site?

27 Jan 2015, 5:13 PM
#269
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I got a > EZ-Pages Select a page ...

WARNING: An Error occurred, please refresh the page and try again.on> http://localhost/test/admin/ezpages.php
Have done code additions/alterations as per plugin and corrections below!

Couldn't enter the whole ezpages.php file!

27 Jan 2015, 6:28 PM
#272
kalastaja avatar

kalastaja

Zen Follower

Join Date:
Mar 2010
Location:
Finland
Posts:
465
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Got caught up in the merging of new and old. Now the issue is resolved. Thank's for your guidance.

20 Sep 2015, 9:09 PM
#273
reneetje avatar

reneetje

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

After installing 1.5.4 (it is live and working properly) with ez-pages I have only these logfiles left.....and I cannot seem to find the ways how to fix these here on the forum..all help is appreciated!

PHP Warning: trim() expects parameter 1 to be string, array given in D:\www\blabla\www\blabla\admin\ezpages.php on line 140
PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in D:\www\blabla.nl\www\blabla\includes\classes\db\mysql\query_factory.php on line 115

I hope someone is able to offer the solution for one or both of these warnings, it would be great to have no log-files at all, right :)

René

21 Sep 2015, 6:57 AM
#274
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi-Language Support for EZ-Pages

If I am correct those lines around 140 in YOUR_ADMIN/ezpage.php, look now like this

      if ($pages_html_text != '' and strlen(trim($pages_html_text)) > 6) {
        $zv_link_method_cnt++;
      }

try changing it to

      for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
        if ($pages_html_text[$languages[$i]['id']] != '' and strlen(trim($pages_html_text[$languages[$i]['id']])) > 6) {
          $zv_link_method_cnt++;
        }
      }
21 Sep 2015, 1:51 PM
#275
reneetje avatar

reneetje

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

@Design75

Thank you very much for your information, ezpages.php file is now changed...now wait and see if any log-files will still appear, but I guess not :)

René

7 Nov 2015, 5:30 AM
#276
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Multi-Language Support for EZ-Pages

Design75:

If I am correct those lines around 140 in YOUR_ADMIN/ezpage.php, look now like this

  if ($pages_html_text != '' and strlen(trim($pages_html_text)) > 6) {
    $zv_link_method_cnt++;
  }
> try changing it to
> ```php
      for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
        if ($pages_html_text[$languages[$i]['id']] != '' and strlen(trim($pages_html_text[$languages[$i]['id']])) > 6) {
          $zv_link_method_cnt++;
        }
      }

Minor correction to the above because the line(s) that follow are a check against $zv_link_method_cnt to ensure that there is one and only one assignment to any of html_text, an internal link, or an external link. If two or more of those have an assignment then an error message is presented.

Because in this multi-language module there is only one aspect that is multi-language (the html_text) and not a different option for each of the above three, then if any of the three are populated then none of the other three should be. Therefore in the replacement code, if any of the language text boxes are populated (need not be all of them) then don't increment $zv_link_method_cnt any more after the first time it is incremented (break)...

In YOUR_ADMIN/ezpage.php, "looked" like this

      if ($pages_html_text != '' and strlen(trim($pages_html_text)) > 6) {
        $zv_link_method_cnt++;
      }

should be changed to:

      for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
        if ($pages_html_text[$languages[$i]['id']] != '' and strlen(trim($pages_html_text[$languages[$i]['id']])) > 6) {
          $zv_link_method_cnt++;
          break;
        }
      }

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

7 Nov 2015, 5:52 AM
#277
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Multi-Language Support for EZ-Pages

Reneetje:

After installing 1.5.4 (it is live and working properly) with ez-pages I have only these logfiles left.....and I cannot seem to find the ways how to fix these here on the forum..all help is appreciated!

PHP Warning: trim() expects parameter 1 to be string, array given in D:\www\blabla\www\blabla\admin\ezpages.php on line 140
PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in D:\www\blabla.nl\www\blabla\includes\classes\db\mysql\query_factory.php on line 115

I hope someone is able to offer the solution for one or both of these warnings, it would be great to have no log-files at all, right :)

René

Found to have the same error message (different line number) while trying to verify that this was installed into a ZC 1.5.4 system. Occurred when I was trying to store an EZ-Page that had an html message populated in both of the available language boxes. When I returned to review the status of the ez-page, all of the content was missing because of the error stopping any further data storage. So, this is what I did to resolve it. FYI, system used has PHP 5.3.29.

Where this code was as below:

        if ($zv_link_method_cnt > 1) {
          $messageStack->add(ERROR_MULTIPLE_HTML_URL, 'error');
          $page_error = true;
        }

        if ($page_error == false) {
          $sql_data_array = array('pages_title' => $pages_title,
                                  'page_open_new_window' => $page_open_new_window,
                                  'page_is_ssl' => $page_is_ssl,
                                  'alt_url' => $alt_url,
                                  'alt_url_external' => $alt_url_external,
                                  'status_header' => $status_header,
                                  'status_sidebox' => $status_sidebox,
                                  'status_footer' => $status_footer,
                                  'status_toc' => $status_toc,
                                  'header_sort_order' => $pages_header_sort_order,
                                  'sidebox_sort_order' => $pages_sidebox_sort_order,
                                  'footer_sort_order' => $pages_footer_sort_order,
                                  'toc_sort_order' => $pages_toc_sort_order,
                                  'toc_chapter' => $toc_chapter,
                                  'pages_html_text' => $pages_html_text);

          if ($action == 'insert') {
            zen_db_perform(TABLE_EZPAGES, $sql_data_array);
            $pages_id = $db->insert_ID();
            $languages = zen_get_languages();
            $pages_title_array = zen_db_prepare_input($_POST['pages_title']);

It was modified to the below:

        if ($zv_link_method_cnt > 1) {
          $messageStack->add(ERROR_MULTIPLE_HTML_URL, 'error');
          $page_error = true;
        }

        if ($page_error == false) {
          $sql_data_array = array('pages_title' => $pages_title[$languages[0]['id']],
                                  'page_open_new_window' => $page_open_new_window,
                                  'page_is_ssl' => $page_is_ssl,
                                  'alt_url' => $alt_url,
                                  'alt_url_external' => $alt_url_external,
                                  'status_header' => $status_header,
                                  'status_sidebox' => $status_sidebox,
                                  'status_footer' => $status_footer,
                                  'status_toc' => $status_toc,
                                  'header_sort_order' => $pages_header_sort_order,
                                  'sidebox_sort_order' => $pages_sidebox_sort_order,
                                  'footer_sort_order' => $pages_footer_sort_order,
                                  'toc_sort_order' => $pages_toc_sort_order,
                                  'toc_chapter' => $toc_chapter,
                                  'pages_html_text' => $pages_html_text[$languages[0]['id']]);

          if ($action == 'insert') {
            zen_db_perform(TABLE_EZPAGES, $sql_data_array);
            $pages_id = $db->insert_ID();
            $languages = zen_get_languages();
            $pages_title_array = zen_db_prepare_input($_POST['pages_title']);

What this does is ensure that TABLE_EXPAGES has the data of the first language box, but doesn't send the two fields as an array and addressed the reported error.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Oct 2016, 9:19 PM
#278
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi-Language Support for EZ-Pages

Version 1.6 has een submitted to the plugins section, and will be available once released.

  • Files updated files for Zen Cart 1.5.5a
  • Renamed CUSTOM folders to YOUR_TEMPLATE
  • Renamed admin folder to YOUR_ADMIN
  • Updated some sql queries
  • Added comments to mark code change more clearly
18 Mar 2017, 3:29 PM
#279
darkmen avatar

darkmen

New Zenner

Join Date:
Jan 2013
Posts:
45
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Dear Friends,
I would like to ask. I installed this module to ZC 1.5.5, made everything as author write in README file and now, when I click to EZ page name (in header or footer menu), web write only: WARNING: An Error occurred, please refresh the page and try again.
I tried complete clear of EZPAGES tables in SQL, but there is no change.

I really don't know, what to do. Can someone help me? Thanks in advance

18 Mar 2017, 3:36 PM
#280
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Multi-Language Support for EZ-Pages

@DarkMan, when you see the message WARNING: An Error occurred, please refresh the page and try again., there is a myDEBUG-*.log file present in your /logs directory that contains the details of the error.

Note: If a file's name starts with myDEBUG-adm-, then that file identifies an admin-related issue and includes your secret admin folder name. If you post the contents of one of those files (using the #/CODE button in the menu-bar when you are writing your post), make sure to xxx-out that admin-folder-name!