Page 1 of 1

[SOLVED] : {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 9:27 am
by seensite
Hi everybody,

Installation of CMSMLE 1.4.1 worked fine, this cmsMLE is made of gold... but my languages flags conduce to "404 not found", they look like this:
http://www.mysite.com/index.php/en_US/home

Other links are working fine, they look like this:
http://www.mysite.com/index.php?page=home&hl=fr_FR

MySQL DB has all entries as defined in docs & tutorials for CMSMLE

The config.php looks like this:

$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['assume_mod_rewrite'] = false;
$config['page_extension'] = '';
$config['internal_pretty_urls'] = true;
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';

The config_lang.php looks like this (the beginning is missing to save space here):

array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
'parent'=>'en',
),

'ar_AR' => array(
'block'=>'ar',
'flag'=>'',
'text'=>'Arabic',
),

'fr_FR' => array(
'block'=>'fr',
'flag'=>'',
'text'=>'Français',
),

'de_DE' => array(
'block'=>'de',
'flag'=>'',
'text'=>'Deutsch',
),


);
?>

It is something evident for sure, but I can't get it - and quiet new to CMSMLE.
Does anyone have an idea ?

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 9:38 am
by alby
seensite wrote: they look like this:
http://www.mysite.com/index.php/en_US/home

Other links are working fine, they look like this:
http://www.mysite.com/index.php?page=home&hl=fr_FR
What is impossible that you have prettyurl enable on some links and disable on other links?

Have you a site link?

Alby

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 9:53 am
by seensite
I wonder why the flags conduce to "404 not found" ? I would like to get the links working the same way as the flags (with pretty urls) : http://www.mysite.com/index.php/en_US/home, but for the moment flags links leads to 404, as well as "CMS selflink".

Best regards Alby - thanks for your quick answer

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 9:58 am
by alby
seensite wrote: I wonder why the flags conduce to "404 not found" ? I would like to get the links working the same way as the flags (with pretty urls) : http://www.mysite.com/index.php/en_US/home, but for the moment flags links leads to 404, as well as "CMS selflink".
Flag links are same of MenuManager links, all prettyurl or not
Have you site address?

Alby

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 12:38 pm
by seensite
Thank you Alby!, I tried with this in config.php:

$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['assume_mod_rewrite'] = true;
$config['page_extension'] = 'html';
$config['internal_pretty_urls'] = false;
$config['use_hierarchy'] = false;
$config['query_var'] = 'page';

And everything is just fine... and easy... for a long time ? Hope so!

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 12:58 pm
by alby
seensite wrote: $config['page_extension'] = 'html';
Attention if you use htaccess from doc folder; I think that works well with empty page_extension

Alby

Re: {lang} flags to 404 not found?

Posted: Thu Aug 28, 2008 1:39 pm
by seensite
alby wrote:
seensite wrote: $config['page_extension'] = 'html';
Attention if you use htaccess from doc folder; I think that works well with empty page_extension

Alby
Yes, indeed : it works well with empty page_extension

Best regards