• I am trying to add some simple php code in a sidebar widget using the Samsarin PHP plugin and am getting the following error. Would you know what it all means and a fix?

    Warning: include() [function.include]: URL file-access is disabled in the server configuration in /hermes/bosweb/web011/b117/ipw.awdevore/public_html/gamesfree/wp-content/plugins/samsarin-php-widget/samsarin-php-widget.php(96) : eval()’d code on line 2

    Warning: include(https://www.ddlspot.com/ddlspot.html) [function.include]: failed to open stream: no suitable wrapper could be found in /hermes/bosweb/web011/b117/ipw.awdevore/public_html/gamesfree/wp-content/plugins/samsarin-php-widget/samsarin-php-widget.php(96) : eval()’d code on line 2

    Warning: include() [function.include]: Failed opening ‘https://www.ddlspot.com/ddlspot.html’ for inclusion (include_path=’.:/usr/local/lib/php-5.2.12/lib/php’) in /hermes/bosweb/web011/b117/ipw.awdevore/public_html/gamesfree/wp-content/plugins/samsarin-php-widget/samsarin-php-widget.php(96) : eval()’d code on line 2

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looks like a server configuration issue. Try contacting your hosts.

    I guess allow_url_fopen is set to false in the PHP configuration. You can try to use the WP function wp_remote_fopen() which will try to use cURL.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP error using plugin’ is closed to new replies.