logo

Member
Member
Offline Offline
avatar
Posts: 19
new installation help "Notice: Undefined index: QUERY_STRING"

hi,
   im looking for a cms for my personal website and installed eoCMS, the intall process going fine, but when finished, i have this error in the top of the page:

Notice: Undefined index: QUERY_STRING in C:Abyss Web Serverhtdocsfunctionsthemesdisplaypanels.php on line 17

i looked inside the "displaypanels.php" at line 17 its:
$querystring = '?'.$_SERVER['QUERY_STRING'];

infortunatly i dont have php knowledge, what this error mean, can anyone help me?

webserver: abyss web server 2.5
php version: 5.2.8
database: mysql 5.1.44

Thanks.
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1527
Re: new installation help "Notice: Undefined index: QUERY_STRING"

Open functions/themes/displaypanels.php
Find
Code:
$querystring = '?'.$_SERVER['QUERY_STRING'];


Replace with
Code:
$querystring = '?'.(isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '');

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
avatar
Posts: 19
Re: new installation help "Notice: Undefined index: QUERY_STRING"

worked fine thanks,

is it server? or php related?

because i tryed with another web server and i dont have this error....

should advise abyss team?

again thanks for the help.
Last Edit: 23rd February, 2010, 08:45:43 PM by dreambill
Member
Member
Offline Offline
avatar
Posts: 19
Re: new installation help "Notice: Undefined index: QUERY_STRING"

also when i clic on profile->User Preferances im getting those error:

Warning: opendir(themes/_Admin/) [function.opendir]: failed to open dir: No error in C:Abyss Web Server X2htdocsLayoutsUserPreferances.php on line 65

Warning: readdir(): supplied argument is not a valid Directory resource in C:Abyss Web Server X2htdocsLayoutsUserPreferances.php on line 66

Warning: closedir(): supplied argument is not a valid Directory resource in C:Abyss Web Server X2htdocsLayoutsUserPreferances.php on line 79


line 65: $dir = opendir($folder);
line 66: while (false!==($file=readdir($dir))) {
line 79: closedir($dir);
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1527
Re: new installation help "Notice: Undefined index: QUERY_STRING"

First error seems server related, I have applied the fix to both 0.9.x and 1.0.0 so in the future it should never appear. Those errors are possible due to the _Admin folder not existing, please go to /themes/ and check if it is there, if not please create it, this error has been fixed in 0.9.04 which will be released in a few days Wink

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
avatar
Posts: 19
Re: new installation help "Notice: Undefined index: QUERY_STRING"

adding  _Admin folder solved the problem thanks. Happy

if the server cant handle "$querystring = '?'.$_SERVER['QUERY_STRING'];" is it a big issue? i mean is this going to prevent eoCMS to work correctly?

i also read the "readme.txt" in language folder, look easy to make translations, but im not seeing any languages setting in admin panel...

once translated i can upload it, but i dont see any languages category in "Mods DB"

thanks.
Last Edit: 23rd February, 2010, 10:36:04 PM by dreambill
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1527
Re: new installation help "Notice: Undefined index: QUERY_STRING"

The server can handle that, its just that some servers will not create that variable if there is nothing after index.php in the url.

The language system is not fully implemented/finished in 0.9, it will be in 1.0.0 though Wink

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
avatar
Posts: 19
Re: new installation help "Notice: Undefined index: QUERY_STRING"

can i start translating, or it will be completly different in 1.0.0 ?
Thanks.
Last Edit: 23rd February, 2010, 11:01:32 PM by dreambill
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1527
Re: new installation help "Notice: Undefined index: QUERY_STRING"

It will be quite different in 1.0 so it would be better if you waited Smile

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
avatar
Posts: 19
Re: new installation help "Notice: Undefined index: QUERY_STRING"

i found an error with the "time panel" when logged everything is fine but if unlogged/unregistered, the panel doesnt display the time and return this php error:
Undefined variable: lt_time in C:Abyss Web Server X2htdocspanelslocal_timeindex.php on line 24

where line 24 is: <div id="lt_panel">' . $lt_time . '


also, on new user registration i got this error:
Undefined index: tos in C:Abyss Web Server X2htdocsLayoutsRegister.php on line 20

where line 20 is: $check = call('register', $_POST['username'], md5($_POST['password']), md5($_POST['vpassword']), $_POST['email'], $_POST['token'], $_POST['captcha'], $_POST['tos']);
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1527
Re: new installation help "Notice: Undefined index: QUERY_STRING"

Fixed both for 0.9.04

Please do not PM me requesting support or anything, use the forums, thats what they are here for

Jump to:


0.06 seconds Queries: 13