安装opencart

news/2024/10/23 9:28:23/

 一、安装模板

Install SO Emarket Opencart 4 Theme
一:so_emarket_quick2
二:theme package installation
1、installed opencart Default
2、Extensions->Installer->Upload->so_emarket_theme_oc4011_home21_to_home35_v2.0.3->so_theme.ocmod.zip->Install
3、Extensions->Extensions->Modules->install Theme Control Panel
4、Users->Users Groups->Administrator->Permissions
5、extract image file, coppy and paste into installation folder: image->catalog folder
6、Go to Extensions->Edit->Theme Control Panel->Choose any layout that you want to use.
7、Design->layouts->edit home
8、Select the correct homepage that you selected in the previous step in So Page Builder.
9、refresh the frontend againInstall So Revo Theme for OpenCart 3
1、Go to Admin to install theme : installed->upload
2、Extensions->Modules->Theme Control Panel->Install
3、Change the permission of Administrator
4、Modification->Refresh
5、Overview the setting of So Revo theme
6、View the frontpage

二、服务器布置

 设置网站用户权限chown -R www:www /home/wwwroot/www.***.com/设置open_basedir防跨目录vim /usr/local/nginx/conf/fastcgi.confchattr -i /home/wwwroot/www.***.com/.user.inihttps://lnmp.org/faq/lnmp-vhost-add-howto.html设置storagecp -r /home/wwwroot/www.***.com/system/storage/* /home/wwwroot/storage/chown -R www:www /home/wwwroot/storage/

三、rewrite规则

location / {if ($host != 'www.***.com') {rewrite ^/(.*)$ https://www.***.com/$1 permanent;}#try_files $uri @opencart;try_files $uri $uri/ @opencart;
}location @opencart {rewrite ^/sitemap.xml$ /index.php?route=extension/feed/google_sitemap last;rewrite ^/googlebase.xml$ /index.php?route=extension/feed/google_base last;rewrite ^/payment_callback/(.*) /index.php?route=extension/payment/$1/callback last;rewrite ^/callback/(.*) /index.php?route=extension/module/social/login&provider=$1 last;rewrite ^/system/download/(.*) index.php?route=error/not_found last;rewrite ^/blog$ /index.php?route=panda/blog last;rewrite ^/(.+)$ /index.php?_route_=$1 last;
}location /admin/ {index index.php;
}location = /robots.txt {allow all;
}location ~* (\.(js|css|png|jpg|jpeg|gif|ico|otf|eot|svg|ttf|woff|woff2))$ {expires max;
}location ~* (\.(tpl|ini|twig|log))$ {deny all;
}


http://www.ppmy.cn/news/1350032.html

相关文章

奶茶点餐|奶茶店自助点餐系统|基于微信小程序的饮品点单系统的设计与实现(源码+数据库+文档)

奶茶店自助点餐系统目录 目录 基于微信小程序的饮品点单系统的设计与实现 一、前言 二、系统功能设计 三、系统实现 1、商品信息管理 2、商品评价管理 3、商品订单管理 4、用户管理 四、数据库设计 1、实体ER图 2、具体的表设计如下所示: 五、核心代码 …

CSS Selector—选择方法,和html自动——异步社区的爬取(动态网页)——爬虫(get和post的区别)

这里先说一下GET请求和POST请求: post我们平时是要加data的也就是信息,你会发现我们平时百度之类的 搜索都是post请求 get我们带的是params,是发送我们指定的内容。 要注意是get和post请求!!! 先说一下异…

跟着cherno手搓游戏引擎【24】开启2D引擎前的项目总结(包括前置知识汇总)

前置技术: vs属性解释: MSBuild的入门完整教程(包学包会)-CSDN博客 配置界面: c动态链接和静态链接: 隐藏的细节:编译与链接_哔哩哔哩_bilibili 【底层】动态链接库(dll)是如何工作的&…

基于微信小程序的在线课堂的研究与实现,附源码

博主介绍:✌程序员徐师兄、7年大厂程序员经历。全网粉丝30W、csdn博客专家、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java技术领域和毕业项目实战✌ 🍅文末获取源码联系🍅 👇🏻 精彩专栏推荐订阅👇…

FTP服务简介(工作原理、连接模式、流行服务器软件)

FTP(File Transfer Protocol,文件传输服务)提供在Internet上的任意两台计算机之间相互进行的文件传输。只要双方主机都支持FTP协议,就可以利用FTP来进行文件传输。 工作原理 FTP服务是客户/服务器模式,用户通过客户机…

[C#] 如何使用ScottPlot.WPF在WPF桌面程序中绘制图表

什么是ScottPlot.WPF? ScottPlot.WPF 是一个开源的数据可视化库,用于在 WPF 应用程序中创建高品质的绘图和图表。它是基于 ScottPlot 库的 WPF 版本,提供了简单易用的 API,使开发人员能够通过简单的代码创建各种类型的图表&#…

第三百一十五回

文章目录 1. 概念介绍2. 基本用法3. 补充用法4. 内容总结 我们在上一章回中介绍了"再谈ListView中的分隔线",本章回中将介绍showMenu的用法.闲话休提,让我们一起Talk Flutter吧。 1. 概念介绍 我们在第一百六十三回中介绍了showMenu相关的内容…

【设计模式】23中设计模式笔记

设计模式分类 模板方法模式 核心就是设计一个部分抽象类。 这个类具有少量具体的方法,和大量抽象的方法,具体的方法是为外界提供服务的点,具体方法中定义了抽象方法的执行序列 装饰器模式 现在有一个对象A,希望A的a方法被修饰 …