Undefined index in include.php o
Undefined index in include.php o
Hello,
Since I created manually the arabic language in config_lang.php (language that does not exist with the standard installation) the following notices keep appearing at the CMS login page:
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 262
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 263
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 264
The CMS is functionning normally once I log in. When I try to re-log in, the messages disappear.
FYI: the file ar_LB.php has been created in all places, modules as well as admin folder
Is there a way to avoid this?
Thanks
Since I created manually the arabic language in config_lang.php (language that does not exist with the standard installation) the following notices keep appearing at the CMS login page:
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 262
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 263
Notice: Undefined index: in C:\Program Files\Apache Group\Apache2\htdocs\prj\include.php on line 264
The CMS is functionning normally once I log in. When I try to re-log in, the messages disappear.
FYI: the file ar_LB.php has been created in all places, modules as well as admin folder
Is there a way to avoid this?
Thanks
Re: Undefined index in include.php o
Global Settings > MLE languages is ok?JR wrote: Is there a way to avoid this?
Global Settings > MLE settings > Tests are ok?
Alby
Re: Undefined index in include.php o
MLE languages are ok
MLE settings tests are ok
The problem persists
MLE settings tests are ok
The problem persists
Re: Undefined index in include.php o
I don't understand, this message is in admin part only and in login only?JR wrote: The CMS is functionning normally once I log in. When I try to re-log in, the messages disappear.
Alby
Re: Undefined index in include.php o
Yes, this is exactly what it is happening. It happens the first time after turning on PC. When I log in and then log out, messages disappear completely on the login page until Pc reboot.
The same behaviour on Mozilla and IE, even more, If I login through Mozilla, IE still giving the same messages until I log in through IE and vice-versa. It only disturbs the site administrator with no impact on any CMS functionalities (until now!).
Thanks
The same behaviour on Mozilla and IE, even more, If I login through Mozilla, IE still giving the same messages until I log in through IE and vice-versa. It only disturbs the site administrator with no impact on any CMS functionalities (until now!).
Thanks
Re: Undefined index in include.php o
Can you post:JR wrote: Yes, this is exactly what it is happening. It happens the first time after turning on PC. When I log in and then log out, messages disappear completely on the login page until Pc reboot.
The same behaviour on Mozilla and IE, even more, If I login through Mozilla, IE still giving the same messages until I log in through IE and vice-versa. It only disturbs the site administrator with no impact on any CMS functionalities (until now!).
- your config_lang.php
- what use in config.php for: $config['url_rewriting']
- have you set something in My Preferences » User Preferences » Language?
Alby
Re: Undefined index in include.php o
This is my config_lang.php:
$hls = array(
'fr_FR' => array(
'locale_cms'=>'fr_FR',
'block'=>'fr',
'parent'=>'fr',
'flag'=>'',
'text'=>'Français (French)',
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
'locale_cms'=>'ar_LB',
'block'=>'ar',
'parent'=>'ar',
'flag'=>'',
'text'=>'عربي',
'locale'=>'ar_LB.UTF-8'
),
);
?>
$config['url_rewriting'] is set to none.
in My Preferences » User Preferences » Language = English
That is all.
Thanks
$hls = array(
'fr_FR' => array(
'locale_cms'=>'fr_FR',
'block'=>'fr',
'parent'=>'fr',
'flag'=>'',
'text'=>'Français (French)',
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
'locale_cms'=>'ar_LB',
'block'=>'ar',
'parent'=>'ar',
'flag'=>'',
'text'=>'عربي',
'locale'=>'ar_LB.UTF-8'
),
);
?>
$config['url_rewriting'] is set to none.
in My Preferences » User Preferences » Language = English
That is all.
Thanks
Re: Undefined index in include.php o
ok, change your language preference to FrançaisJR wrote: in My Preferences » User Preferences » Language = English
Thank you, will fix in 1.6.1
Alby
Re: Undefined index in include.php o
Hi Alby,
FYI:
I changed my language preference to french, I thought too, when I saw it, to change Français to Français in my config_lang.php.
Unfortunately, the problem persists.
Thank you again, waiting for CMS 1.6.1.
FYI:
I changed my language preference to french, I thought too, when I saw it, to change Français to Français in my config_lang.php.
Unfortunately, the problem persists.
Thank you again, waiting for CMS 1.6.1.
Re: Undefined index in include.php o
Yes, of course, this is what I did.
Re: Undefined index in include.php o
Hi Alby,
I would like to re-open this issue because I have new elements to give.
I tried to take a new installation and I followed exactly MLE installation. When I delete cookies, the problem reappears.
Could you resolve it please and tell us the solution. I would like to deliver my project without this bug.
FYI: I tried to debug it by myself, no success.
thanks in advance.
JR
I would like to re-open this issue because I have new elements to give.
I tried to take a new installation and I followed exactly MLE installation. When I delete cookies, the problem reappears.
Could you resolve it please and tell us the solution. I would like to deliver my project without this bug.
FYI: I tried to debug it by myself, no success.
thanks in advance.
JR
Re: Undefined index in include.php o
One thing I noticed that was a problem in my MLE installs is that you have no space between your languages in config_lang.php...
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
Maybe...
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
Maybe...
'locale'=>'fr_FR.UTF-8'
),
'ar_LB' => array(
Re: Undefined index in include.php o
install MLE 1.6.1JR wrote: Could you resolve it please and tell us the solution. I would like to deliver my project without this bug.
Alby
[SOLVED]: Undefined index in include.php
Wonderful, it is solved
Many thanks
JR
Many thanks
JR