Blank page after login

CMSimple 4.0 und höher
Post Reply
ffelicia
Posts: 39
Joined: Mon 2. Nov 2015, 18:46
Location: Præstø Denmark
Contact:

Blank page after login

Post by ffelicia »

Installed the new version on two different sites.
One with cmsimple in root - no problem
Another with cmsimple in folder NEW (where the old version of the site also was located, using .htaccs redir - working) and here I have the problem tha after login, showing the editing page and top-bar. any selection (could be a page or SETTINGS) result in at page without the editing menu, just like view mode)
Started with at missing da.php in plugin COMMENT giving a error (debug is on) which was solved by creating a da.php copy of en.php language file.
I need a hint or advice of what maybe the reason for this reaction.
All file permissions has been checked
Tried with the old business template and a new template , but same result

Any suggestions (knowing there is very little usefull debug info) ?

JH
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Blank page efter login

Post by Gert »

ffelicia wrote: Tue 4. Dec 2018, 12:52 ... (where the old version of the site also was located, using .htaccs redir - working)
Deleted Browser Cache and Cookies?

FAQ: viewtopic.php?f=20&t=244

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ffelicia
Posts: 39
Joined: Mon 2. Nov 2015, 18:46
Location: Præstø Denmark
Contact:

Re: Blank page efter login

Post by ffelicia »

YES , and tried different browser with same result.
It is not a total blank screen, but functional blank as the menu bar disappeared
see www.troldand.dk/blank-screen-not blank but no func.jpg
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Blank page efter login

Post by Gert »

Could you send me the CMSimple Password by PM? So I could have a look,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ffelicia
Posts: 39
Joined: Mon 2. Nov 2015, 18:46
Location: Præstø Denmark
Contact:

Re: Blank page efter login

Post by ffelicia »

Done
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Blank page efter login

Post by Gert »

Thanks for access.

You have a BOM (Byte Order Mark) anywhere in a file:

https://validator.w3.org/i18n-checker/c ... te-by-uri+ (scroll down)

That's why you are logged out after any action. Have you edited any file offline, and saved as utf-8 with BOM (Byte Order Mark)? You have to save all files as utf-8 without BOM. A recommended Texteditor to edit files is notepad++:

https://notepad-plus-plus.org/

You can make the update 4.7.6 again. If the problem is not gone, check your config- and language files for BOM,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ffelicia
Posts: 39
Joined: Mon 2. Nov 2015, 18:46
Location: Præstø Denmark
Contact:

Re: Blank page efter login

Post by ffelicia »

Gert

Thank you for the validate and analyze.
I am not aware of any offline update, but it may have been, At the validate say so for sure.
I will follow your advise of course

JH
PS
Notepad++ is my txt editor
ffelicia
Posts: 39
Joined: Mon 2. Nov 2015, 18:46
Location: Præstø Denmark
Contact:

Re: Blank page efter login

Post by ffelicia »

Problem solved :D
And BOM was the key to problem
I used a Cleaner https://github.com/emrahgunduz/bom-cleaner , first testing on two demo sites and then om production.
Lot of "private" x.htm files used in pop-up was cleaned, but so was config too, and suppose it was the one causing the edit problem.

Thanks again for help and hint about connection to BOM and verification of the site.

JH
Post Reply