SPPB Backend Editor Refuses To Save Modifications - Question | JoomShaper

SPPB Backend Editor Refuses To Save Modifications

H

H

SP Page Builder 8 months ago

Website/page: test.deijsmannetjes.nl/ijstaarten SPPB page: FP-A-5

I am working on this page since a week. Initially, when I would add a saved section, I could not save the page anymore. One of your collegueas (Asfakur) advised me to use the frontend editor as a workaround.

But now also duplication of sections and creation of a new section (in the backend) gives the same problem. I cannot save the page . In the frontend editor I can still duplicate a section and save the page. But then when I modify the same section in the backend, the page does not save.

Also when I go back to admin, I sometimes get a red message "e.response is undefined"

Askafur advised me to disable the ModSecurity function. But I does not sound very good to disable security features of a server just to be able to save a SPPB page!

So can you fix this problem for me?

0
11 Answers
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183184

Hi there,

Thank you once again for reaching out.

We have carefully investigated your site. The issue is not specific to a single page but occurs when a large amount of content is being saved from the backend for any page.

From your system information, we noticed that some configurations do not meet the minimum technical requirements for SP Page Builder. Please update the following settings and try again:

  1. PHP max_execution_time: Increase it to 300 or higher (currently set to 30 https://prnt.sc/9JbfaKUZltaw). This is likely the main cause of the issue.
  2. PHP memory_limit: Set it to 1024MB (currently 368MB).
  3. PHP file_get_contents(): This function must be enabled, but it appears to be unavailable on your system.

Making these changes should help resolve the issue. Let us know if you need further assistance.

Best regards

0
H
H
Accepted Answer
8 months ago #183218

PHP max_execution_time is now 330 PHP memory_limit is now 512 (maximum setting) PHP file_get_contents(): as far as I know, this is a standard function of PHP which is always avaiulable.

I also sked my ISP whether they could switch off Modsecurity; but this can only be done at server level. The can switch off specific rules at domain level.

I appreciate your help very much. But I do not understand why SPPB 5 has such very extreme requirements which were not necessary for SPPB 3 and not for any other plugin that I am using, includign Joomla itself.

Edit Things are getting nasty. When I open my front page in teh backend editor (made in the past with SPPB3 ) and just try to save it: same problem!!! I also get a red error message "Request failed with status code 503".

Edit 2 I did some more testing. I have a website www.deijsmannetjes.nl, which is a clone of test.deijsmannetjes.nl. Also there I cannot save pages anymore once I changed them!

I have another website (zorgboerderijwillemshoeve.nl) , Joomla 5, SPPB 5, same ISP. No adaptations of memory_limit etc. There I do not have the problem. When I export page FP-A-5 from test.deijsmannetjes.nl and import it in zorgboerderijwillemshoeve.nl, I do not have any save problems with this page!

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183548

Hi,

Sorry for the inconvenience caused and for the delay in response. Thank you for your kind words and understanding.

I completely understand your concerns. The release of SPPB 5 has introduced more stringent requirements aimed at enhancing performance and security, which may seem more demanding when compared to SPPB 3 or other plugins.

I have thoroughly tested your site on our development server, and everything seems to be functioning well on the page. Please take a moment to verify, and you will find the admin credentials in the hidden content section.

Finally, I strongly believe the issue may be related to your server or server configuration. Based on my testing, the problem does not appear to be page- or content-specific. When the page content increases, the issue of infinite loading may begin.

Please let me know if you need any further assistance.

Best regards

0
H
H
Accepted Answer
8 months ago #183557

Hello Asfakur,

Thanx for the effort you put into my problem. It indeed suggests it is a server issue.

This are my server settings compared to your minimum requirements:

  • PHP 8.1
  • Memory_limit: 512 (max value I can set)
  • post_max_size: 128 (max value I can set)
  • upload_max_filesize: 64
  • max_execution_time: 330
  • MariaDB 10.6
  • Joomla 5.2.3

These recommended settings I do not know. Where can I find these?*

  • Mb_string: ???
  • Fileinfo: ??
  • GD Library:??
  • CURL library: ??
  • file_get_contents(): ??
  • allow_url_fopen or cURL must be enabled

What settings should I ask for with my ISP?

Kind regards,

Hubert

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183617

Hi,

Our development team has thoroughly investigate your issue.

To better understand the error occurring when the page content exceeds a certain size, they require your server log. This will help identify the root cause of the problem.

Additionally, if you can provide cPanel access in the hidden content section, it would greatly assist in diagnosing and resolving the issue more effectively.

Thank you for your cooperation. Rest assured, I am also careful to ensure a prompt resolution.

Best regards

0
H
H
Accepted Answer
8 months ago #183626

Hello Asfakur,

Tnakx for the reply.

Attached links to the user and arror logs of today for test.deijsmannetjes.nl Around 11:46 I have opended one of teh problem pages, modified something and tried to save it. Which failed.

My ISP is using DirectAdmin instead of cPanel. Is that a problem?

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183627

Thank you for your prompt response. After reviewing your error log, it appears that the issue is related to 'ModSecurity' or the Web Application Firewall (WAF) from your hosting provider.

The firewall rules seem to be blocking requests after a certain amount of content is reached. Please contact your hosting provider and request an increase in the content body limit to at least 20MB, or ask them to adjust the ModSecurity rules to avoid blocking requests with large content bodies.

You may also want to share the error log with them for further context.

I hope this resolves the issue.

Best regards

0
H
H
Accepted Answer
8 months ago #183686

Hello Asfakur,

Thanx for the info. I'll discuss it with my ISP. Will come back to you after that.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183713

Thank you for your initiative. Please keep me informed of any updates you receive from there.

0
H
H
Accepted Answer
8 months ago #183765

Hello Asfakur,

My ISP increased the request body limit and that seems to have solved the problems.

Thnx for your help.

0
Asfakur Rahman Saikat
Asfakur Rahman Saikat
Accepted Answer
Support Agent 8 months ago #183942

Glad to hear your problem has been solved.

Thanks for notifying me. I've noted the issue.

0