dongya2029 2014-09-22 09:40
浏览 61

在PRESTASHOP中的多线程URL上找不到所有CSS和JS文件

I have enabled multistore option enabled in my prestashop website. I also setup a store named 'abc' and set its url 'http://example.com/abc'. My site home page is runnig well but when I go to my store url 'http://example.com/abc' it does not load properly due to it couldn't found all js and css file in head tag and it is showing 404 not found for all css and js file in consol. What can be the problem there.? Thanks for advance help.

  • 写回答

1条回答 默认 最新

  • douxiangdiao6348 2014-09-25 05:29
    关注
    1. Open vim config/settings.inc.php from config folder
    2. Locate the line that contains the __PS_BASE_URI__ setting, and then update the value with the base URI.

      If you installed PrestaShop in the document root directory 
      (for example, public_html), 
      then the base URI is /. Alternatively, if you installed PrestaShop 
      in a subdirectory, 
      the base URI is /path, where path represents the folder name. 
      For example, the following line shows 
      the base URI set to the document root directory (/):
      
      define('__PS_BASE_URI__', '/');
      
      for subdirectory - define('__PS_BASE_URI__', '/directoryname');
      
    3. Save Changes.

    4. Check this url for more information : http://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/prestashop2/changing-the-prestashop-url-settings
    评论

报告相同问题?

悬赏问题

  • ¥15 我的数据无法存进链表里
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端