OVERVIEW | SETUP | USER GUIDE | DOWNLOAD | TODO | NEWS | FAQ | FORUM | MAILING LIST | SUPPORT


FORUM  

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Many php errors in index.php
Posted by: ubiquitousdude (---.mie.utoronto.ca)
Date: June 29, 2005 12:27AM

I am having lots of errors with the ezBoo. I found out that the install2.php file does not work as specified. There was a problem with undefined variable tablesname and tablesname1 which is obtained as HTTP GET parameters from install.php (for creating the SQL tables). I found out I had to add two entries:

$tablesfilename = $_REQUEST['tablesfilename'];
$tablesfilename2 = $_REQUEST['tablesfilename2'];

$_GET will also work as well. I think the php script should be changed so beginners like me don't run into this same problem.

I now have a problem with the index.php file, I get the following errors:

Notice: Undefined index: table in E:\Program Files\Apache Group\Apache2\htdocs\php\register_globals_off.php on line 2

Notice: Undefined index: reqdate in E:\Program Files\Apache Group\Apache2\htdocs\php\register_globals_off.php on line 3

Notice: Undefined index: period in E:\Program Files\Apache Group\Apache2\htdocs\php\register_globals_off.php on line 4

Notice: Undefined index: reset in E:\Program Files\Apache Group\Apache2\htdocs\php\register_globals_off.php on line 5

I am looking in the register_globals_off.php file to see what's the problem, it's doing a GET on the variables but they seem undefined. It looks like I have to debug all the scripts in order to get this working.

Is there a fix for this, or do I have to keep debugging every single script?

Thanks.

Re: Many php errors in index.php
Posted by: ubiquitousdude (---.mie.utoronto.ca)
Date: June 30, 2005 11:10PM

i still can't get the index.php to work without errors. Where does table, reqdate, period and reset come from? I know they are HTTP GET parameters but I don't see where they come from so obviously I'll get an error.

And the rest of the statistics come with more errors which I won't even get into.

How do I fix this? Why is no one responding?


Re: Many php errors in index.php
Posted by: ubiquitousdude (---.mie.utoronto.ca)
Date: June 30, 2005 11:53PM

What's the variable PHP_SELF in index2.php? I get "Undefined variable: PHP_SELF in E:\Program Files\Apache Group\Apache2\htdocs\php\index2.php on line 88" when I run this in the web browser:

[localhost:8080]

I am trying to debug, but what is the path for PHP_SELF, because I don't see this variable being declared or set anywhere in the index2.php script.


Re: Many php errors in index.php
Posted by: ubiquitousdude (---.mie.utoronto.ca)
Date: July 6, 2005 09:45PM

hello, is anybody there answering?

Re: Many php errors in index.php
Posted by: Beloop (Moderator)
Date: July 18, 2005 01:11AM


I'll have a look to this bug this week...

Beloop

Re: Many php errors in index.php
Posted by: ubiquitousdude (---.sympatico.ca)
Date: July 18, 2005 02:42AM

I found out that if I put the flag for no NOTICES in the error reporting section of php.ini, then I don't have the problems I mentioned earlier.


Re: Many php errors in index.php
Posted by: Beloop (Moderator)
Date: July 23, 2005 12:27AM


$_GET added in the 3.03 version


Beloop



Sorry, only registered users may post in this forum.

Contact