use a template, with a large xml manifest file (140kb or larger) enable debug system
always have access to template settings
with large xml file and debug system on, the template settings page causes http 500 error
4.0.9Beta8 DEV
making my template ready for J4 caused me this problem. Dunno if the error is from the size, but it seems. when making the xml manifest smaller, to a certain size, the template settings work with debugging enabled.
please check the php setting max_input_vars
if its at 1000 change it in php to 2000
set to 2k problem still occurs.
php 7.4
max_execution_time:30
max_input_time: -1
max_input_vars: 2000
memory_limit: 128m
was just an idea. sorry it didnt help
Please provide the exact XML file you are using.
http://joonextpro.com/joonextpro.zip is the template file i use to install
you have invalid xml - thats why you have the problem
ok. but works fine without debugging
But editing template styles I get a Memory issue writing log files:
webserver_1 | 2021/05/31 18:37:23 [error] 29#29: *42 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /application/libraries/src/Log/LogEntry.php on line 121PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /application/libraries/vendor/symfony/error-handler/Error/OutOfMemoryError.php on line 1PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 307200 bytes) in Unknown on line 0" while reading response header from upstream, client: 172.19.0.1, server
Fix all the extra that you have on line 290
39,721 characters on one line is pretty crazy - no wonder you didnt see the errors
The root problem is logging in Joomla 4... the following is called, which kills Joomla on 128Mb memory_limit
// Get the current call stack and back trace (without args to save memory).
$this->callStack = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-31 18:57:47 |
Closed_By | ⇒ | cloudfaction |
guys thank you so much. i will close this for now, i can move further with your valued tips! It's mainly the google fonts i load in the option boxes, i will fix that issue. thank you again!
there are other ways to do it if you really want to list all google fonts. Your current method is not sustainable as it will always be out of date as google add and remove fonts.
sorry system is 4.0.0-beta8-dev
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34309.