Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Tutorials and Tips (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=27)
-   -   Installing the MAS (http://www.mysidiaadoptables.com/forum/showthread.php?t=1663)

AlexC 12-14-2013 06:06 PM

Quote:

Originally Posted by IntoRain (Post 28616)
It's "File Transfering Protocol". Just like HTTP is "Hypertext Transfer Protocol". Web is all protocol based, so every "TP" is most likely a transfer protocol

Ah, that sounds more right. xD I have such trouble with abrivations.

gloryKAT 04-09-2014 08:05 PM

I probably asked this before, but:

I have this error:

Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [1045] Access denied for user 'glorykat'@'localhost' (using password: YES)

How do I solve this?

Kyttias 04-09-2014 09:29 PM

Quote:

Originally Posted by gloryKAT (Post 29619)
I probably asked this before, but:

I have this error:

Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [1045] Access denied for user 'glorykat'@'localhost' (using password: YES)

How do I solve this?

This sort of error can plague any user working with any framework setup that connects to MySQL, because the problem here lies with the username/password you're trying to connect to the database with. I personally can't advise much beyond triple checking your configuration for Mysidia to make sure it is trying to use the correct details, checking your MySQL through PHPMyAdmin to make sure that you can indeed log in with that same username/password combination, and then checking your permissions for that user - to make sure the user has access to all the functions of the database.

After browsing around the web trying to find some help for troubleshooting, all I found was the following vague gems:
  • Sometimes you have to use localhost not 127.0.0.1 for this to work.
  • Is the password in quotes?
  • This might be worth a read since you're on localhost (presumably through WAMP or similar). But it may be rather very irrelevant to this situation.

And whether you attempt this first or last, you can always try creating a new user in PHPMyAdmin, just to make sure you did it properly the first time.

tahbikat 04-09-2014 09:32 PM

Do you get this when logging in? I had the exact same issue. You need to make sure your database info for the site and forums are correct and match.

View this thread to see how to -hopefully- solve this issue: http://www.mysidiaadoptables.com/for...ead.php?t=4396

gloryKAT 04-10-2014 10:15 AM

Thanks :3

I put in the wrong database password, so I couldn't get in.

gloryKAT 04-10-2014 05:06 PM

another problem:


Warning: require(/home/foxmerev/public_html/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/foxmerev/public_html/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required '/home/foxmerev/public_html/inc/smarty/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foxmerev/public_html/classes/class_mysidia.php on line 326

Kyttias 04-10-2014 05:58 PM

Quote:

Originally Posted by gloryKAT (Post 29625)
another problem:


Warning: require(/home/foxmerev/public_html/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/foxmerev/public_html/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required '/home/foxmerev/public_html/inc/smarty/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foxmerev/public_html/classes/class_mysidia.php on line 326

What's the directory path in your config file look like?

gloryKAT 04-10-2014 05:59 PM

directory path?

how do i figure that out XD

all that's in there is this:

<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', 'foxmerev_gloryka'); //DB Username
define('DBPASS', '***********'); //DB Password
define('DBNAME', 'foxmerev_main'); //Your database name
define('DOMAIN', 'foxmerevale.x10.mx'); //Your domain name (No http, www or . )
define('SCRIPTPATH', ''); //The folder you installed this script in
define('PREFIX', 'adopts_prefix');
?>

went into classes and found this:

}

/**
* The getTemplate method, will be added later once smarty or another template engine such as Twig is implemented.
* @access public
* @return Template
*/
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;

$this->template = new Template($this->path);
Registry::set(new String("template"), $this->template, TRUE, TRUE);
return $this->template;
}

which appears to be part of my problem because it cant call upon smarty (it's not there)

okay i edited smarty and now this occurs:

Warning: require(/home/foxmerev/public_html/lang/lang_global.php): failed to open stream: No such file or directory in /home/foxmerev/public_html/classes/class_language.php on line 78

Fatal error: require(): Failed opening required '/home/foxmerev/public_html/lang/lang_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foxmerev/public_html/classes/class_language.php on line 78

gloryKAT 04-10-2014 07:03 PM

nevermind ^-^ i managed to fix it.

mattinc 05-14-2014 08:38 PM

Fatal Error
 
I have a fatal error when clicking the - "You will need to log in to your installation of Mysidia Adoptables before you can access the ADMINCP.

This is what I get when I click Log In:

Fatal error: Class 'AppController' not found in /home/a3397944/public_html/login.php on line 3

Everything has been installed .. I'm confused. Help.

.matt


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.