XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [Resolved] registering new users
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-11-2025 at 09:16 PM
[Resolved] registering new users


Full Board URL: www.club-k.co.nz
XMB Version: 1.9.12

Managed to upgrade my forum today and in the process of turning it back on and allowing users to register again for the first time in about 5 years.

Everything seems to be working fine except the new registrations.

I completed the image capture, entered my details and when I submitted it spat up an error saying to turn on error log checking which I did. I then repeated the process and when trying to create my test account it said failed, please check the error log.

Silly question, where do I find that?

Q
View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 2-12-2025 at 11:47 AM



According to the address you gave me earlier, the configured log path for your site is

/../logs/php_error_log

It's a slightly odd value, but you can change that in the PHP config as needed.

I can't help find the file though. If you have a host support channel they might be willing to explain the system.
View user's profile Visit user's homepage
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-12-2025 at 07:15 PM



When I connect via ftp to my site there is a logs directory on the same level as the public_html (if that makes sence). It has 4 files in it.
* club-k.co.nz-Jan-2025.gz
* club-k.co.nz-ssl_log-Feb-2025.gz
* club-k.co.nz-ssl_log-Jan-2025.gz
* ftp.club-k.co.nz-ftp_log-Feb-2025.gz

under the public_html I cant see anything related to errors/logs?
under the Forums I cant see anything related to errors/logs?

View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 2-13-2025 at 01:33 AM



Try adding this somewhere in your config.php file:

Code:
ini_set('error_log', 'error_log');


This should override the host-specified log file path and create the log in the forum directory.
View user's profile Visit user's homepage
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-13-2025 at 10:23 PM



Uploaded the modified config. Will test later tonight/over the weekend and report back.
View user's profile
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-14-2025 at 09:25 AM



Tried again with the code you sent and the create new login failed at the same point again.

see attached error log which I located where you said it would be :)



Attachment: error_log (1kB)
This file has been downloaded 86 times

View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 2-14-2025 at 11:26 AM



That error is related to a poorly-designed database customization. For reference,

https://sourceforge.net/p/xmb-forum/code/HEAD/tree/hacks/tru...

The first step provided in those instructions actually makes the database incompatible with user registration. Not a great way of doing things.

To resolve the error, ask the database to fill in for new users with this query and Insert Raw SQL:

Code:
ALTER TABLE $table_members MODIFY COLUMN notepad text NOT NULL DEFAULT ''
View user's profile Visit user's homepage
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-14-2025 at 07:40 PM



micro. you kind of lost me.

since the upgrade to 1.9.12 i haven't installed any new hacks
I have made a couple of small visual changes but nothing to add or alter the database structure.
I don't think I have ever installed a notepad on my forum (new or old).
I do use notepad to edit forms or templates as required.
I did go into the members forum the other day to update the avatar links but the error existed before then.

I jumped into phpmyadmin and had a look at the members database.
There is a field called notepad.
Only 1 user, myself has anything in there and all it says is tsett.
Could I just delete that field and would that fix the problem?
View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 2-15-2025 at 12:20 PM



Yes
View user's profile Visit user's homepage
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-16-2025 at 12:45 AM



And how per say does one do that.
I've had a look in phpmyadmin at the xmb_members table, looked at structure, can click the line for notepad but there doesn't seem to be a delete option anywhere. Is drop the same thing?

View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 2-16-2025 at 12:51 PM



For help with customization, please consult the MySQL manual or maybe someone else can help out here. If not, the solution I posted above should be adequate.
View user's profile Visit user's homepage
Club-K
Member
***




Posts: 21
Registered: 2-3-2025
Member Is Offline


posted on 2-17-2025 at 04:22 AM



Yes drop was what I was looking for.
You may mark as resolved as I am now able to create logins again.
Thanks
Q
View user's profile
yiwu
New Poster
**




Posts: 1
Registered: 8-27-2025
Member Is Offline


posted on 8-28-2025 at 10:05 AM



[PROBLEMS] registering new users
Full Board URL: www.yiwugone.com
XMB Version: 1.9.12
when someone register it, IT SHOWS:

The system has failed to process your request.
Please check the error log for details.

can someone help me ? i am from china
View user's profile
miqrogroove
XMB 1.9.12 Lead Developer
*********


Avatar


Posts: 588
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 8-28-2025 at 10:17 AM



Hi yiwu,

The errors are logged to a file on your server. It's either in the same directory as your forum, or in the path configured by PHP.
View user's profile Visit user's homepage

  Go To Top

Powered by XMB 1.10.00-beta-2 (Debug Mode)
XMB Forum Software © 2001-2025 The XMB Group
[Queries: 14] [PHP: 29.0% - SQL: 71.0%]