Login / Logout errors [message #12893] |
Thu, 18 September 2003 12:55 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Just upgraded from v2.3.9RC1 to 2.5.2
When a member trys to login:
Parse error: parse error, unexpected T_STRING in /home/ccgwork/public_html/forum/theme/CCGW/login.php on line 63
When I try to log out:
Parse error: parse error, unexpected T_STRING in /home/ccgwork/public_html/forum/theme/CCGW/login.php on line 635
I have tried to rebuild the theme. That didn't work.
-=BugLaden
|
|
|
|
|
|
Re: Login / Logout errors [message #13074 is a reply to message #12893] |
Mon, 22 September 2003 00:18 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
I went in and looked at the code. The problem is with this line:
$login_use_cookies = $GLOBALS['SESSION_USE_URL'] == 'Y' ? '<tr class="RowStyleB"><td colspan=3 align="left"><input type="checkbox" name="use_cookie" value="Y" checked> Use cookies<br><font class="SmallText">If you're using a public terminal such as a computer in a library, school, or Internet cafe, it is recommended that you uncheck this option for greater security.<br>If you leave this option selected then you will be automatically logedin into the forum.</font></td></tr>' : '';
I fixed it by changing you're to you are.
I imagine that every time I recompile the theme this error will reappear.
-=BugLaden
|
|
|
Re: Login / Logout errors [message #13090 is a reply to message #13074] |
Mon, 22 September 2003 14:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This is something fixed in newer versions of FUDforum because the message entry you are referring to is listed as:
login_use_cookie: Use cookies<br><font class="SmallText">If you're using a public terminal ...
As you can see the ' is encoded.
FUDforum Core Developer
|
|
|
|
Re: Login / Logout errors [message #13106 is a reply to message #13105] |
Mon, 22 September 2003 16:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
BugLaden wrote on Mon, 22 September 2003 11:42 | Based on the other errors I'm encountering (in other posts) it seems to me the Rebuild Template didn't actually rebuild.
Do I need to start from scratch with my template?
|
Ideally yes.
FUDforum Core Developer
|
|
|