Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sid Killer and languages


Guest

Recommended Posts

Hello,

 

I just install sid Killer, it looks working well but when i choose the french language, and clik to an other page the page came to English.

And when i choose the french language it is impossible to add something in the basket.

 

Maybe we have to change something here, but i am not shure

 

 if ($HTTP_GET_VARS['language'] && $kill_sid) {
     $l = ereg('[&\?/]?language[=/][a-z][a-z]', $parameters, $m);
     if ($l) {
       $parameters = ereg_replace("[&\?/]?language[=/][a-z][a-z]", "", $parameters);
       $HTTP_GET_VARS['language'] = substr($m[0],-2);
     }
     if (tep_not_null($parameters)) {
       $parameters .= "&language=" . $HTTP_GET_VARS['language'];
     } else {
       $parameters = "language=" . $HTTP_GET_VARS['language'];
     }
   }

 

Thank you for your help

 

Bastien

Link to comment
Share on other sites

  • 4 weeks later...

Do not use sid killer , its an outdated mod....

 

Do one of these 2 instead..

 

In your admin under: configuration >> sessions

 

Set force cookies to true

 

or...

 

In your admin under : configuration>>sessions

 

Set Prevent Spider Sessions to true

 

and download and use the latest spiders.txt from the contributions section.....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...