MySQL Issue

Forum
Last Post
Threads / Messages

FyxTheShinigami

Member
Member
Joined
Jan 25, 2015
Messages
3
Points
0
Mysidian Dollar
0
When I try to view my profile when it has an avatar, the page lags at loading and then comes up with this text:

  Spoiler: Error log 
Warning: getimagesize(http://i.imgur.com/c4xWGxE.png): could not make seekable - http://i.imgur.com/c4xWGxE.png in /home/u215232890/public_html/classes/class_image.php on line 114 Fatal error: Uncaught exception 'Exception' with message 'Database error 2006 - MySQL server has gone away' in /home/u215232890/public_html/classes/class_database.php:213 Stack trace: #0 /home/u215232890/public_html/classes/class_database.php(142): Database->_query('owned_adoptable...', Array, 'select', 'owner = 'Fyx'') #1 /home/u215232890/public_html/classes/class_userprofile.php(149): Database->select('owned_adoptable...', Array, 'owner = 'Fyx'') #2 /home/u215232890/public_html/classes/class_userprofile.php(79): UserProfile->showalladopts() #3 /home/u215232890/public_html/view/profileview.php(77): UserProfile->display('adopts') #4 /home/u215232890/public_html/classes/class_frontcontroller.php(100): ProfileView->view() #5 /home/u215232890/public_html/index.php(74): FrontController->render() #6 /home/u215232890/public_html/index.php(78): IndexController::main() #7 {main} thrown in /home/u215232890/public_html/classes/class_database.php on line 213


My database is not "away" and the information including the password and database name and host are correct.

Any ideas on how to fix?
Thanks.
 
If it only happens once, no big deal. If it always happens, that's another story.

What hosting are you on? It's definitely settings on their end. Their MySQL server provides only a small window for timeouts (probably to prevent overloading their servers from everyone they're hosting). This error is occur due to the expiration of a setting called 'wait_timeout'.

The best thing you can do is tell/ask them about it. Shared/free hosting probably won't change their settings for you - you get what you pay for.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,278
Messages
33,127
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top