Jump to content

Language issue


Recommended Posts

Hello,

 

I've just installed 1.5 and updated to the latest version from SVN (14240) with the default theme and demo products and I have 2 small issues.

 

1.

Whenever I try to activate another language (from the list of default languages installed) and I access my website "http://www.example.com" I am redirected to "http://www.example.com/en" and my page contains this message:

------------------

Not Found

 

The requested URL /en/ was not found on this server.

------------------

 

If I disable the previous enabled language the main page works again.

 

If I change to another language and disable English language the front page works fine (even if it is not translated in the language I have enabled).

Also the BackOffice page remains always in English.

 

 

 

2.

The links I click on FrontOffice main page don't work :(

 

All I get is:

The requested URL /3-music-ipods was not found on this server.

The requested URL /4-accessories-ipod was not found on this server.

The requested URL /my-account was not found on this server.

The requested URL /quick-order was not found on this server.

The requested URL /sitemap was not found on this server.

etc..

 

The only link that works is "Contact" and the contact page is translated into the language I've selected (RO for example).

 

Thank you for taking in consideration these issues and giving me a short answer.

Link to comment
Share on other sites

Yeah, sounds like friendly url proplem.

 

Also the developer versions have line 28 in config\defines.inc.php set to true. After that is set to false, all the problems I had with language went away.

 

define('_PS_MODE_DEV_', false);

 

Also, in config.inc.php display errors and SQL debug are both on by default.

 

@ini_set('display_errors', 'off');

define('_PS_DEBUG_SQL_', false);

Link to comment
Share on other sites

Yeah, sounds like friendly url proplem.

 

Also the developer versions have line 28 in config\defines.inc.php set to true. After that is set to false, all the problems I had with language went away.

 

define('_PS_MODE_DEV_', false);

 

Also, in config.inc.php display errors and SQL debug are both on by default.

 

@ini_set('display_errors', 'off');

define('_PS_DEBUG_SQL_', false);

 

Sorry, but nothing worked :(. Still the same error when I enable more than 1 language.

I've also left English as the default language and still none of the links on the main page works.

 

On my server I have PHP 5.2.13 installed. During the installation all the mandatory and optional PHP requirements were OK.

I use MySQL Server 5.1

I have tried to regenerate the .htaccess file but still the same.

 

For my http virtual host I have these settings enabled:

 

RewriteEngine on

Options +FollowSymlinks

 

I hope this is enough information.

Link to comment
Share on other sites

I disabled:

- Friendly URL

- Automatically redirect to Canonical URL

and enabled:

- Disable apache multiviews

 

and everything seems fine now...

 

Still my Apache has:

LoadModule rewrite_module modules/mod_rewrite.so

 

so I don't understand why URL rewriting and Canonical URL are not working.

Link to comment
Share on other sites

Try test for the mod_rewrite ...

 

<?php

if( ! function_exists('apache_get_modules') ){ phpinfo(); die; }

$result = ' not available';

if(in_array('mod_rewrite',apache_get_modules())) $result = ' available';

 

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Check for mod_rewrite</title></head>

<body>

<p><?php echo apache_get_version(),"</p><p>mod_rewrite $result"; ?></p>

</body>

</html>

Link to comment
Share on other sites

×
×
  • Create New...