Hi,
I took a small export utility to add my producs to a catalogue (leguide.com)
the code I use is located at
http://img.leguide.com/extranet/expo...ide_csv_fr.zip
reading the code I see that
with default language it works right
as stated in the code
PHP Code:
if (isset ($_GET['language']) && isset ($accepted_languages[strtolower ($_GET['language'])]))
$language_code = strtolower ($_GET['language']) ;
else
$language_code = DEFAULT_LANGUAGE ;
$languages_id = $accepted_languages[$language_code] ;
unset ($accepted_languages) ;
if I don't put any GET variable I'll use my shop default language (italian)
now I was trying to do the export of the catalogue in english and in french
so I opened firefox trying to do
http://myshop.com/leguide.php?language=fr
and it worked right
while
http://myshop.com/leguide.php?language=en
doesn't work at all
attached is the debug autoload I get from the three attempt (it,fr,en)
The attachment is a zip file with three txt (dump of the three request)
http://myshop.com/leguide.php?language=it
http://myshop.com/leguide.php?language=fr
http://myshop.com/leguide.php?language=en
it's clear that something wrong happens in
actionPoint=>110 include('includes/init_includes/init_templates.php');
actionPoint=>120 $_SESSION[navigation]->add_current_page();
while language=en is in $_GET
but I've no clue on where to search
thanks for any help
Bookmarks