Prestashop Error 404 at moving to server

邮差的信 提交于 2019-12-10 11:41:00

问题


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:

  1. navigate into backoffice to SEO&URL link, set correct values for Shop domain & SSL domain & Base URI fields. Save & update page.

or

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

  1. In your Prestashop directory, delete all install directories and files to get the platform running.

  2. 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 to off.



来源:https://stackoverflow.com/questions/33928693/prestashop-error-404-at-moving-to-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!