Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Help

  1. #1
    Join Date
    Jul 2004
    Location
    UK
    Posts
    23,590
    Tokens
    33,601
    Habbo
    xxMATTGxx

    Latest Awards:

    Default Help

    I need some on help on this error;

    Warning: main(ABSPATHWPINC/template-loader.php): failed to open stream: No such file or directory in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17

    Fatal error: main(): Failed opening required 'ABSPATHWPINC/template-loader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17


    Thanks

    Matt


    Previous Habbox Roles
    Co-Owner of Habbox | General Manager | Assistant General Manager (Staff) | Forum Manager | Super Moderator | Forum Moderator

  2. #2
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    207
    Tokens
    0

    Default

    No such file or directory
    Have you uploaded it?
    PHP Code:
    [LEFT]<?[/LEFT]
    [
    LEFT]$name $_GET['name'];[/LEFT]
    [
    LEFT]echo "Hi, your name is $name";[/LEFT]
    [
    LEFT]?>[/LEFT]
    [LEFT][/LEFT]

  3. #3
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    If you have uploaded it maybee theres a spelling mistake somewhere as it says there is an error on line 17

  4. #4
    Join Date
    Jul 2004
    Location
    UK
    Posts
    23,590
    Tokens
    33,601
    Habbo
    xxMATTGxx

    Latest Awards:

    Default

    UPDATE:

    Now it is;

    Warning: main(ABSPATHWPINC/template-loader.php): failed to open stream: No such file or directory in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17

    Fatal error: main(): Failed opening required 'ABSPATHWPINC/template-loader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17

    and the file is:

    <?php

    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
    else $path = 'wp-admin/';
    die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='{$path}setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.");
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-config.php');

    function wp(){};
    function gzip_compression(){};

    require_once(ABSPATH . WPINC . '/template-loader.php');

    endif;

    ?>
    Last edited by xxMATTGxx; 09-08-2006 at 03:44 PM.


    Previous Habbox Roles
    Co-Owner of Habbox | General Manager | Assistant General Manager (Staff) | Forum Manager | Super Moderator | Forum Moderator

  5. #5
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    change:
    Code:
    require_once(ABSPATH . WPINC . '/template-loader.php');
    to
    Code:
    require_once(\ABSPATHWPINC'/template-loader.php\');
    make sure that the folder on your server is ABSPATHWPINC

  6. #6
    Join Date
    Jul 2004
    Location
    UK
    Posts
    23,590
    Tokens
    33,601
    Habbo
    xxMATTGxx

    Latest Awards:

    Default

    What folder is that?


    Previous Habbox Roles
    Co-Owner of Habbox | General Manager | Assistant General Manager (Staff) | Forum Manager | Super Moderator | Forum Moderator

  7. #7
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    Ooo RIght Sorry change:
    PHP Code:
    require_once(ABSPATH WPINC '/template-loader.php'); 
    To:
    PHP Code:
    require_once('\template-loader.php'); 
    Last edited by ClubTime; 09-08-2006 at 05:00 PM.

  8. #8
    Join Date
    Jul 2004
    Location
    UK
    Posts
    23,590
    Tokens
    33,601
    Habbo
    xxMATTGxx

    Latest Awards:

    Default

    done that now i get;

    Warning: main(\template-loader.php): failed to open stream: No such file or directory in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17

    Fatal error: main(): Failed opening required '\template-loader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ifoxmatt/public_html/blog/wp-blog-header.php on line 17


    Previous Habbox Roles
    Co-Owner of Habbox | General Manager | Assistant General Manager (Staff) | Forum Manager | Super Moderator | Forum Moderator

  9. #9
    Join Date
    Sep 2005
    Posts
    1,604
    Tokens
    0

    Latest Awards:

    Default

    then sorry i dont know

  10. #10
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Are you trying to install wordpress via cPanel since I tryed it and I got a error like that. Install it manually.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •