Link to home
Create AccountLog in
Avatar of coder_1914
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\phpscript\board\index.php on line 8 PHP Notice: Undefined variable: cookiename in C:\Inetpub\celsblock\phpscript\board\index.php on line 41 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in C:\Inetpub\celsblock\phpscript\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\phpscript\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\phpscript\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.
ASKER CERTIFIED SOLUTION
Avatar of TeRReF
TeRReF
Flag of Netherlands image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of coder_1914
coder_1914

ASKER

Thank you,

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.
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