Menu

#27 Error about variable passed to current() is incorect

Bugs
open
nobody
5
2013-02-19
2000-04-08
Anonymous
No

Hello,

I am using Apache 1.3.9 with PHP3..0.15 compiled in, along with MySQL3.22.32, for pc-linux-gnu on i586.

I have installed the calendar and go into the setup.php to set up all the variables, everything appears to be correct. I then go to the index.php to add a new user and I get this error after filling in all the spaces and pressing submit.

"Warning: Variable passed to current() is not an array or object in /export/sw/www/htdocs/apps/calendar/index.php on line 130"

But it claims that "Successfully Registered User #1".

I go into mysql and do a SELECT * from users; and there are no new users added.

I have verified that all sql calls to the mysql database are correct and that it is indeed pointing to the right host, database, and tables. I have not editted any code or changed any variables other than what is done via the setup.php page. I have correctly built the database ( several times actually to rule out any possible mistakes there).

Any help would be great.

Dale Russell
daler@lsscorp.com

Discussion


Log in to post a comment.