PDA

View Full Version : What do this part of the config mean?


LilPixie
02-09-2009, 09:50 AM
$auser = ''; //Admin Username for Host Admin CP
$apass = ''; //Password for Host Admin CP

I have the script installed at ryn-nursery.comli.com
The login to that site is my email.
is that what it means?

Yeah, I know there is nothing there. I can't get it to run. At all.

Saphira
02-09-2009, 10:09 AM
That is for the Admin control panel. (/adm)

I just checked out your link, and there's nothing there?

LilPixie
02-09-2009, 10:21 AM
yeah I'm having a lot of issues with the script.
I really have no idea what I'm doing at all x.x;

I have the whole thing in the control panel subdirectory called /adoptables.

Saphira
02-09-2009, 10:23 AM
Are you sure you uploaded it all? Nothing is showing in that folder either.

LilPixie
02-09-2009, 10:28 AM
Yeah I did.
I'm using 00webhosts.
Here's a screenshot of the CP

http://i93.photobucket.com/albums/l59/snitzerr/admin.png

Johnathon
02-09-2009, 10:32 AM
Go to inc and then find the config file. In there, edit the fields that have a db within the "$" field. Don't worry, the next version of the script will have an easier method to active. (It's due out this saturday)

~Johnathon

(P.s. Do I know you from DA?)

LilPixie
02-09-2009, 10:34 AM
I've already done that O_O
I can't even view the site at all

*sigh*

and idk. My dA name is LilPixieryn

Johnathon
02-09-2009, 10:41 AM
Did you use the Database login for the config file, or the site login? Also, have you inserted SQL.txt into the database yet?

LilPixie
02-09-2009, 10:45 AM
My config file looks like this

// PHP Easy Adoptables Configuration File

$dbhost = 'mysql6.000webhost.com'; //DB Hostname
$dbuser = 'a7775291_adopt'; //DB User
$dbpass = '*******'; //DB Password
$dbname = 'a7775291_adopt'; //Your database name
$dname = 'ryn-nursery.comli.com'; //Your domain name (No http, www or . )
$spath = '/adoptables'; //The folder you installed this script in, if subfolder use a slash, if root domain empty
$auser = 'a7775291'; //Admin Username for Host Admin CP
$apass = '********'; //Password for Host Admin CP

Where do you upload the sql text to? I think I might have done that already o-o

Johnathon
02-09-2009, 10:46 AM
You login to the PHP My Admin, and in your new database you have to click the insert button, and upload the file.

Tequila
02-09-2009, 10:50 AM
Hi, it's fireflyx from dA.

Just looked at your screenshot, you have to upload the files to the public_html folder, or it won't work. Try reuploading to the public_html folder and see if that works.

LilPixie
02-09-2009, 12:18 PM
Ok let me try.

Edit: Do I have to change the script directory in the config file?
Edit edit: Okay, I just did that and I get this:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a7775291/public_html/adoptables/index.php on line 14

Johnathon
02-09-2009, 01:06 PM
Now you need to edit your config file again. If localhost shows up while using 00webhost., it means you need to edit and save your config file again.

LilPixie
02-09-2009, 01:15 PM
Okway...erm..what do I have to edit it as?
Oh wait lol all the info was erased. Let me try again.

LOL OMG IT WORKS
8DDD yes

THANK YOU EVERYONE

Now I just have to figure out how to add adoptables and edit the links