Forums

Broken link to posts (3 posts)

  1. gabijuns
    Member
    Posted 4 months ago #

    I've installed the Sight theme (from WPShower) and started testing it posting some texts. It was working fine. The next second, it wasn't anymore. I mean: I didn't do any move to justify it.

    When I click in the posts links in the homepage, it gives me an error like this:

    PHP Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in E:\home\gabijuns1\Web\testeativista\wp-content\themes\sight\functions.php on line 725
    PHP Warning: file_get_contents(http://tinyurl.com/api-create.php?url=http://gabijuns.com.br/testeativista/?p=36) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in E:\home\gabijuns1\Web\testeativista\wp-content\themes\sight\functions.php on line 725

    I've already changed the permalinks, but it didn't work.

  2. gabijuns
    Member
    Posted 4 months ago #

    I've posted it pastebin, here: http://pastebin.com/M8FrjLSU

    The problem seems to me in line 725, that says
    $tinyurl = file_get_contents("http://tinyurl.com/api-create.php?url=".$url);

  3. gabijuns
    Member
    Posted 4 months ago #

    It isn't working yet. I've already re-uploaded the functions.php theme file.

Reply

You must log in to post.

About this Topic