Jump to content
  • 0

FluxCP Critical Error


Question

Posted

Im having this problem. can anyone help? :)

Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

Exception Details

Error: PDOException

Message: SQLSTATE[28000] [1045] Access denied for user ''root'@'site' (using password: YES)

File: /home/romanil/public_html/cp/lib/Flux/Connection.php:81 File Line Function/Method /home/romanil/public_html/cp/lib/Flux/Connection.php 81 PDO::__construct() /home/romanil/public_html/cp/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/romanil/public_html/cp/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/romanil/public_html/cp/modules/install/index.php 17 Flux_Connection::getStatement() /home/romanil/public_html/cp/lib/Flux/Template.php 337 include() /home/romanil/public_html/cp/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/romanil/public_html/cp/index.php 170 Flux_Dispatcher::dispatch()

Exception Trace As String

#0 /home/romanil/public_html/cp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)

#1 /home/romanil/public_html/cp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))

#2 /home/romanil/public_html/cp/lib/Flux/Connection.php(159): Flux_Connection->getConnection()

#3 /home/romanil/public_html/cp/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...')

#4 /home/romanil/public_html/cp/lib/Flux/Template.php(337): include('/home/romanil/p...')

#5 /home/romanil/public_html/cp/lib/Flux/Dispatcher.php(168): Flux_Template->render()

#6 /home/romanil/public_html/cp/index.php(170): Flux_Dispatcher->dispatch(Array)

#7 {main}

7 answers to this question

Recommended Posts

Posted

Check your

servers.php

Im confused with this section of it...

'Hostname' => 'XXX.X.XX.XXX', <---What will i write there? My VPS IP? or my Webhost IP?

'Username' => 'root',

'Password' => 'password',

'Database' => 'ragnarok',

Posted (edited)

'Hostname' => 'XXX.X.XX.XXX', <--- IP of MySQL server where you uploaded your "main.sql" ragnarok database, whether it is on VPS or Webhost

'Username' => 'root',

'Password' => 'password',

'Database' => 'ragnarok',

Hope it helps, goodluck :)

Edited by David
Posted

'Hostname' => 'XXX.X.XX.XXX', <--- IP of MySQL server where you uploaded your "main.sql" ragnarok database, whether it is on VPS or Webhost

'Username' => 'root',

'Password' => 'password',

'Database' => 'ragnarok',

Hope it helps, goodluck :)

Thanks for the reply. I'm still having the same problem. :( anyone?

Posted

Use the same settings from your rathena config.. from conf/inter_athena.conf, use that ip, username and password..

I tried that and shows the same error :(

Posted

Hi cawogeek,

Just make sure that the user you are using, is the correct username and correct password. If it is both correct, then you will need to change that user to '%' Host. The issue may be the fact that the MySQL user you are using, is not allowed to be accessed by other hosts. So you must edit that specific MySQL user to be accessed by any host, or %.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...