Hatake Kakashi Posted January 6, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share Posted January 6, 2012 (edited) when i click register here's the error. 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[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 File: /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php:81 File Line Function/Method /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 81 PDO::__construct() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/LoginServer.php 150 Flux_Connection::getStatement() /home/se7ven/public_html/shockraro/fluxcp/modules/account/create.php 30 Flux_LoginServer::register() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Template.php 337 include() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/se7ven/public_html/shockraro/fluxcp/index.php 170 Flux_Dispatcher::dispatch() Exception Trace As String #0 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*) #1 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config)) #2 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(159): Flux_Connection->getConnection() #3 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/LoginServer.php(150): Flux_Connection->getStatement('SELECT userid F...') #4 /home/se7ven/public_html/shockraro/fluxcp/modules/account/create.php(30): Flux_LoginServer->register('se7ven', 'se7venhost', 'se7venhost', 'se7venhost@yaho...', 'M', 'atjvy') #5 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Template.php(337): include('/home/se7ven/pu...') #6 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Dispatcher.php(168): Flux_Template->render() #7 /home/se7ven/public_html/shockraro/fluxcp/index.php(170): Flux_Dispatcher->dispatch(Array) #8 {main} Edited January 6, 2012 by Hatake Kakashi Link to comment Share on other sites More sharing options...
JayPee Posted January 6, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted January 6, 2012 On what page this occur? I think your mysql port is not open.to accept external connection. or too much timeout happens before it connects to your mysql Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted January 6, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted January 6, 2012 (edited) im using my own pc only. not in vps. but i already port forward at my router. 5121,6121,6900 Edited January 6, 2012 by Hatake Kakashi Link to comment Share on other sites More sharing options...
Kirea Posted January 6, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 3 Reputation: 0 Joined: 12/06/11 Last Seen: July 21, 2015 Share Posted January 6, 2012 (edited) Hi Maybe 3306 port for MySQL server if it's on your host. Or also MySQL account whitch not allow distant (!= localhost) connections. Regards. Edited January 6, 2012 by Kirea Link to comment Share on other sites More sharing options...
JayPee Posted January 6, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted January 6, 2012 So I guess your CP is uploaded and your connecting your CP to your mysql which is running in your local computer? If yes try to disable your firewall. Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted January 6, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted January 6, 2012 (edited) my fluxcp host on my web host from mochahost. and mysql installed on my pc and my server. i already disabled my windows firewall. i think sir Brian can solved this problem. please help anyone. Edited January 6, 2012 by Hatake Kakashi Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted January 7, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted January 7, 2012 wew. no one know's this prob.? i think port of mysql. i dont know. i guess it only. hehe Link to comment Share on other sites More sharing options...
XkAcY- Posted January 7, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 0 Joined: 11/13/11 Last Seen: April 5, 2017 Share Posted January 7, 2012 your PC is open port? Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted January 7, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted January 7, 2012 done. i do it on myself. hahaha i port foward 3306 port xD thanks to kirea and sir jaypee Link to comment Share on other sites More sharing options...
Question
Hatake Kakashi
when i click register here's the error.
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[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111
File: /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php:81 File Line Function/Method /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 81 PDO::__construct() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/LoginServer.php 150 Flux_Connection::getStatement() /home/se7ven/public_html/shockraro/fluxcp/modules/account/create.php 30 Flux_LoginServer::register() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Template.php 337 include() /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/se7ven/public_html/shockraro/fluxcp/index.php 170 Flux_Dispatcher::dispatch()
Exception Trace As String
#0 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)
#1 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))
#2 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Connection.php(159): Flux_Connection->getConnection()
#3 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/LoginServer.php(150): Flux_Connection->getStatement('SELECT userid F...')
#4 /home/se7ven/public_html/shockraro/fluxcp/modules/account/create.php(30): Flux_LoginServer->register('se7ven', 'se7venhost', 'se7venhost', 'se7venhost@yaho...', 'M', 'atjvy')
#5 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Template.php(337): include('/home/se7ven/pu...')
#6 /home/se7ven/public_html/shockraro/fluxcp/lib/Flux/Dispatcher.php(168): Flux_Template->render()
#7 /home/se7ven/public_html/shockraro/fluxcp/index.php(170): Flux_Dispatcher->dispatch(Array)
#8 {main}
Edited by Hatake KakashiLink to comment
Share on other sites
8 answers to this question
Recommended Posts