FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Login / Logout errors
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Login / Logout errors [message #12893] Thu, 18 September 2003 12:55 Go to next message
BugLaden is currently offline  BugLaden   United States
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 #12950 is a reply to message #12893] Thu, 18 September 2003 15:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Please send me those 2 files.

FUDforum Core Developer
Re: Login / Logout errors [message #13063 is a reply to message #12893] Sat, 20 September 2003 22:40 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Attached in is the login.php file.

Thanks for taking a look.
  • Attachment: login.php
    (Size: 28.45KB, Downloaded 655 times)


-=BugLaden
Re: Login / Logout errors [message #13069 is a reply to message #12950] Sun, 21 September 2003 06:12 Go to previous messageGo to next message
j235 is currently offline  j235   United States
Messages: 4
Registered: September 2003
Location: Austin, TX
Karma: 0
Junior Member
Please... prottoss... save us! I haven't logged into the forum in 3 days.

I feel cold... oh so cold. Crying or Very Sad

Rolling Eyes

prottoss wrote on Thu, 18 September 2003 10:44

Please send me those 2 files.

Re: Login / Logout errors [message #13074 is a reply to message #12893] Mon, 22 September 2003 00:18 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #13105 is a reply to message #12893] Mon, 22 September 2003 15:42 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Based on the other errors I'm encountering (in other posts) it seems to me the Rebuild Template didn't actually rebuild. Sad

Do I need to start from scratch with my template?


-=BugLaden
Re: Login / Logout errors [message #13106 is a reply to message #13105] Mon, 22 September 2003 16:05 Go to previous message
Ilia is currently offline  Ilia   Canada
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. Sad

Do I need to start from scratch with my template?


Ideally yes.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: overlaping in 2.5.2 Path-info
Next Topic: Errors when trying to view sticky thread after upgrade
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 22:53:33 GMT 2024

Total time taken to generate the page: 0.02769 seconds