Zend Error when moving site to new host
Permalink
Hi everyone,
I've taken over a site and the owner wants to move the hosting to a new provider. The site is 5.4.2.2 so is going back a few years since it was built. The site is running fine on the current host and the guys there gave us a server dump of everything to get it moved over.
I've copied the files up & imported the database but I'm seeing this error when I load the page on the temporary URL the new hosting company has given me for testing.
The old server was running APC cache but the new one won't be. Is this the cause of the issue?
Has anyone seen this before or can they help me out.
Thanks
I've taken over a site and the owner wants to move the hosting to a new provider. The site is 5.4.2.2 so is going back a few years since it was built. The site is running fine on the current host and the guys there gave us a server dump of everything to get it moved over.
I've copied the files up & imported the database but I'm seeing this error when I load the page on the temporary URL the new hosting company has given me for testing.
Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'The apc extension must be loaded for using this backend !' in /home/m561412/public_html/concrete/libraries/3rdparty/Zend/Cache.php:209 Stack trace: #0 /home/m561412/public_html/concrete/libraries/3rdparty/Zend/Cache/Backend/Apc.php(59): Zend_Cache::throwException('The apc extensi...') #1 /home/m561412/public_html/concrete/libraries/3rdparty/Zend/Cache.php(153): Zend_Cache_Backend_Apc->__construct(Array) #2 /home/m561412/public_html/concrete/libraries/3rdparty/Zend/Cache.php(94): Zend_Cache::_makeBackend('apc', Array, false, false) #3 /home/m561412/public_html/concrete/libraries/cache.php(57): Zend_Cache::factory('Core', 'apc', Array, Array, false, false) #4 /home/m561412/public_html/concrete/libraries/cache.php(64): Cache::getLibrary() #5 /home/m561412/public_html/concrete/dispatcher.php(27): Cache::startup() #6 /home/m561412/public_html/index.php(2): require('/home/m561412/p...') #7 {main} thrown in /home/m561412/public_html/concrete/libraries/3rdparty/Zend/Cache.php on line 209
The old server was running APC cache but the new one won't be. Is this the cause of the issue?
Has anyone seen this before or can they help me out.
Thanks
Have a look in that file and see if you can find and comment out something like:
define('CACHE_LIBRARY', 'apc');