![]() |
A problem with the config.php!
This is what I have right now...
Code:
<?php So if I do that, this comes up! Code:
PHP Error Message http://fairytree.comyr.com/pet/ What happened? |
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. |
RE: A problem with the config.php!
what are databases anyways? I don't get that form! :O
|
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. :)
|
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? |
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. :)
|
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? |
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.
|
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? |
RE: A problem with the config.php!
Did you run the SQL queries inside of sql.txt on your database using PHPMyAdmin? :)
|
RE: A problem with the config.php!
what?[hr]
you mean http://fairytree.comyr.com/pet/adm/? |
RE: A problem with the config.php!
You need to use PHPMyAdmin in your host's control panel to insert the SQL queries inside of sql.txt onto your database. Open PHPMyAdmin from your host's control panel and click on your database on the list to the left. Then once the page loads click on the SQL icon at the top left in the row of icons and paste the contents of sql.txt into the window and submit it. :)
|
RE: A problem with the config.php!
Quote:
do you mean the one that has: Code:
CREATE TABLE article_content (page varchar(20), title varchar(75), date varchar(15), content varchar(15000)); |
RE: A problem with the config.php!
Yeah, you would paste that into PHPMyAdmin. The PHPMyAdmin is something you can access in your HOST's control panel. :)
|
RE: A problem with the config.php!
Oh, YAY!
|
All times are GMT -5. The time now is 08:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.