Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   MySQL Issue (http://www.mysidiaadoptables.com/forum/showthread.php?t=4844)

FyxTheShinigami 05-06-2015 01:13 PM

MySQL Issue
 
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.

Kyttias 05-06-2015 02:37 PM

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.


All times are GMT -5. The time now is 06:04 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.