Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2009, 05:07 PM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,001
Blue Icebox
Default A problem with the config.php!

This is what I have right now...

Code:
<?php

// PHP Easy Adoptables Configuration File

$dbhost = 'point-file-manager.000webhost.com';      		//DB Hostname
$dbuser = 'a5529740';				//DB User
$dbpass = '~password hidden~';				//DB Password
$dbname = 'Fairy Tree';    				//Your database name
$dname = 'fairytree.comyr.com';    	//Your domain name (No http, www or . )
$spath = '/pets';				//The folder you installed this script in, if subfolder use a slash, if root domain empty
$auser = 'Blue Icebox';				//Admin Username for Host Admin CP
$apass = 'niminim';				//Password for Host Admin CP

?>
(I have a password for the password hidden part but I'm just not showing it to bad people! ;) )

So if I do that, this comes up!


Code:
PHP Error Message

Warning: mysql_connect() [function.mysql-connect]: Host '216.108.235.104' is not allowed to connect to this MySQL server in /home/a5529740/public_html/pet/index.php on line 14

Error connecting to mysql database!
What should I do?

http://fairytree.comyr.com/pet/

What happened?
Reply With Quote
  #2  
Old 02-17-2009, 05:20 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: A problem with the config.php!

That is a host error. I hate 000webhost as nearly everyone who tries to install the script on that site has database issues.

Also, are you sure that $dbname = 'Fairy Tree'; is correct? Usually database names don't have spaces, but I could be wrong.
Reply With Quote
  #3  
Old 02-17-2009, 05:45 PM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,001
Blue Icebox
Default RE: A problem with the config.php!

what are databases anyways? I don't get that form! :O
Reply With Quote
  #4  
Old 02-17-2009, 05:47 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: A problem with the config.php!

MySQL databases is where everything about your adoptables and users is stored, such as usernames, passwords, adoptable names, etc. :)
Reply With Quote
  #5  
Old 02-17-2009, 06:03 PM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,001
Blue Icebox
Default RE: A problem with the config.php!

okay, then how are you supposed to fill out...

$dbhost = 'point-file-manager.000webhost.com';
$dbuser = 'a5529740';
$dbpass = '~password hidden~';
$dbname = 'Fairy Tree';

?

What's a database name?
Whats a database user?
What is a database password?
What is a database host?

~~Can you give me a suggestion to what host should I use?~~

:D[hr]
Do you say...

http://www.afmu.com/

do you think that works well?
Reply With Quote
  #6  
Old 02-17-2009, 06:04 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: A problem with the config.php!

You get these settings from your web host when you make a new database in their control panel. 000webhost is tricky, so contact them as they are the only ones who seem to know which value to use for $dbhost as it varies based on the server they have your account on. :)
Reply With Quote
  #7  
Old 02-17-2009, 06:14 PM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,001
Blue Icebox
Default RE: A problem with the config.php!

would

Domain fairytree.comyr.com
Username a5529740
Password * hidden * (show)
Disk Usage 1.2 / 1500.0 MB
Bandwidth 100000 MB (100GB)
Home Root /home/a5529740
Server Name server24.000webhost.com
IP Address 216.108.235.104
Apache ver. 2.2.10 (Unix)
PHP version 5.2.*
MySQL ver. 5.0.51-community
Activated On 2009-02-13 00:45
Status Active

give any help?
Reply With Quote
  #8  
Old 02-17-2009, 06:17 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: A problem with the config.php!

Again, you have to ask 000webhost for the correct value for $dbhost. Nothing I can do until you get the correct value for the server you are on.
Reply With Quote
  #9  
Old 02-17-2009, 06:23 PM
Blue Icebox Blue Icebox is offline
Member
 
Join Date: Jan 2009
Posts: 45
Credits: 5,001
Blue Icebox
Default RE: A problem with the config.php!

oh I ~THINK~ I've found a solution without contacting them...
I found a place where you can ~CREATE~ your MySql name, ect...![hr]
$mysql_host = "mysql6.000webhost.com";
$mysql_database = "a5529740_FT";
$mysql_user = "a5529740_BI";
$mysql_password = "~HIDDENPASSWORD!~";

THATS WHAT I GOT! :D[hr]
Wait no... http://fairytree.comyr.com/pet/index.php look! Too many problems! What should I do?
Reply With Quote
  #10  
Old 02-17-2009, 06:37 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: A problem with the config.php!

Did you run the SQL queries inside of sql.txt on your database using PHPMyAdmin? :)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
There no file with Config.php digly Questions and Supports 13 06-15-2014 10:56 AM
config.php missing? Dracowolfie Questions and Supports 3 05-27-2013 10:48 PM
config.php? Aasixx Questions and Supports 1 10-10-2012 09:02 PM
Missing config.php Abronsyth Questions and Supports 0 04-29-2012 07:50 AM
What do this part of the config mean? LilPixie Questions and Supports 13 02-09-2009 01:15 PM


All times are GMT -5. The time now is 06:06 PM.

Currently Active Users: 455 (0 members and 455 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636