Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Black Tiger on June 12, 2018, 01:26:08 PM

Title: Registration agreement blank page
Post by: Black Tiger on June 12, 2018, 01:26:08 PM
I've seen this on the forums a couple of times but I don't see a real solution.

Problem: In the Admin control panel, members, registration agreement, you can setup a registration agreement.
However, when I save one, I only get a blank page in there in the Admin panel.

The agreement.txt and agreement.dutch.txt are adjusted and working correctly.
So we have an English and Dutch language, both default so no utf8.

These are the mods:
1.    Remove "Last edit" mod    0.2.5
2.    Birthday On Register    1.0
3.    Child Board Removal    1.0
4.    My Posts SMF2    1.2
5.    Contact Page    3.2
6.    Project Snow 1.2
7.    Like Posts    2.0.5
8.    SMF 2.0.15 Update    1.0
9.    Redirection Topics    1.0.3

SMF version 2.0.16
PHP 5.6.36
Apache 2.4.33

Can I fix something so the page in the Admin panel is not blank anymore?
Title: Re: Registration agreement blank page
Post by: Kindred on June 12, 2018, 02:22:29 PM
url?
Title: Re: Registration agreement blank page
Post by: Illori on June 12, 2018, 02:25:33 PM
have you checked your server error log to see what it says?
Title: Re: Registration agreement blank page
Post by: Black Tiger on June 12, 2018, 02:51:37 PM
The url is https://www.duckfiles.org however the agreement is displaying to new users so I hope you can see anything.

@Illori: Yes. I even had it open during I pushed save. There were no entry's made in the server log neither in the error.log of the forum.
Title: Re: Registration agreement blank page
Post by: Black Tiger on June 12, 2018, 02:55:27 PM
Oops, sorry, I was looking in the normal log, should have been looking in the SSL log, there I see this when pushing the save button:
84.30.xx.xxx - - [12/Jun/2018:20:54:37 +0200] "POST /forum/index.php?action=admin;area=regcenter HTTP/1.1" 200 5923 "https://www.duckfiles.org/forum/index.php?action=admin;area=regcenter;sa=agreement;a46bf3d1=cdf3aed3457f17af7b6d653d5ed6ba91" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"
Nothing else.
Title: Re: Registration agreement blank page
Post by: GigaWatt on June 12, 2018, 06:57:23 PM
Quote from: Black Tiger on June 12, 2018, 01:26:08 PM
SMF version 2.0.16

???
Title: Re: Registration agreement blank page
Post by: Black Tiger on June 12, 2018, 07:46:09 PM
Yeah I got a sneak peak version. :D

LoL no, this was a typo ofcourse. Has to be 2.0.15.
Title: Re: Registration agreement blank page
Post by: GigaWatt on June 12, 2018, 08:48:27 PM
Actually, I thought I missed an update :D.
Title: Re: Registration agreement blank page
Post by: Black Tiger on June 13, 2018, 07:30:08 AM
No problem. If everything is good you would be able to see in the Admin panel that there is a new version.

Anybody a clue on the white page?
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 07, 2018, 07:18:17 PM
Still looking for a solution. Anyone?
Title: Re: Registration agreement blank page
Post by: Sir Osis of Liver on July 07, 2018, 11:36:08 PM
Agreement (Dutch) displays normally in registration.  Your forum is running in https, but the link you posted above includes an http.  Maybe you need to check your paths.
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 08, 2018, 07:58:47 AM
Thank you, but as far as I could see all paths are correct. For text it doesn't matter if it's http or https. The white page is only in the admin section. In registration it indeed displays correctly.

Quotebut the link you posted above includes an http.
I don't see any link I posted which included http? Or did you mean this part of the log?
HTTP/1.1" 200 5923
That is not a link but a default log entry of apache with status code 200 which means all is ok. Not a link. Or do you mean something else?
Title: Re: Registration agreement blank page
Post by: Illori on July 08, 2018, 08:11:09 AM
without an error being logged, it is almost impossible to find out why you are getting a blank/white page after saving the agreement.
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 08, 2018, 08:58:58 AM
Oke. I might try to disable the mods then, see if one of those is causing the issue.
Thanks.
Title: Re: Registration agreement blank page
Post by: Aleksi "Lex" Kilpinen on July 08, 2018, 09:00:40 AM
For some general pointers on a white page error: https://wiki.simplemachines.org/smf/What_the_white_screen_of_death_means
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 08, 2018, 09:45:33 AM
I already tried those, even on server level but no error pops up, not in the error log and not in the apache logs. Odd.
Thank you anyway for the reply.
Title: Re: Registration agreement blank page
Post by: Sir Osis of Liver on July 08, 2018, 05:15:51 PM
This problem has been reported previously, found this post (https://www.simplemachines.org/community/index.php?topic=559841.msg3973361#msg3973361) from May.  Unfortunately it was ot and no one responded, but if you search you may find other related posts.
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 08, 2018, 05:28:31 PM
Yep, I already found a couple of similar threads, but all without a solution or something which was not applicable for our situation.
On my own board there is absolutely no problem with it.
So I've to test some things, maybe it's a theme issue or a mod issue. Pity there is no error logged, that would make things a lot easier.
Thank you for thinking with me!
Title: Re: Registration agreement blank page
Post by: Arantor on July 12, 2018, 10:11:13 AM
Do either agreement files contain a UTF-8 character? Or Word "magic quotes"?
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 12, 2018, 11:57:32 AM
Thank you Arantor.
As far as I know, there are no UTF-8 characters or magic quotes.

The only things used are bbcodes for bold and underlined and list type.

[b][u]BOARDREGELS[/u]:[/b]
[list type=decimal]

So the list type and lines inside the list type like this:
[*]No illegal links allowed

Title: Re: Registration agreement blank page
Post by: Arantor on July 12, 2018, 12:03:14 PM
Did you copy paste it from Word?
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 12, 2018, 12:05:58 PM
YES! Fixed.

No it was copied from earlier made rules. I never use Word for linux stuff.
But the admin had changed some text it seems and made a typo with it.

Because of your reply I had another and better look, because a couple of lines went of my screen in SSH.
Now there was 1 line containing wrongly a ë which should be a normal e. I don't know if this is a magic quote or an UTF-8 character.

But after changing this to just e, the agreement is visible again!

Thank you very much for pointing this out!!
Title: Re: Registration agreement blank page
Post by: Arantor on July 12, 2018, 12:08:38 PM
This is a UTF-8 character. (Smart quotes are the typographically correct quotes that Word, specifically, issues)
Title: Re: Registration agreement blank page
Post by: Black Tiger on July 12, 2018, 12:10:38 PM
Oke I'll remember that. Very good you thought of this.
Thanks!