coder_1914
asked on
PHP script error
Hello,
I recently downloaded and installed a free web forum onto my server for my website. The Forum is chipmunk boards avaiable for free online and is written in .php. I successfully configured my server and installed the package onto my website but after I log in I get this error.
"COuld not draw cookiesPHP Notice: Undefined variable: sitetitle in C:\Inetpub\celsblock\phpsc ript\board \index.php on line 8 PHP Notice: Undefined variable: cookiename in C:\Inetpub\celsblock\phpsc ript\board \index.php on line 41 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in C:\Inetpub\celsblock\phpsc ript\board \index.php on line 41 PHP Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Inetpub\celsblock\phpsc ript\board \index.php on line 47 PHP Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\Inetpub\celsblock\phpsc ript\board \index.php on line 47 "
the package required some configuration with my server, my website and my sql, but on part of the configuration was to much for me. It was a part that dealt with accessing the cookies. I do not know what cookies are or how to develp or use them, How do i fix this error so that i can use my forum.
I recently downloaded and installed a free web forum onto my server for my website. The Forum is chipmunk boards avaiable for free online and is written in .php. I successfully configured my server and installed the package onto my website but after I log in I get this error.
"COuld not draw cookiesPHP Notice: Undefined variable: sitetitle in C:\Inetpub\celsblock\phpsc
the package required some configuration with my server, my website and my sql, but on part of the configuration was to much for me. It was a part that dealt with accessing the cookies. I do not know what cookies are or how to develp or use them, How do i fix this error so that i can use my forum.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's a good explanation why register_globals are bad. (in short, it's expliotable by hackers and performance suffers when it's on)
http://php.net/register_globals
http://php.net/register_globals
ASKER
I will look into the forum that you suggested. And also can you tell me why register globals are bad.
I have mysql installed and running, this program is just rally wierd. When anything crashes it says that it could not connect to the database, but when it's fixes it always connects fine. Thank you and i will l ook into your sugestion.