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

Home » FUDforum Development » Bug Reports » strange error when accessing FUD
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
strange error when accessing FUD [message #4353] Wed, 24 July 2002 19:20 Go to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
This bug has been reported to me by several users. I myself have not encountered it.


[BugLaden] jaycurl, you still having problems with the forums?
[jaycurl] Sort of
[jaycurl] I have to delete my cookie each time to get in.
[jaycurl] If I don't, I still get that error I got before
[jaycurl] Fatal error: Call to undefined function: get_all_perms() in /home/ccgwork/public_html/forum/theme/CCGWorkshop/index.php on line 183
[BugLaden] I'm sure its a bug in the forum. I'll report it
[BugLaden] And this happen whenever you try to access any part of the board?
[jaycurl] Yeah, it's wierd. First, I delete the cookie, thenI try to log in with my password, then I get the error. If I hit "back" on my browser to get back to the forum, I can access and post, what have you.
[jaycurl] If I leave and come back, I have to go through that same process.


-=BugLaden
Re: strange error when accessing FUD [message #4355 is a reply to message #4353] Wed, 24 July 2002 20:31 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
What version of FUDforum is this happening on?

FUDforum Core Developer
Re: strange error when accessing FUD [message #4402 is a reply to message #4353] Thu, 25 July 2002 20:25 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
2.2.3

-=BugLaden
Re: strange error when accessing FUD [message #4463 is a reply to message #4353] Sat, 27 July 2002 11:49 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
Any ideas on this? Could it be something completely screwed up with my template? I did cut and paste over from the last version....

I have no problem seeing it though, along with the majority of my members.


-=BugLaden
Re: strange error when accessing FUD [message #4466 is a reply to message #4353] Sat, 27 July 2002 13:53 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 disabled my theme, and made the default theme the default, and the error still persists.

-=BugLaden
Re: strange error when accessing FUD [message #4566 is a reply to message #4353] Wed, 31 July 2002 12:19 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
Addtional info:

I have another user with the same problem. Both users report that the confirmation key sent by FUD is not valid.

They forwarded the confirmation email to me and I tried it, with this result:

Invalid confirmation key. Please check your email to make sure that you have gone to the URL correctly

Both, who got this confirmation error, have the above stated problems when trying to access the account.

If they delete their cookie, they can access it for that session. But get the same error on return.


-=BugLaden
Re: strange error when accessing FUD [message #4567 is a reply to message #4566] Wed, 31 July 2002 12:21 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
Can you ask those users to send you the confirmation URL they had recieved in their email?

FUDforum Core Developer
Re: strange error when accessing FUD [message #4568 is a reply to message #4353] Wed, 31 July 2002 14:02 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 do have one of them and tried it myself with that error as a result. Would you like me to forward it to you?

-=BugLaden
Re: strange error when accessing FUD [message #4570 is a reply to message #4568] Wed, 31 July 2002 14:09 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
Yes please, also while you are at it, show me the result of the following query:

SELECT login,id,email_conf,conf_key FROM fud21_users WHERE id=USER_ID;

Replace USER_ID with an id of the user this is the confirmation email for.


FUDforum Core Developer
Re: strange error when accessing FUD [message #4571 is a reply to message #4353] Wed, 31 July 2002 14: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
Here is the confirmation email:

>Thank you for registering,
>To activate your account please go to the URL below:
>
>http://www.ccgworkshop.com/forum/index.php?t=emailconf&conf_key=9a9c548c38fae1ce2454e82c4ab4e78f
>
>Once your account is activated you will be logged into the forum and
>redirected to the main page of the forum.


Here is the query:

mysql> SELECT login,id,email_conf,conf_key FROM fud_users WHERE id=97;
+----------+----+------------+----------+
| login | id | email_conf | conf_key |
+----------+----+------------+----------+
| jedijoel | 97 | Y | 0 |
+----------+----+------------+----------+
1 row in set (0.00 sec)


Even though they got the error on the confirmation, they can still post (after deleting the cookie).


-=BugLaden
Re: strange error when accessing FUD [message #4574 is a reply to message #4571] Wed, 31 July 2002 15:20 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
I already see the problem, the confirmation key (conf_key) is blank, hence the source of the problem.

Can you try registering a new user and before going to confirm the account check in the database if they conf_key for that user is there and if it is the same one as the one you got in your email.
Then confirm the user, after that is done see of conf_key value got modified.


FUDforum Core Developer
Re: strange error when accessing FUD [message #4581 is a reply to message #4353] Wed, 31 July 2002 16:21 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
Whoa!

EVERY record in the fud_users table has 0 for the conf_key!

Is that supposed to be right?


-=BugLaden
Re: strange error when accessing FUD [message #4583 is a reply to message #4353] Wed, 31 July 2002 16:38 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
Correction: There is 1 user who doesn't have 0 for a conf_key. LOL, out of 67.

-=BugLaden
Re: strange error when accessing FUD [message #4584 is a reply to message #4583] Wed, 31 July 2002 17: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
The conf_key should a 32 byte long string, definately not 0.
Have you tried registering a user?


FUDforum Core Developer
Re: strange error when accessing FUD [message #4586 is a reply to message #4353] Wed, 31 July 2002 17:22 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
Ok, I created a user and this was my select statement from the fud_user table:

mysql> SELECT login,id,email_conf,conf_key FROM fud_users where conf_key <> 0;
+----------+----+------------+----------------------------------+
| login | id | email_conf | conf_key |
+----------+----+------------+----------------------------------+
| Warrada | 92 | N | 08e2846bd45d324502e34093a4a41b62 |
| testuser | 98 | N | 7d5fd6f67a6ba6df8c83f98457605013 |
+----------+----+------------+----------------------------------+
2 rows in set (0.01 sec)



The email that was sent to me:

Thank you for registering,
To activate your account please go to the URL below:

http://www.ccgworkshop.com/forum/index.php?t=emailconf&conf_key=7d5fd6f67a6ba6df8c83f98457605013

Once your account is activated you will be logged into the forum and
redirected to the main page of the forum.


The page when I clicked on the link in the email:

Fatal error: Call to undefined function: get_all_perms() in /home/ccgwork/public_html/forum/theme/CCGWorkshop/index.php on line 183


The testuser record now:

mysql> SELECT login,id,email_conf,conf_key FROM fud_users WHERE id=98;
+----------+----+------------+----------+
| login | id | email_conf | conf_key |
+----------+----+------------+----------+
| testuser | 98 | Y | 0 |
+----------+----+------------+----------+
1 row in set (0.00 sec)


-=BugLaden
Re: strange error when accessing FUD [message #4610 is a reply to message #4586] Thu, 01 August 2002 03: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
I see allright thanks for the detailed report, I'll try to replicate the problem and hopefuly make a fix for it.

FUDforum Core Developer
Re: strange error when accessing FUD [message #4626 is a reply to message #4610] Thu, 01 August 2002 14:34 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
I've just tried this on the CVS version and all seems to work ok.
I was mistaken before about conf_key being 0, when user's account is confirmed their conf_key is indeed set to 0, so that is NOT a bug.
The bug
 Fatal error: Call to undefined function: get_all_perms() in /home/ccgwork/public_html/forum/theme/CCGWorkshop/index.php on line 183


is something I cannot replicate, so I am assuming it was something that was resolved in later versions.


FUDforum Core Developer
Re: strange error when accessing FUD [message #4627 is a reply to message #4353] Thu, 01 August 2002 14:55 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
These problems start when I upgraded to 2.2.3.

Also, the fact that the error is centered around my custom theme, could that be the problem? A bad theme conversion in one of the upgrades?


-=BugLaden
Re: strange error when accessing FUD [message #4628 is a reply to message #4627] Thu, 01 August 2002 14:57 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Quite likely, see the old conversion script ONLY replaced the files in the tmpl and i18n directory for default theme and left your custom theme as is.
The RC3, which I plan to release within the next few hours already has code to make changes to ALL themes, not just the default one.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Invalid Request
Next Topic: Newsgroup importing
Goto Forum:
  

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

Current Time: Sat Nov 23 13:24:53 GMT 2024

Total time taken to generate the page: 0.02762 seconds