Jump to content

Blank screen after clean installation


Matze
 Share

Recommended Posts

Hi

I'm trying to install a page on https://www.arsys.net 

(It's not my first PW installation, i made dozens of them before on different servers. On this hosting for the first time. This error i never had before …)

√  htaccess works, (except Options -MultiViews, has to be commented)

√  php 8

√  Database connection works

I'm going through the clean installation process step by step

Everything works fine

After clicking the last step … the following page looks like nearly empty (attached screenshot, header but no content)

If i try to opne the root of the page it's blank white  (http status code 500)

config errors are set to true
 

Any ideas where to start searching for this strange problem?

 

 

Bildschirmfoto 2022-07-07 um 17.30.21.png

Bildschirmfoto 2022-07-07 um 17.26.14.png

Link to comment
Share on other sites

Is there anything in /site/assets/logs/errors.txt (or exceptions.txt)?

I will usually turn on error_reporting and display_errors in index.php or ready.php:

error_reporting(E_ALL);
ini_set('display_errors', '1');
Link to comment
Share on other sites

7 minutes ago, gRegor said:

Is there anything in /site/assets/logs/errors.txt (or exceptions.txt)?

I will usually turn on error_reporting and display_errors in index.php or ready.php:

error_reporting(E_ALL);
ini_set('display_errors', '1');

Thanks for this idea. I pasted it in index.php and there is still no error message.

Interesting thing - if i put

<?php namespace ProcessWire;
error_reporting(E_ALL);
ini_set('display_errors', '1');
echo 'test';

it outputs "test" on the blank page. Status code is still 500.

 

Link to comment
Share on other sites

17 minutes ago, gRegor said:

Is there anything in /site/assets/logs/errors.txt (or exceptions.txt)?

Oha!
Well … i have no idea how to fix this.
 

2022-07-07 19:09:46    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
2022-07-07 19:09:47    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
2022-07-07 19:09:54    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
2022-07-07 19:10:24    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
2022-07-07 19:10:25    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
2022-07-07 19:12:52    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)

 

Link to comment
Share on other sites

"Allowed memory size exhausted" is often a sign of a loop somewhere, but in this case it's more likely just an issue with your hosting environment or PHP configuration: 16777216 bytes = 16 megabytes, which is quite a small amount of memory. It's not surprising that it keeps running out.

Is this an actual limit of your hosting package, or have you configured PHP to only use 16M? Either way I would recommend raising the limit to at least 64M, or preferably 128M.

  • Like 2
Link to comment
Share on other sites

On 7/7/2022 at 8:55 PM, teppo said:

"Allowed memory size exhausted" is often a sign of a loop somewhere, but in this case it's more likely just an issue with your hosting environment or PHP configuration: 16777216 bytes = 16 megabytes, which is quite a small amount of memory. It's not surprising that it keeps running out.

Is this an actual limit of your hosting package, or have you configured PHP to only use 16M? Either way I would recommend raising the limit to at least 64M, or preferably 128M.

Yes! Thank you very much. I found a way to raise it up to 512 MB in the Control Panel of the hosting. Now it works.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...