Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Translate this PHP error message?
Can someone tell me what this means? I'm an artist, not a programmer. So I'm a little confused.
Quote:
I haven't added any adoptables yet because I'm trying to fix my Admin CP (it won't let me in) is that the issue? |
#2
|
||||
|
||||
RE: Translate this PHP error message?
With 000webhost 'localhost' isn't the MySQL host. I think Ashje set up a tutorial on how to set up on 000webhost...
http://www.rusnakweb.com/forum/showthread.php?tid=674 <- try that, should be able to get it working afterwards. :) |
#3
|
|||
|
|||
RE: Translate this PHP error message?
I followed that tutorial. But I think what I did wrong was I copied the contents of the Adoptables folder to a ZIP file rather than the adoptables folder itself. Would that change anything?
EDIT: I completely reinstalled it and it still doesn't work. And I still can't get into the admin panel. It tells me I'm not authorized even though I put in the right user and password. |
#4
|
||||
|
||||
RE: Translate this PHP error message?
Could you post up what your config.php file looks like?
|
#5
|
|||
|
|||
RE: Translate this PHP error message?
Did you put the MySQL dump in the database?
|
#6
|
|||
|
|||
RE: Translate this PHP error message?
MySQL dump? The code I'm supposed to copy and paste into the sql and run a query? Yeah, I did.
Here's my config file. I'm really dumb in code like I said. Code:
<?php // PHP Easy Adoptables Configuration File $dbhost = 'localhost'; //mysql6.000webhost.com $dbuser = ''; //a5778415_xxxxx $dbpass = ''; //(pass) $dbname = ''; //a5778415_xxxxx $dname = 'yourdomain.com'; //livingfossil.comuv.com $spath = ''; // $auser = ''; //(username) $apass = ''; //(pass) ?> |
#7
|
|||
|
|||
RE: Translate this PHP error message?
You're supposed to put the info in between the ' ' :P
What's after the // won't show up in PHP, so it needs to be between the two apostrophes. This is what it should look like: Code:
<?php // PHP Easy Adoptables Configuration File $dbhost = 'mysql6.000webhost.com'; // $dbuser = 'a5778415_xxxxx'; // $dbpass = '(pass)'; // $dbname = 'a5778415_xxxxx'; // $dname = 'livingfossil.comuv.com'; // $spath = '/adoptables'; // (This is typically the folder it's installed in, if you didn't make any changed to the script at all) // $auser = '(username)'; // $apass = '(pass)'; // ?> |
#8
|
|||
|
|||
RE: Translate this PHP error message?
I input it and it's still not working. I'm just going to find someone to install it for me. Thanks for your help though. :3
|
#9
|
|||
|
|||
RE: Translate this PHP error message?
If you followed the tut exactly then spath shouldn't have anything in it. Try that and if it still doesn't work then I'll try installing it for you.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message on using admin tools | missie | Questions and Supports | 6 | 04-16-2015 12:46 PM |
ACP Has Odd Error Message | squiggler | Questions and Supports | 3 | 01-12-2014 05:25 PM |
PHP error message | Vegetunks937 | Questions and Supports | 5 | 08-13-2013 12:58 PM |
Weird Error Message Above Header | Hwona | Questions and Supports | 9 | 07-22-2013 08:06 PM |
Translate? | konzair | Questions and Supports | 3 | 01-25-2011 06:43 PM |
What's New? |
What's Hot? |
What's Popular? |