View Full Version : Trouble with /adm
Knight
02-13-2009, 08:00 PM
I can't seem to get to the Admin CP part of my site to finish off the installation. The result is just a blank page with the 404 Error. I've been through all the steps-SQL queries, CHMOD, etc- but I think the error falls within the config file.
Config file changes:
$dbhost = 'mysql4.000webhost.com';
$dbuser = 'a6052437_adopt';
$dbpass = '****';
$dbname = 'a6052437_knight';
$dname = 'knight.net23.net';
$spath = ' ';
$auser = 'a6052437';
$apass = '****';
I'm not sure if I need anything under path as the folder is under public_html. But with or without public_html under path, the result is the same.
I can also add some screen shots if needed.
rosepose
02-13-2009, 08:16 PM
Can't you just put localhost rather than that "mysql4.000webhost.com" business?
Saviir
02-13-2009, 09:09 PM
not with 000webhost.[hr]
I've tried and it even says on the site that you need to put the "mysql(number).000webhost.com" thing on.[hr]
Oh, You should remove the space in the "$spath = ' ';" Making it "$spath = '';" se if that makes any difference.
Knight
02-13-2009, 09:33 PM
not with 000webhost.[hr]
I've tried and it even says on the site that you need to put the "mysql(number).000webhost.com" thing on.[hr]
Oh, You should remove the space in the "$spath = ' ';" Making it "$spath = '';" se if that makes any difference.
Just tried it....still the same issue. Thanks for trying though.
Rsmiley
02-13-2009, 10:39 PM
If you get a 404 page, double check to make sure you have uploaded the adm directory.
Saphira
02-14-2009, 12:21 AM
404 is a file not found error,you most likely haven't uploaded the adm folder.
Knight
02-14-2009, 08:23 AM
I think I uploaded all the files correctly...here's an image of my adm folder if it helps:
http://img3.imageshack.us/img3/1711/errrorad2.th.png (http://img3.imageshack.us/my.php?image=errrorad2.png)
Maybe there's something else I'm missing?
BMR777
02-14-2009, 10:38 AM
I think I uploaded all the files correctly...here's an image of my adm folder if it helps:
http://img3.imageshack.us/img3/1711/errrorad2.th.png (http://img3.imageshack.us/my.php?image=errrorad2.png)
Maybe there's something else I'm missing?
Well, from the screenshot your spath should be:
$spath = "/adoptables";
Your admin folder is at yoursite.com/adoptables/adm/index.php.
You uploaded the adoptables folder to the public_html, so it would be at /adoptables/adm. :)
Knight
02-14-2009, 02:20 PM
I think I uploaded all the files correctly...here's an image of my adm folder if it helps:
http://img3.imageshack.us/img3/1711/errrorad2.th.png (http://img3.imageshack.us/my.php?image=errrorad2.png)
Maybe there's something else I'm missing?
Well, from the screenshot your spath should be:
$spath = "/adoptables";
Your admin folder is at yoursite.com/adoptables/adm/index.php.
You uploaded the adoptables folder to the public_html, so it would be at /adoptables/adm. :)
Thanks! :D Got it to work..but now when I log in I get this warning on the main page:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a6052437_adopt'@'192.168.0.10' (using password: YES) in /home/a6052437/public_html/adoptables/adm/console.php on line 17
Cannot Connect to Database
BMR777
02-14-2009, 06:34 PM
Do you have the right database details? The error means that your database details in config.php are incorrect.
agnyz
02-15-2009, 08:19 PM
$dname = 'knight.net23.net';
pretty sure this can't be right.
Knight
02-15-2009, 08:24 PM
Turns out my database password was wrong :P It works fine now.
Thanks for the help anyways!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.