Support » Fixing WordPress » “URL file-access” errors!

  • jpDiMaggio.com needs your help!

    I went on vacataion, and when I cam back my site was in all dissarray. I learned that my host has switched over to a new ‘control panel’ and that seems to have crashed out my PHP coding.

    Can someone help me walk through phpMyAdmin and how to ensure that PHP is turned on and how to ensure “URL file-access” is enabled and how to ensure “http-wrapper” is turned on?

Viewing 5 replies - 1 through 5 (of 5 total)
  • you need to address that error with your host. and if you google that error:

    http://www.google.com/search?hl=en&q=URL+file-access+is+disabled&btnG=Google+Search

    the first link indicates its another wp user with similar issues. Its not something that anyone here can fix easily for you. Find out from Godaddy EXACTLY what they are blocking, if its simple includes youre in a world of hurt, as are going to be alot of WP users if they do that site-wide.

    Thread Starter mellojoe

    (@mellojoe)

    Thanks. I had searched for the error, and I have seen some of those similar “cURL” entries. However, I thought that I could use phpMyAdmin to go through and turn back ON the old php access. I guess that is not the case … ?

    I will research cURL and see if I need to recode my webpage.

    The funny thing is that all my WordPress columns are working fine! It is only the header that is broken. Go figure.

    Thread Starter mellojoe

    (@mellojoe)

    UPDATE:
    Well, I’ll be a Monkey’s uncle!

    IT WORKED!

    I just poked around in a little cURL stuff and it worked.

    <?php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "http://domain.com/your_include.php");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_exec($ch);
    curl_close($ch);
    ?>

    This is the code I am using in place of anywhere I used the php-include code. It works perfectly. I’m updating the rest of the site now, so it should all be fixed shorty.

    Who knew it was that simple?

    Thread Starter mellojoe

    (@mellojoe)

    Resolved. Thank you!

    Mellojoe,

    Can you please elaborate a bit more.

    Am I running your codes in a file, say fixme.php, on the WP root once.

    Or I need to add your code to my WP template which has php-include code?

    Moreover, where is my include.php if I have only WP scripts on my domain>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“URL file-access” errors!’ is closed to new replies.