Christina
Member
Posts: 30
Registered: 7-1-2012
Member Is Offline
|
|
[Closed] White Page After Registering
Full Board URL: https://joltmb.org
XMB Version: 1.9.11
I'm not sure when it started. I have a few mods installed.
Registration goes through but after hitting submit, they are given a white page.
I've attached my member.php file
Thanks for any help!
Attachment: member.php (39kB) This file has been downloaded 22 times
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
Likely either a mod you installed or perhaps your web hosting company upgraded PHP (or mysql/mariadb) that caused the issue.
Some things to try in no particular order, as this is either user or host related:
Compare the last successful member creation to when you may have installed a member.php modification. member.php should show it's date in file
manager.
You did test member creation after installing mods???
Alter config.php to show errors, try creating a new membership and see if error displays.
If you have access to error log (easy if you have cPanel) check for errors related to the issue. If not, ask web host to check error log for errors
related to member.php.
Find out what php and mysql version you are using.
Rename member.php and run an unaltered version to see if that works.
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
I see you don't actually get just a white screen, you get a HTTP ERROR 500
From a quick look at member.php it appears you have
shop hack
member approval, inc member_profile_pphoto template
Attached is the unaltered file if you want to see if it works
Attachment: member.php (36kB) This file has been downloaded 21 times
|
|
Christina
Member
Posts: 30
Registered: 7-1-2012
Member Is Offline
|
|
Thanks! I reversed the member approval hack and it worked. I just keep getting about 30 spam members a day. Any tips to reduce that?
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
Quote: Originally posted by Christina | Thanks! I reversed the member approval hack and it worked. I just keep getting about 30 spam members a day. Any tips to reduce that?
|
What happens when you have config.php errors set to display and you have the approval hack in place?
|
|
Christina
Member
Posts: 30
Registered: 7-1-2012
Member Is Offline
|
|
I still get the white page upon trying to register but no other errors.
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
This is unlikely to fix it, but can you comment out this line by adding // to start of it, eg:
Code: | //$adminmessage = "$username has just registered on $dbboardname.\r\n\r\n[b]Registration Details:[/b]\r\n\r\nUsername: $username\r\nE-mail: $email\r\nLocation: $locationnew\r\nSite: $site\r\nAIM: $aim\r\nICQ: $icq\r\nMSN: $msn\r\nYahoo: $yahoo\r\nBio: $bio\r\nSig: $sig\r\n\r\n[url={$full_url}cp.php?action=approve&member=".recodeOut($username)."]Approve this user account[/url]"; |
and add below:
Code: | $adminmessage = "$username has just registered on $dbboardname.\r\n\r\n[b]Registration Details:[/b]\r\n\r\nUsername: $username\r\nE-mail: $email\r\nLocation: $location\r\nSite: $site\r\nAIM: $aim\r\nICQ: $icq\r\nMSN: $msn\r\nYahoo: $yahoo\r\nBio: $bio\r\nSig: $sig\r\n\r\n[url={$full_url}cp.php?action=approve&member=".recodeOut($username)."]Approve this user account[/url]"; |
|
|
Christina
Member
Posts: 30
Registered: 7-1-2012
Member Is Offline
|
|
Thanks for the suggestion! I tried that and it did not work though.
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
Without access to error logs, difficult and time consuming to identify the issue. It does look like the member.php file has changed somewhat from that
modification release so I have posted it as buggy in the bug repository.
It may be that the 'spam hammer' mod is the better option:
https://www.xmbforum2.com/modifications/spam-hammer-1.0.zip
This is really a request for hacks support, should have been posted in the hacks section as it isn't related to what this forum area is for. Moved to
hacks support and closed as it's been reported as buggy and alternative suggested.
|
|