ThemeShaper Forums » Thematic


file_get_contents() - file access is disabled in server configuration

(4 posts)
  • Started 11 years ago by fabi
  • Latest reply from Tomcat23
  • This topic is resolved
  1. fabi

    i hope you can help me with the following problem. I installed Thematic and that child theme Gallery. I love that functionality but theres coming an error on single "blog posts":

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /var/www/html/web407/html/portfolio/wp-content/themes/gallery/functions.php on line 131

    Warning: file_get_contents( [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /var/www/html/web407/html/portfolio/wp-content/themes/gallery/functions.php on line 131

    I´m not as good on php so i want to ask you what to do now? Should i change something on my server? Or its better to change the script? I hope someone can help me. I would be very pleased. I want that theme so bad :)



    PS: Hope you can ready my english, its not that good, cause i´m from germany.

    Posted 11 years ago #
  2. amygail

    This warning may mean that your server configuration (your host) is blocking external file access. (I have this problem with Media Temple)

    If you go to Chris Wallace's site (he created the theme) and read the comments it looks like there may be a solution

    Posted 11 years ago #
  3. fabi

    Yeah! Thank you so much. I just had to comment it out :)

    Posted 11 years ago #
  4. Just a quick post because I just ran into it.

    allow_url_fopen = On
    needs to be set in php.ini due to this error.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.