Wingmanz Posted October 4, 2007 Share Posted October 4, 2007 Hello. I have 3 languages on my osCommerce installation. not default ones. but when i switch them and press any button to move to another page, language just switches back to default. i nearly found out the problem, but i need some more asistence, cuz i don`t know where to search. ok the problem is right here: http://page.com/product_info.php?products_...0cadf260f6fc7fd before osCsid there`s "? " but as far as i know PHP , there must be "&". when i change it, languages works. does anyone know where i can change this link, cuz it`s like global defined, but i don`t know where exactly.. P.S. and yes, i`m noob at PHP, so be gentle :D Really, waiting for answer! Link to comment Share on other sites More sharing options...
dessa Posted October 4, 2007 Share Posted October 4, 2007 Hello. I have 3 languages on my osCommerce installation. not default ones. but when i switch them and press any button to move to another page, language just switches back to default. i nearly found out the problem, but i need some more asistence, cuz i don`t know where to search. ok the problem is right here: http://page.com/product_info.php?products_...0cadf260f6fc7fd before osCsid there`s "? " but as far as i know PHP , there must be "&". when i change it, languages works. does anyone know where i can change this link, cuz it`s like global defined, but i don`t know where exactly.. P.S. and yes, i`m noob at PHP, so be gentle :D Really, waiting for answer! page.com ?:D Link to comment Share on other sites More sharing options...
Wingmanz Posted October 4, 2007 Author Share Posted October 4, 2007 well i just typed in something :D well there goes domain, but i don`t want the page to be public jet, so.... :) Link to comment Share on other sites More sharing options...
dessa Posted October 4, 2007 Share Posted October 4, 2007 well i just typed in something :D well there goes domain, but i don`t want the page to be public jet, so.... :) can u add a link ? so we can see :) its stil privet u know :) Link to comment Share on other sites More sharing options...
Wingmanz Posted October 4, 2007 Author Share Posted October 4, 2007 can u add a link ? so we can see :) its stil privet u know :) ok, whatever.. here it goes: http://a11.ambernet.lv/index.php?osCsid=fb...404b079dd27f88a Link to comment Share on other sites More sharing options...
Wingmanz Posted October 5, 2007 Author Share Posted October 5, 2007 OK i found it, but now i have problem with switch.. in file - html_output.php theres code: if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } the second $seperator variable says what to give before osCsid variable in adress bar. something`s not working there :/ what elseif switch should i make there, so osC give me 2 different kind of simbols - ? when osCsid is the first variable in adress and & when there`s another variable before it? please help! Link to comment Share on other sites More sharing options...
Wingmanz Posted October 5, 2007 Author Share Posted October 5, 2007 Acctually it acts like this only on details button in products list. :/ Link to comment Share on other sites More sharing options...
gatis_lee Posted December 26, 2008 Share Posted December 26, 2008 i have the same problem, and also cant solve it so far. Link to comment Share on other sites More sharing options...
gatis_lee Posted December 26, 2008 Share Posted December 26, 2008 the problem is with that button link in all modules where it is included. it should be (somewhere about line 131): original: tep_href_link('product_info.php?products_id='.$p_id) should be: tep_href_link("product_info.php","products_id=".$p_id) then everything is working fine Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.