Post

Add A New Post

Post
Showing 3 out of total 125
core-js@2.4.1: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues
Author : Anonymous Publish Time : 25 Aug 2023 03:11:11

core-js@2.4.1: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100 x even if nothing is polyfilled. Some versions have web compatibility issues. Pl                                                                                                             ease, upgrade your dependencies to the actual version of core-js.
./tools/assets/build.sh: line 17:  8897 Killed                  npm installmple
make: *** [Makefile:7: assets] Error 137

prestashop 1.7.8.10 安装
Author : Anonymous Publish Time : 24 Aug 2023 21:05:09

下载安装包

cd /www/html

 wget https://github.com/PrestaShop/PrestaShop/archive/refs/tags/1.7.8.10.zip

解压

unzip 1.7.8.zip 

mv  PrestaShop-1.7.8.10    yourwebsite.com(你网站web的文件夹,apache中vps配置的)

一些文件夹需要写权限

 chmod -R +w admin-dev/autoupgrade app/config var/logs cache config download img log mails modules override themes translations upload var

chown -R apache:apache  yourwebsite.com

 

切换到网站根目录把相关依赖包安装上

cd  yourwebsite.com

php依赖库

composer  install

css 和js相关依赖

make assets

 

浏览器下执行安装

http://yourwebsite.com/install-dev/index.php

如果有对应目录权限不对,加上写权限即可

如果提示缺少 php_posix  扩展

dnf install php-process   里面包含了 php_posix

 

 

An exception has been thrown during the rendering of a template ("Unable to load template 'file:../public/preload.tpl' in 'header.tpl'")
Author : Anonymous Publish Time : 24 Aug 2023 17:00:28

An exception has been thrown during the rendering of a template ("Unable to load template 'file:../public/preload.tpl' in 'header.tpl'")