1. GGGolf
  2. SP Page Builder 3.x
  3. Wednesday, 20 March 2019
We would like to know if you could add an alternative to accessing the URL https://sppagebuilder.com/api/integrations/integrations.json in your code?

For security concerns we turned allow_url_fopen off as it is documented as a serious security risk, ie explained here: http://phpsec.org/projects/phpsecinfo/tests/allow_url_fopen.html

Currently you are calling this URL with file_get_contents, it seems the goal is to get a list of your 2 integrations. Can we store this data locally (file/database) on our server and avoid this external call?

We wouldn't mind having the integrations list updated only with newer version of your software and/or by manual management of this list. BTW we do not need K2 integration, only Article.

The error we get is (which displays a blank page in the administrator tools):
Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /srv/www/joomla3/administrator/components/com_sppagebuilder/helpers/integrations.php on line 30 Warning: file_get_contents(https://sppagebuilder.com/api/integrations/integrations.json): failed to open stream: no suitable wrapper could be found in /srv/www/joomla3/administrator/components/com_sppagebuilder/helpers/integrations.php on line 30 Warning: Invalid argument supplied for foreach() in /srv/www/joomla3/administrator/components/com_sppagebuilder/helpers/integrations.php on line 33
Responses (2)
Accepted Answer Pending Moderation
Hi there,

Thanks for your query. I have noted this issue on our working board. The developer team will give you feedback.

  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 1
Accepted Answer Pending Moderation
the only tip I can give you today is...
Ask hosting support to enable "allow_url_fopen" On for 1h
then install and enable article integration, then you can disable allow_url_fopen.

Integration should still work (in theory).
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 2

There are no replies made for this post yet.
Be one of the first to reply to this post!

This forum is archived

This forum has been archived. Please use JoomShaper official support system.