MySql.php fatal error after moving server


My hosting provider has moved my website to a new server, and now I have the following error appearing :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /public_html/core/db/mysql.php on line 101

On top of this, my thumbnail images are not loading. Does anyone have any ideas why? This is having a bad effect on my business, so I need to find a solution urgently.

Many thanks


Contact your host. If you're exceeding 128MB of memory and you don't have 100K products, then you have something seriously wrong in your site.

Thanks for the reply tbirnseth, I have told the hosting provider, and they can't work out why the problem is happening. Also I have less than 100 products!

Do you think it Is a problem on my server, or something that has gone wrong while they transferred my CS Cart files to the new server?

I have no real idea. You might want to have them compare the old and new site files and if they are equal, then to re-copy the database to the new site.

You did clear your cache after making the move, right? And you did update your config.local.php with any new configruation info needed by your new site?

I'm going to guess that you didn't clear your cache.

Thanks again tbirnseth, for some reaason, when my website host transferred the files, the line of code which defines php memory in config.local.php file was commented out! I uncommented it, and everything is ok now.