Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
[In Progress] 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
|
|
miqrogroove
|
|
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.
|
|
Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
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?
|
|
miqrogroove
|
|
Try adding this somewhere in your config.php file:
ini_set('error_log', 'error_log');
This should override the host-specified log file path and create the log in the forum directory.
|
|
Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
Uploaded the modified config. Will test later tonight/over the weekend and report back.
|
|
Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
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 1 times
|
|
miqrogroove
|
|
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 '' |
|
|
Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
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?
|
|
miqrogroove
|
|
Yes
|
|
Club-K
Member
 
Posts: 18
Registered: 2-3-2025
Member Is Offline
|
|
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?
|
|