问题
At moving from local to a server my prestashop web, appears all the text (I think it connects correctly to the database), but it doesn´t visualizing any images,CSS,etc... I´ve modified config/settings.inc.php file and modified PS_SHOP_DOMAIN, PS_SHOP_DOMAIN_SSL and SHOP_URL from the database and also deleted the .htaccess file. Thanks!
The same is with the backoffice:
回答1:
you can do it by two ways:
- navigate into backoffice to SEO&URL link, set correct values for
Shop domain
&SSL domain
&Base URI
fields. Save & update page.
or
- in DB find tables:
ps_configuration, set correct values for PS_SHOP_DOMAIN
and PS_SHOP_DOMAIN_SSL
ps_shop_url set correct values for domain
, domain_ssl
, physical_uri
回答2:
Some Prestashop installs, sometimes have SSL ON (don't know why).
If you are installing it on a server with no SSL certificate, all images and styles will not be loaded and the PHP scripts display barebones HTML pages.
To solve this:
In your Prestashop directory, delete all install directories and files to get the platform running.
Type your admin URL, example: http://yourstore.me/psadmin, log in with a registered valid admin user, and go to to
PREFERENCES->CONFIGURATION
and turn all SSL parameters tooff
.
来源:https://stackoverflow.com/questions/33928693/prestashop-error-404-at-moving-to-server