Page 1 of 1

Blank panel

Posted: 17 Jul 2017, 14:44
by stobbie
When I Login to my panel I only get an almost blank screen. What could cause the problem?

Image

Re: Blank panel

Posted: 18 Jul 2017, 23:36
by mjau-mjau
There is something "wrong" with your x3.panel.css stylesheet, which is used for the style and layout of the panel ... That is why it is corrupted. I tried to replace it directly in browser with my own local CSS file, and the issue fixes itself. The CSS simply isn't applying.

YOURS, css not working:
Image

CSS file with mine, works:
Image

I have never seen this before, but the CSS file is corrupted somehow or uploaded in incorrect binary/ascii format, or the server is not serving CSS files properly. Try to re-upload the file:
http://one-ten.nl/panel/filemanager_css/x3.panel.css

I can only check from here if you can offer FTP login to your website.

Re: Blank panel

Posted: 10 Sep 2017, 05:27
by stobbie
I have reuploaded the css now, but still the same problem. 
I'll send you my login details..

Re: Blank panel

Posted: 10 Sep 2017, 07:47
by mjau-mjau
I spent quite some time with this, and your server is simply corrupting the CSS files on upload. It is something with character encoding or something, and you need to get this fixed by your server host. Some fragments of evidence:

This is from the actual CSS file, and how it's output on all normal web servers:
https://demo.photo.gallery/panel/filema ... .panel.css
Image

But YOUR server is messing up characters, and I believe this is done on upload, and not by output:
http://one-ten.nl/panel/filemanager_css/x3.panel.css
Image

Similar encoding issues repeat themselves throughout the entire CSS document, corrupting the CSS file. For example:
Image

I can't say exactly what your web server does, if it's related to only FTP/upload, or some other encoding mechanism. It is definitely being corrupted on upload, because I tried to upload and download the CSS file, and it had CHANGED (eg. it doesn't have anything to do with web server output encoding). The file actually CHANGES (is corrupted) by server on upload. You need to solve this with your web host ...

Re: Blank panel

Posted: 11 Sep 2017, 14:40
by stobbie
Very strange.. thanks, I'll go investigate!

Re: Blank panel

Posted: 11 Sep 2017, 15:30
by stobbie
Hmm.. even more strange. 
I've now opened the css file in the online filemanager from the webhost, deleted everything inside it and pasted the original css content and saved it again, but I still have a blank panel.

Re: Blank panel

Posted: 12 Sep 2017, 01:04
by mjau-mjau
stobbie wrote:Hmm.. even more strange. 
I've now opened the css file in the online filemanager from the webhost, deleted everything inside it and pasted the original css content and saved it again, but I still have a blank panel.
Actually, the CSS works fine now ... You probably just have to empty your browser cache. I couldn't try to login though, since your FTP did not work any more from here.

CSS clearly loading properly now:
Image

When the CSS was not working, it looked like this:
Image

Re: Blank panel

Posted: 12 Sep 2017, 01:13
by stobbie
Haha, I still have a blank panel, even on another computer..
I'm not in a hurry, my website is more or less static and I can add photo's through ftp.
But strange things happen, like you cannot login anymore and I didn't change anything. 
I'll look in into it again later when I find the time..

Re: Blank panel

Posted: 12 Sep 2017, 06:05
by mjau-mjau
If you want, send me panel login details per private message, and I will try from here.

Re: Blank panel

Posted: 12 Sep 2017, 08:02
by stobbie
I will

Re: Blank panel

Posted: 12 Sep 2017, 09:19
by mjau-mjau
Unfortunately, there is something seriously damaged with this server's upload or file management. I found more "changed" files, in this case javascript http://one-ten.nl/panel/filemanager_js/ ... s?v=3.23.2.
Image


That is why the panel returns a javascript error, and a blank page:
Image

As far as I can see, this is the only file that creates an error, but I am not 100% sure.

Re: Blank panel

Posted: 12 Sep 2017, 10:49
by stobbie
When I edit the .js file in the filemanager from the webhost the file is not damaged. So only the output seems to be damaged. I've opened a ticket with the hosting company. Lets see what they can find out.

Re: Blank panel

Posted: 12 Sep 2017, 11:42
by stobbie
webhost couldn't find anything so I've tried something myself.
Updated PHP version to PHP7.1 and everything seems to work again!
Thanks for your help!

--edit--

It works in Edge, but not in Chrome.. but at least I can get back in the panel again.

Re: Blank panel

Posted: 12 Sep 2017, 12:58
by mjau-mjau
stobbie wrote:webhost couldn't find anything so I've tried something myself.
Updated PHP version to PHP7.1 and everything seems to work again!
Thanks for your help!
Nice!
stobbie wrote:It works in Edge, but not in Chrome.. but at least I can get back in the panel again.
It works fine in Chrome from here. You probably have the old corrupted javascript file cached in your Chrome browser.
Image

Re: Blank panel

Posted: 12 Sep 2017, 13:16
by stobbie
yes.. that's probably the problem.. thanks!