CodeIgniter Forums
A PHP Error was encountered - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: A PHP Error was encountered (/showthread.php?tid=68121)



A PHP Error was encountered - hicham - 05-28-2017

Good Day,
actually i published this website using ci3
but i get an random error called "database error"
and i wanna know if this message error from server (host) side or something wrong in my code ?

thanks in advance

[Image: vK1cJ5R.png]


RE: A PHP Error was encountered - hicham - 05-28-2017

oh actually, support team helped me and fixed the problem but right now i found another error message

//////
A PHP Error was encountered

Severity: Core Warning

Message: Module 'dba' already loaded

Filename: Unknown

Line Number: 0

Backtrace:

//////


RE: A PHP Error was encountered - InsiteFX - 05-29-2017

Check to see if your loading it twice in your code r if it is being
autoloaded and your reloading it again in code.


RE: A PHP Error was encountered - hicham - 05-30-2017

thank you a lot Smile

it's done , but please can you explain to me about the first error message ??

because what the support team said to me :
[Image: n1ix0AD.png]


RE: A PHP Error was encountered - InsiteFX - 05-31-2017

It's telling you that the MySQL server is timing out you can try using CodeIgniter's database re-connect method.