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

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

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

Post 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 ?
Last edited by seensite on Thu Aug 28, 2008 12:41 pm, edited 1 time in total.
The universe of information technology is constantly growing and contains only emerging products built on successive patches
alby

Re: {lang} flags to 404 not found?

Post 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
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: {lang} flags to 404 not found?

Post 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
The universe of information technology is constantly growing and contains only emerging products built on successive patches
alby

Re: {lang} flags to 404 not found?

Post 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
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: {lang} flags to 404 not found?

Post 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!
The universe of information technology is constantly growing and contains only emerging products built on successive patches
alby

Re: {lang} flags to 404 not found?

Post 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
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

Re: {lang} flags to 404 not found?

Post 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
The universe of information technology is constantly growing and contains only emerging products built on successive patches
Locked

Return to “[locked] CMSMS MLE fork”