error after publishing
Posted: Fri Jan 09, 2009 4:07 am
hallo,
The past few days i finished my first site. the result was exacly what i hoped for. I tested my site on my localhost and on dyndns. everything were working perfect. Then i uploaded the site to my host....
My site right now is full of errors. errors i can not understand...
the first one i see...
Notice: Use of undefined constant authenticated - assumed 'authenticated' in /users/koz/lyk-neapol/idourvas/public_html/index.php on line 293
line 293
if(session_is_registered(authenticated)) // 293
//if (isset($_SESSION['SESS_LAST_NAME']))
{
echo "welcome ". $_SESSION['SESS_LAST_NAME'];
this code checks if someone is logged in. As soon as the username and psw found inside database the command
session_register("authenticated");
was executed..
i do not know what to assume. i see this error for the first time. why? and it is not the only one. My site is full of errors like that (undefined variables). what happened????
The past few days i finished my first site. the result was exacly what i hoped for. I tested my site on my localhost and on dyndns. everything were working perfect. Then i uploaded the site to my host....
My site right now is full of errors. errors i can not understand...
the first one i see...
Notice: Use of undefined constant authenticated - assumed 'authenticated' in /users/koz/lyk-neapol/idourvas/public_html/index.php on line 293
line 293
if(session_is_registered(authenticated)) // 293
//if (isset($_SESSION['SESS_LAST_NAME']))
{
echo "welcome ". $_SESSION['SESS_LAST_NAME'];
this code checks if someone is logged in. As soon as the username and psw found inside database the command
session_register("authenticated");
was executed..
i do not know what to assume. i see this error for the first time. why? and it is not the only one. My site is full of errors like that (undefined variables). what happened????