flatpressblog / flatpress

FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
https://flatpress.org
GNU General Public License v2.0
185 stars 57 forks source link

New post makes FP hang #159

Closed Fraenkiman closed 2 years ago

Fraenkiman commented 2 years ago

Hello, everyone,

In the FlatPress version 1.3.dev [smartyupdate] from the master branch (09.10.2022 21:13) clicking through the menus in the Admin center FlatPress hanging after I create a new post. The CPU load of the web server then increases to 100%. Only after restarting the server and clearing the browser cache can you at least access the blog.

Tested with FP with no other plugins other than standard

beitrag.txt

Oct 10 23:44:06 frank-web php: PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 401178624 bytes) in /var/www/html/flatpress-master-smarty/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^45b56d451334d455d19f37231165ec82f21d6616_0.admin.entrylist.php on line 62
Oct 10 23:44:06 frank-web php: PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 401166336 bytes) in Unknown on line 0
O

Apache/2.4.54 PHP 7.4.30 FPM/FastCGI

Best regards and a good start into the new week

azett commented 2 years ago

Fixed with 42d72855a69c42011a026595cebf48fa1d5379a0 - can you confirm?

Fraenkiman commented 2 years ago

Hello @azett ,

the fix 42d7285 was not. I suspect 227b4d3 was the solution. Therefore I am closing the issue.

Best Regards