Matze Posted July 7, 2022 Share Posted July 7, 2022 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? Link to comment Share on other sites More sharing options...
gRegor Posted July 7, 2022 Share Posted July 7, 2022 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 More sharing options...
Matze Posted July 7, 2022 Author Share Posted July 7, 2022 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 More sharing options...
Matze Posted July 7, 2022 Author Share Posted July 7, 2022 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 More sharing options...
teppo Posted July 7, 2022 Share Posted July 7, 2022 "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. 2 Link to comment Share on other sites More sharing options...
Matze Posted July 9, 2022 Author Share Posted July 9, 2022 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 More sharing options...
bernhard Posted July 9, 2022 Share Posted July 9, 2022 I wonder if PW should check the memory limit during install? Done: https://github.com/processwire/processwire-requests/issues/449 6 Link to comment Share on other sites More sharing options...
teppo Posted July 9, 2022 Share Posted July 9, 2022 6 hours ago, bernhard said: I wonder if PW should check the memory limit during install? Sounds like a good idea ? 1 Link to comment Share on other sites More sharing options...
szabesz Posted July 16, 2022 Share Posted July 16, 2022 On 7/9/2022 at 10:37 AM, bernhard said: Done: https://github.com/processwire/processwire-requests/issues/449 To those who liked it: please do not forget add your thumbs up to the GitHub "issue". 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now