Jump to content

Fatal error: undefined function xcache_get()


Recommended Posts

Hi,

I have prestashop 1.5.6 based on my server. 

I wanted to migrate server to my Localhost (Apache 2.4 + PHP 5.6 + MySQL 5.6.12).

Yeah i used steps for migration.

1. Maintance mode on

2. change URLs

3. FTP download from server

4. Export SQL

after that

1. upload FTP files on my localhost

2. create database and import my database

3. Change settings.inc.php

These steps done correctly

 

And after that i had on my localhost only white screen. next step was clear cache from

prestashop\cache\smarty\compile
prestashop\cache\smarty\cache

prestashop\themes\yours\cache

 

This step didnt help.

 

Well i went to write line ini_set('display_errors', 'on'); to config.inc.php

because i wanted to see errors.

 

And now, my prestashop on localhost writes 

Fatal error: Call to undefined function xcache_get() in C:\dev\localhost_www\classes\cache\CacheXcache.php on line 36

 

I tried comment this line and other fatal error was in the same file, but with next function xcache_set.

I looked at various forums and i tried various solutions but they didnt work.

Everyone advise delete cache but this solution doesnt work for me.

Thank you for help me.

Link to comment
Share on other sites

ok, redownload all files to check if some files was misses or incorrectly downloaded. 

you need to change in the database the shop tables, to the current folder of the site (instead www use localhost, etc)

 

and remember to delete the htaccess file in root folder

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