GoDaddy and .com domain

Discussion in 'Domain Names' started by Machi, Aug 2, 2007.

  1. #1
    Hi, I've registered new .com domain on GoDaddy yesterday. Domain is: http://www.linksbid.com/ but I have strange problem. It's about 20 hours after I add my domain to my GoDaddy hosting (forwarded to folder) and there are still error messages like:
    Warning: main(/home/content/f/l/i/flitinfo/html/inc/sql_config.php): failed to open stream: No such file or directory in /home/content/f/l/i/flitinfo/html/linksbid.com/config.php on line 34
    
    Fatal error: main(): Failed opening required '/home/content/f/l/i/flitinfo/html/inc/header.php' (include_path='.:/usr/local/lib/php') in /home/content/f/l/i/flitinfo/html/linksbid.com/index.php on line 25
    Code (markup):
    But when I open domain throw primary domain on my FTP http://flit.info/linksbid.com/ everything is ok...
    Does anybody know what's going on here? Thanks...
     
    Machi, Aug 2, 2007 IP
  2. dollarman2007

    dollarman2007 Banned

    Messages:
    867
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try changing nameserver to a free host, and see if its fine or not.
    i am not a pro, but this may help you.
    change the nameserver to default then after 5-10 minutes change again to the hosting site nameserver you may get the result as needed :)
     
    dollarman2007, Aug 2, 2007 IP
  3. Machi

    Machi Active Member

    Messages:
    540
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #3
    dollarman2007: I didn't help :(

    I've just discovered that this is problem with phpLinkBid together with GoDaddy and forwarded domain to specific folder. Solution is in file config.php but I didn't find anything through Google :(
     
    Machi, Aug 3, 2007 IP
  4. dollarman2007

    dollarman2007 Banned

    Messages:
    867
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #4
    do you want to run your phpld in yourdomain.com/somefolder?
    you got to edit the htaccess so whenever someone types yourdomain.com they will be redirected to yourdomain.com/somefolder.
    Sorry I donno what code to put in the .htaccess file :(
    BTW your avatar is cute :)
     
    dollarman2007, Aug 3, 2007 IP
  5. Machi

    Machi Active Member

    Messages:
    540
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #5
    It's phpLB :) I wanna to run it on linksbid.com but there is problem with path to scripts. Problem is here:
    /home/content/f/l/i/flitinfo/html/inc/sql_config.php
    Code (markup):
    this is absolute path which creates config.php but I need this:
    /home/content/f/l/i/flitinfo/html/linksbid.com/inc/sql_config.php
    Code (markup):
    :(
    btw: My avatar says thanks to you :D
     
    Machi, Aug 3, 2007 IP
  6. dollarman2007

    dollarman2007 Banned

    Messages:
    867
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Err please contact some expert i taught its a nameserver error :(
    and i taught its Phpld and it is phplb (i never try this :()
     
    dollarman2007, Aug 3, 2007 IP
    Machi likes this.
  7. Machi

    Machi Active Member

    Messages:
    540
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #7
    So please, problem is simple: config.php contains this:
    $dir_base = str_replace($_SERVER['DOCUMENT_ROOT'], '', dirname($_SERVER['PHP_SELF']));
    $dir_base = str_replace('admin', '', $dir_base);
    if(substr($dir_base, -1) !== '/') $dir_base = $dir_base . '/';
    $path_base = $_SERVER['DOCUMENT_ROOT'] . $dir_base;
    
    define('DIR_BASE', $dir_base);
    define('PATH_BASE', $path_base);
    define('PATH_INCLUDE', $path_base . 'inc/');
    
    include(PATH_INCLUDE . 'sql_config.php');
    Code (markup):
    and create path:
    /home/content/f/l/i/flitinfo/html/
    but I need path:
    /home/content/f/l/i/flitinfo/html/inc/sql_config.php
    so please, how to edit config.php to get it work? thanks a lot (I'll give you ++ reputation for every help of course)...
    thanks a lot...
     
    Machi, Aug 3, 2007 IP
  8. dollarman2007

    dollarman2007 Banned

    Messages:
    867
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I am really sorry machi i dont know php. :(
    I am helpless.
     
    dollarman2007, Aug 3, 2007 IP