"Blocks" Not loading (endless spinning) - Forum | JoomShaper
Awaiting an answer SP Page Builder

"Blocks" Not loading (endless spinning)

Asked by SonicShock 4 years ago Last activity 4 years ago

Hi friends! Blocks section not loading. All else works great. Exactly the same issue on two different sites, albeit on the same hosting account. Have repopulated the license and email in both. Both are Joomla 4.1.2; PHP 7.4 (have tried 7.3 and 8.0). Pagebuilder 3.86 on one Pagebuilder 3.7.15 on the other, but updating that to 3.8.6 didn't resolve the issue. I've rebooted, emptied caches, tried Firefox & Chrome (vs Safari) checked other trouble shooting issues in the documentation. As you will see when you try the sites, there is a syntax error in the javascript console ("cannot parse"), which is identical (ie. the same code line) in both sites. But understanding what causes it, or how to fix it are both well beyond my pay grade.

Both sites are very simple installations & sites, (one is a clean fresh Joomla install), no other extensions or templates outside of Helix Ultimate and Pagebuilder.

Unfortunately it's been a while since I used SPP, so can't tell you if this issue is new or old.

20 replies

SonicShock Asked this

Hi Rashida!
allow_url_fopen is ON; PHP memory 512M; PHP max_excution_time= 300; PHP upload max filesize = 32M; OpenSSL? I guess - the sites all have SSL certs. WHM Panel and file_get_contents() are beyond my scope.
Downscale to PHP 7.3 or even 5.6 won't work. Nor will 8.0 or 8.1.

Of the parameters I don't know or can't access, I suspect other things would be broken as well. But only this particular call is a problem. I'd invite you to run the front end on my sites, within SPP click on "Blocks", then have a look at the errors that appear - both a synatax error of an unexpected token ('.') and a Failed to Load Resource: cannot parse response.

I'm guessing there's a code glitch, but this is in two different sites, and uninstalling/reinstalling SPP didn't fix. So I'm guessing then it's a higher level thing that's affecting the whole hosting account, but I don't know where to look. As well, usually other things would break, but not here.

Andrew

Rashida Rahman Staff

Hi,

Kindly, ask hosting support to check if mod_security is enabled for your site. If yes, then kindly turn it off for both of your problematic websites, and check!

For your other parameters, your hosting provider can help you.

Note: The link of your cpanel is not working for me.

Best Regards

SonicShock Asked this

Hi Rashida!

  1. Confirmed that " file_get_contents()" is valid and operational on my host.

  2. They won't turn off "mod_security". But given GoDaddy host about 18% of American? World? websites, I suspect that's not a problem.

  3. I've provided refreshed Cpanel log-on details. I think the old one was fine (minus the sentence ending period), but just in case, I've copied and pasted in the hidden section below.

  4. I'm guessing that your php calls for "blocks" are close to identical on the other sections of the menu ("layouts" or "add-ons" for example) and they work, so likely all the other php provisioning / security / SSL issues are okay. The problem reports as a syntax error in SPP, which is leading to a parsing error on that specific call. But then it occurs on two sperate web sites, separate Joomla, Helix, and SPP installs. I'm out of ideas. :-(

SonicShock Asked this

Hi Rashida!

  1. Confirmed that " file_get_contents()" is valid and operational on my host.

  2. They won't turn off "mod_security". But given GoDaddy host about 18% of American? World? websites, I suspect that's not a problem.

  3. I've provided refreshed Cpanel log-on details. I think the old one was fine (minus the sentence ending period), but just in case, I've copied and pasted in the hidden section below.

  4. I'm guessing that your php calls for "blocks" are close to identical on the other sections of the menu ("layouts" or "add-ons" for example) and they work, so likely all the other php provisioning / security / SSL issues are okay. The problem reports as a syntax error in SPP, which is leading to a parsing error on that specific call. But then it occurs on two sperate web sites, separate Joomla, Helix, and SPP installs. I'm out of ideas. :-(

SonicShock Asked this
4 years ago · edited

Hi Rashida!

Sorry for all the repeated posts below this. I kept posting, but the thing kept showing that I was posting a blank field. So signed out/then in again and found all these repetitive posts.....which your thing won't let me delete. :-(

SonicShock Asked this

Hi Rashida!

  1. Confirmed that "file_get_contents()" is valid and operational on my host.
  2. They won't turn off "mod_security". But given GoDaddy have 18% of the American? Global? hosting market, I doubt that's the problem.
  3. I've provided refreshed Cpanel log in details.
  4. I'm guessing your php calls for "blocks" are close to identical as those for "layouts" and "add-ons". Those calls work perfectly so likely the other PHP provisioning/security/SSL issues are not a factor. The problem reports as a syntax error in processing SPP code (I assume it's SPP), which in turn appears to be leading to a parsing error on that specific call. But then the identical problem (and reported error) is appearing in two separate web sites, separate Joomla, Helix, and SPP installs. I'm out of ideas. :-(
vlad

Hi! I have a similar error layouts and templates are not loaded in SPPB! I can't fix this error for more than a month, the correction steps in the SPPB documentation do not help.(((

Rashida Rahman Staff
4 years ago · edited

Hi SonicShock,

No issues. I have tried your cpanel to visit now, this time succeeded!

However, could not find mod_security under security section there. I have shared a screenshot in the hidden content box.

Would you please contact your hosting provider again and request them to disable mod_security only for your problematic sites to check if this is causing the issue or not. It's important. Beause, we have experienced such cases many times before. Sometimes mod_security sets too sensitive rules, and these can causes blocking of many frontend features, even saveing doesn't works sometimes.

This is the reason I am requesting to disable mod_security repeatedly. Sorry about that!

Note: After disabling mod_security kindly clear your Joomla and browser cache deeply, and then check things.

Best Regards

Rashida Rahman Staff

Hello vlad,

Sorry to hear that.

Would you please give me your post link here?

Best Regards

Log in to reply.