Jump to content
greedo

Prestashot 1.7.5.2 on localhost not loading styles, images etc

Recommended Posts

Hi everyone,

I have a problem with my local copy of prestashop. I have transfered all files from FTP to my local drive, changed server name, database name etc, made copy of database and changed in ps_shop_url domain and domain_ssl to localhost, physical_uri to folder name. Also I made changes in ps_configuration to localhost, made changes in bootstrap.php (DB_SERVER etc) but I got such an error:

(1/1) ContextErrorException

Warning: count(): Parameter must be an array or an object that implements Countable

Can anyone please help me?

Edited by greedo (see edit history)

Share this post


Link to post
Share on other sites

Check your PHP versions, they seem to be different. Anyway it's only a warning and will disappear when you switch off debug mode.

If styles and images are not loading check you .htaccess -  you should re-generate it after server move. Addtionally delete cache (var/cache)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More