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...
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: 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
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
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
Err please contact some expert i taught its a nameserver error and i taught its Phpld and it is phplb (i never try this )
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...