Jump to content

(Solved) Make your backups! MySQL server has gone away


Recommended Posts

Hi, it's me again I feel like I've ben posting alot lately for help but I'm almost finished setting up so bear with me a little more.

I want to regenrate my images why do I get this error ? I called hosting mysql is set to 64 and they just. is set it to max values but I'm still getting the same message when I try to regenerate my images.

How do I fix this?
 

MySQL server has gone away
 

		SELECT m.`name` FROM `ps_module` m		LEFT JOIN `ps_hook_module` hm ON hm.`id_module` = m.`id_module`		LEFT JOIN `ps_hook` h ON hm.`id_hook` = h.`id_hook`		WHERE h.`name` = 'actionWatermark' AND m.`active` = 1

at line 639 in file classes/db/Db.php

634. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);635. 		}636. 		elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))637. 		{638. 			if ($sql)639. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');640. 			throw new PrestaShopDatabaseException($this->getMsgError());641. 		}642. 	}643. 644. 	/**
Edited by David Dotou (see edit history)
Link to comment
Share on other sites

So I fixed my errors on my module page and I can regenarate my images but...

I can see my pictures fine on the catalog and on the front office but when I go on the product under Image i  get the product titles in the image ?

Help me pretty please :)

http://screencast.com/t/KpwJSBktOrQf

http://screencast.com/t/iSInonJXOh


Topic Solved well not really it's my backups that saved me!

Edited by David Dotou (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...