Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
Looking for some help with this one:

Since we upgraded to Version 7.4.2 I have been getting two reported issues:

1) Users are not able to register for a new account. When I tried creating an account I received the following message;

"UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators

Please click back to return to the previous page."

In the control panel, we get notification that there are registered users that need to be approved (we use this feature normally). These new users never make it into the database.

Permissions checks all come up "OK".

Not sure what else I can try.

2) Some of my users claim that they are not able to log in to the boards. When they type in their user name/password the screen refreshes and the fields are blank again (as if they click on "log in")

Any help would be appreciated...

Thanks,
Brendan


Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
Do you have error logs enabled in the ubb control panel?
You could start there.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
I did not setup the feature for error logs.

Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
You might want to do that. You may be having a sql connection issue (Possibly) or anything else.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
I will consider turning that on for the future. I'm going to check connection and logs on the server side while waiting for any other ideas...

Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
Okay another option is to display the actual error details in the browser but that means anyone will see the actual error in stead of the generic error you stated in the post above.

Just a quick copy of a post by Gizmo.
Quote
This error is mentioned numerous times with the search option; quite simply, edit libs/mysql.inc.php, change the "showerror" line from a 0 to a 1, upload file; it will now show the error to anyone who can see it.

You'll want to change this back when you're finished however, as it could identify db names and other data your users don't really need...


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The first one you'll definitely want to turn on error logging and then trying to register a user. That one you'll want to get fixed, could be a corrupt table, a missing field, etc.

As for the login issue, that's hard to say. It really should never just redirect them to the same page. If they are met with an error condition they should be getting an error page, if the cookies aren't sticking for some reason it should redirect to the main page, just not logged in. I can't really think of any reason why they'd be getting redirected to the exact same page.

Have you tried logging in as one of those users?

Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
I can log in with the user accounts that were having trouble. In fact they were able to log in themselves from another computer. I thought maybe a browser issue with some I.E. setting, but could not duplicate.

I turned on error logging. I am going to try registering and see what the log says after. I'll post what I find.

Thanks,
Brendan

Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
Just sent the error to you (Rick) in a PM...

Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
Just wanted to post a "thank you". Rick found the issue that causing the problem. Visitors are able to register again.

Thanks for all the help guys... I'll post another time if that login issue continues...

Brendan

Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
And the answer was??


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2007
Posts: 20
stranger
stranger
Joined: Aug 2007
Posts: 20
MySQL was running in strict mode and had to be adjusted... Rick said they have addressed this in 7.5.1 (am I saying that right Rick?).

Sorry I left out the details...

Joined: Dec 2003
Posts: 6,563
Likes: 78
Joined: Dec 2003
Posts: 6,563
Likes: 78
That is close enough. At least it is a clue on future similar issues.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
2 members (Ruben, ahmed047), 799 guests, and 143 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)