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.
Web Languages and Standards

Avatar of undefined
Last Comment
TeRReF

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
TeRReF

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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.
TeRReF

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
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes