Jump to content
  • 0

FluxCP Critical Error


cawogeek

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

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}

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

Check your

servers.php

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

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',

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  195
  • Reputation:   23
  • Joined:  01/05/12
  • Last Seen:  

'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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

'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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/25/12
  • Last Seen:  

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 :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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 %.

Link to comment
Share on other sites

×
×
  • Create New...