Topic: Help Please ASAP
Thanks to anyone who can help me fast.
I am having a problem to where at any point in time that i edit my function.php it then gives me a error.
heres the error.
Parse error: syntax error, unexpected T_LNUMBER, expecting '&' or T_VARIABLE or T_CONST in /home/alpha/public_html/include/functions.php on line 134
Now the line 134 that it is refering to is this.
line 134 ------> function pun_setcookie($user_id, Password_hash, $expire)
{
global $cookie_name, $cookie_path, $cookie_domain, $cookie_secure, $cookie_seed;
// Enable sending of a P3P header by removing // from the following line (try this if login is failing in IE6)
// @header('P3P: CP="CUR ADM"');
if (version_compare(PHP_VERSION, '5.2.0', '>='))
setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), $expire, $cookie_path, $cookie_domain, $cookie_secure, true);
else
setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), $expire, $cookie_path.'; HttpOnly', $cookie_domain, $cookie_secure);
}
---------------------------------------------
only different in line 134 there is i put Password_hash instead of my actual password for posting purposes. So anyone know why it does this? only 2 things iv tried after reinstalling forums like 5 times is with the functions.php i tried adding forums tab to the nav bar without aving to have it in my admin panel and i just this last time tried adding the private messageing mod.
Any ideas?