PHP Error - failed to open stream - I will PAY

Discussion in 'PHP' started by mantodeus, Apr 20, 2008.

  1. #1
    Hello

    I have problem with one php script...Script check page rank of entered website.To check PR you need to enter url of the site and verification image,but when I enter the image I get this error :


    Warning: include(../include/function_findrank.php) [function.include]: failed to open stream: No such file or directory in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 2
    
    Warning: include() [function.include]: Failed opening '../include/function_findrank.php' for inclusion (include_path='.:/usr/lib/php') in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 2
    
    Warning: include(../include/function.php) [function.include]: failed to open stream: No such file or directory in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 3
    
    Warning: include() [function.include]: Failed opening '../include/function.php' for inclusion (include_path='.:/usr/lib/php') in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 3
    
    Warning: include(../include/pagerank.php) [function.include]: failed to open stream: No such file or directory in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 4
    
    Warning: include() [function.include]: Failed opening '../include/pagerank.php' for inclusion (include_path='.:/usr/lib/php') in /home/oylinki/public_html/free-seo-tools/check_link_popularity.php on line 4
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/oylinki/public_html/free-seo-tools/check_link_popularity.php:2) in /home/oylinki/public_html/free-seo-tools/include/session.php on line 2
    
    Code (markup):
    varification code is not correct

    How to fix this ? I can give you 10$ if you help me to fix this ... Please help me with this nasty error...
     
    mantodeus, Apr 20, 2008 IP
  2. DartPHP

    DartPHP Banned

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Post the source please.
     
    DartPHP, Apr 20, 2008 IP
  3. Student Gamers

    Student Gamers Banned

    Messages:
    47
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    1: Put session_start(); above all echo'ed content, right at the top of the page under <?php
    2. The reason you are getting errors is because your pages are linking to the wrong place, if you aren't sure just entire direct paths
    e.g.
    <?php
    require_once("/home/oylinki/public_html/free-seo-tools/includes/page.php");
    ?>
    PHP:
     
    Student Gamers, Apr 20, 2008 IP
  4. mantodeus

    mantodeus Active Member

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    I fix this error but now only Yahoo show backlinks,MSN and Google don't work...

    Example code :
       <td align="center" class="border-grey-lrb"><strong class="font-green">MSN</strong></td>
    						   <td align="left" class="border-grey-lrb"><a href="http://search.msn.com/results.aspx?q=link:<? echo $url ?>&geovar=70&FORM=REDIR"><? echo $msn_backlinks?></a></td>
    Code (markup):
     
    mantodeus, Apr 20, 2008 IP
  5. Scriptona

    Scriptona Notable Member

    Messages:
    4,957
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    280
    #5
    If your script is in the path

    /public_html/free-seo-tools/check_link_popularity.php

    Then the file include.php should be in the path

    /public_html/include.php

    or else edit

    check_link_popularity.php

    and replace

    include(../include/pagerank.php)

    with

    include(include/pagerank.php)
     
    Scriptona, Apr 20, 2008 IP
  6. mantodeus

    mantodeus Active Member

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #6
    I did that before your post but thanks.Problem now is that I get results only for Yahoo Backlinks,Google and MSN don't work.
     
    mantodeus, Apr 20, 2008 IP