Menu

#2 Not properly a bug...

open-later
None
2
2003-03-22
2003-01-21
Max
No

well, the problem is that this gui is filling up
my /var/log/apache/error_log with:

Tue Jan 21 22:08:14 2003] [error] PHP Notice:
Undefined index: name in /var/w
ww/htdocs/functions.inc on line 399
[Tue Jan 21 22:08:14 2003] [error] PHP Notice:
Undefined index: md in /var/www
/htdocs/functions.inc on line 402
[Tue Jan 21 22:08:14 2003] [error] PHP Notice:
Undefined index: bytes in /var/
www/htdocs/functions.inc on line 405
[Tue Jan 21 22:08:14 2003] [error] PHP Notice:
Undefined index: vd in /var/www
/htdocs/index.php on line 55
[Tue Jan 21 22:08:14 2003] [error] PHP Notice:
Undefined index: nr in /var/www
/htdocs/index.php on line 55

and so on...
the problem come from the lines
if ($HTTP_POST_VARS['start'] || $HTTP_GET_VARS
['start'])

and so on...
couse the variable 'start' is not founded in the link.

this can be corrected with
if (in_array('kill', $HTTP_POST_VARS) &&
($HTTP_POST_VARS['start'] || $HTTP_GET_VARS
['start']))

and this for every line with HTTP_POST_VARS.

I have seen other errors in php code, like:
line 22: if ($DEBUG) writeLog ("Start was successful");

shouldn't DEBUG be $conf->DEBUG ?

I can help u if u want, just ask me what can i do!

byebye!

Ps, great work this gui, i hope u can improve just to
suppress the official gui :))

Discussion

  • Sven Walther

    Sven Walther - 2003-01-28

    Logged In: YES
    user_id=613086

    OK, my warn-isn`t that hi, but you gave the solution too, so
    the next version (which is already Alpha) will correct this
    mess.

    Ynd yes, it should be $conf->DEBUG, i changed the configs in
    the last version and this one seems to on "rest" of the old
    code ;-)

    If you have more bugs, send them to me (or post them here
    :-), i'm testing phpEselGui in real life, but i don`t :-(
    have the time to reread all the code (much work in the
    office). I know some "small" bugs, which don't stop
    phpEselGui to work but which are "not nice". And there is
    some realy old code in the scripts (e.g. commit is without
    askDonkey and writeOutput) which have to be corrected later on.

    Long text, short conclusion: I'm happy about about every
    testing person which gives me the bugs ;-)

     
  • Sven Walther

    Sven Walther - 2003-03-22
    • assigned_to: nobody --> svenwal
    • status: open --> open-later
     
  • Sven Walther

    Sven Walther - 2003-03-22
    • priority: 5 --> 2
     

Log in to post a comment.