MySQL Forums
Forum List  »  PHP

Re: "Error" randomly appearing on page loads
Posted by: Robert Tee
Date: March 05, 2019 01:29PM

Hi Peter,
I am using Joomla. After you posted that, I enabled maximum logging on of the sites in question in hopes of reproducing the error. I was able to do so.

[05-Mar-2019 12:59:13 America/Chicago] PHP Fatal error: Uncaught JDatabaseExceptionConnecting: Could not connect to MySQL server. in /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/joomla/database/driver/mysqli.php:173
Stack trace:
#0 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/joomla/database/driver.php(1454): JDatabaseDriverMysqli->connect()
#1 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/src/Table/User.php(86): JDatabaseDriver->loadAssoc()
#2 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/src/User/User.php(883): Joomla\CMS\Table\User->load('42')
#3 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/src/User/User.php(946): Joomla\CMS\User\User->load('42')
#4 [internal function]: Joomla\CMS\User\User->__wakeup()
#5 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/vendor/joomla/registry/src/Registry.php(89): unserialize('O:8:"stdClass":...')
#6 /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/src/Session/Session.php(386): Joomla\Registry\Registry->__clone()
#7 /Applications/MAMP/htdocs/MAMPSUPPORTFO in /Applications/MAMP/htdocs/MAMPSUPPORTFORUM.COM/libraries/joomla/database/driver/mysqli.php on line 173

Options: ReplyQuote


Subject
Written By
Posted
Re: "Error" randomly appearing on page loads
March 05, 2019 01:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.