Jump to content
Sign in to follow this  
PawelGIX

Blank white page in login screen

Recommended Posts

Hi I installed processwire php PHP 5.3.29 and on the login page, I get a white screen. Front-end works without a problem. Any ideas.
No errors in the file errors.txt

Share this post


Link to post
Share on other sites

Hello PawelGIX,

have you tried to enable debug mode, to see more details? Of course the debug mode shouldn't be enabled on a live site, but you could enable it just for a short time, until you know the issue.

Regards, Andreas

  • Like 1

Share this post


Link to post
Share on other sites

That is interesting, because it doesn't show anything at all. If it would be an .htaccess-error, at least an 500 error should be thrown. But it doesn't seem to be, because your front end works properly.

PHP 5.3.8 and 5.4.45 are already outdated versions, but they should be supported. Preferably your hoster should offer at least PHP 5.6.x. You can always make sure to have the right PHP version running, by uploading an file f.e. info.php with the phpinfo-function in it. After checking, be sure to delete it, because it offers potential attackers an insight to your server environment.

Maybe someone else has more info on this issue. Nice site by the way.

Share this post


Link to post
Share on other sites
4 minutes ago, AndZyk said:

That is interesting, because it doesn't show anything at all. If it would be an .htaccess-error, at least an 500 error should be thrown. But it doesn't seem to be, because your front end works properly.

Exactly. No PHP errors. No errors in PW logs. Server HTTP response 200. I have no idea what to do next

Share this post


Link to post
Share on other sites

I would start with adding echo and exit() in site root index.php or (admin.php?) on various lines to see where it starts failing. If the echoes are shown and you reach the end of the file, move on to the next php file.

Another issue could be htaccess. I would try to uncomment sections and see what happens.

  • Like 1

Share this post


Link to post
Share on other sites

I found it.

Missing file: admin.php in templates directory. By the way very helpful would be an error message in this case, or log entry ;) 

Share this post


Link to post
Share on other sites

...Or not deleting this file in the first place. But glad you found it. ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By fruid
      Hi,
      this is the first time I'm using ProcessWire.
      I thought I get how fields, template and pages work, but when I create a template in the CMS, it doesn't generate any file in site/templates/
      Then I thought I might need to create a blank file myself manually on the FTP (which already seems odd to me).
      Once I did that, I tried to add fields to the template but again, doesn't write to the php file.
      When I create a new page and apply said template to it, the page stay blank.
      AFAIK the mod_rewrite of the apache is on and I went for the worst case scenario described here https://processwire.com/docs/security/file-permissions/ and set all file-permissions for future files to 0666 and folders to 0777 in the config.php
      What am I not getting and what am I doing wrong?
      Help is appreciated, stay save everybody,
      Fred
×
×
  • Create New...