WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how to add an external site in my wordpress site? (4 posts)

  1. giwrgos88
    Member
    Posted 4 years ago #

    i'm trying to inlcude an external site in my pages but i have the error "

    Warning: require() [function.require]: URL file-access is disabled in the server configuration in .../website/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 1
    "

    does any one know how to do this?

  2. Reaper-X
    Member
    Posted 4 years ago #

    Ask your host to set allow_url_fopen = on or edit php.ini manually if you have access and you're sure about the security implication by doing so

  3. drummergirl
    Member
    Posted 3 years ago #

    *bump*

    I'm having this same issue right now. My host moved php.ini into my public_html directory so I could edit it, but I still get the error even after making changes to the php.ini. The tech said it looks like WordPress is going to the server php.ini and not my copy in the public_html folder.

    What do I do to fix this?

  4. drummergirl
    Member
    Posted 3 years ago #

    Solved it. My php.ini file was missing

    ; Whether to allow include/require to open URLs (like http:// or ftp://) as fil$
    allow_url_include = On

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.