WordPress.org

Ready to get started?Download WordPress

Forums

All in One Cufon PHP error (1 post)

  1. itinerant
    Member
    Posted 3 years ago #

    Our host doesn't allow loopback to the same HTTP domain. This is firewalled out for security reasons and to prevent infinite loops being formed on the server. This means we get the following errors from two plugin files:

    PHP Warning: file_get_contents(http://www.*****.com/wp-content/plugins/cufon-fonts/Museo_300_300.font.js) [function.file-get-contents]: failed to open stream: Connection refused in /home/sites/*****.com/public_html/wp-content/plugins/all-in-one-cufon/wordpress_cufon_adminpanel.php on line 131, referer: http://www.nowzad.com/wp-admin/options-discussion.php

    file_get_contents(http://www.*****.com/wp-content/plugins/cufon-fonts/Museo_300_300.font.js) [function.file-get-contents]: failed to open stream: Connection refused in /home/sites/*****.com/public_html/wp-content/plugins/all-in-one-cufon/wordpress_cufon.php on line 50, referer: http://www.nowzad.com/wp-admin/options-writing.php

    Changing these lines to use $path_to_files instead of the $cufon_font_location/$file_name, stops the error as it no longer issues an HTTP request to get the file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.