Viewing 2 replies - 1 through 2 (of 2 total)
  • The issue is that hosting does not allow

    allow_url_include

    which means they cannot include external (or over internet) files. That is one security breach anyways. You can talk to their hosting to allow this, or try to use fopen, file_get_contents or cURL, and then eval the code (those options might be blocked by the hoster as well).

    If it is your own server, you need to edit the php.ini file (normally under /etc/php.ini) and add a line at the end saying:

    allow_url_include = 1

    This issue has nothing to do with the GCB plugin, either way.

    Thread Starter drmunden

    (@drmunden)

    Sorry for late reply – I have contacted my hosting provider.

    In the meantime thanks for your helpful response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on PHP snippet’ is closed to new replies.