Jump to content

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)
Link to comment
Share on other sites

  • 3 weeks later...

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)

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