problem: when running starter templates, no pictures and css styles are beeing deployed, only the text works,
but the start templates process says "success"


error message seen in the apache log file:
[Mon Nov 28 11:15:33.544383 2022] [fcgid:warn] [pid 24679] [client] mod_fcgid: stderr: PHP Warning: XMLReader::read(): /var/customers/webs/customer1/wp-content/uploads/2022/11/wxr.xml:1: parser error : Document is empty in /var/customers/webs/customer1/wp-content/plugins/astra-pro-sites/inc/importers/wxr-importer/class-wxr-importer.php on line 256, referer: http://mywebseite/wp-admin/themes.php?page=starter-templates&ci=5

>> since we use mod_fcgid it seams that some rights are missing,

so we changed the php configuration:

allow_url_fopen = On
max_execution_time = 60
max_input_time = 60
memory_limit = 512M
post_max_size = 100M
SubstituteMaxLineLength = 20M
upload_max_filesize = 100M

we also disabled the function "curl_exec", but this was probably not the most important setting

>> probably allow_url_fopen or SubstituteMaxLineLength was the important setting

computer2know :: thank you for your visit :: have a nice day :: © 2024