On Feb 16, 2011, at 12:03, Miloš Vučinić wrote:

> I am a little bit desperate. My hositng house moved to php 5.3 but my
> web site is on cake php 1.2 made for earlier php versions.
> 
> My bad luck is that at the very same moment we added shopping cart to
> the web site when the hosting house changed to php 5.3 and made some
> restrictions about usage of hosting (shared hosting usage).
> 
> Now, from time to time i get the warining: Warning (512): SQL Error:
> 2006: MySQL server has gone away [CORE/cake/libs/model/datasources/
> dbo_source.php, line 525]
> and web site doesn't work with mysql unless it already has cashed
> content. The rest just doesn't work...
> 
> Do you think it's a bad hosting or is it possible that cake 1.2 just
> can't work anymore on new php servers.

Ask your hosting provider why their mysql server has gone away. Maybe they now 
have more strict limits on how much data you can fetch, or how much CPU time 
each query can take? Perhaps you can optimize your queries. Maybe it's as 
simple as adding indexes in the right places.


> Also is there a way to upgrade
> your cms form 1.2 to 1.3 and what would be the steps ?

I would say of course there is always a way. But what is this "cms form"?



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to