商派--多用户商城(B2B2C) 部署过程常见问题

官方文档

http://club.shopex.cn/doc/b2b2c-deploy-and-maintenance/100.deploy/200.linux-install.md

windows环境下 浏览超级管理后台时候 容易出现如下错误::

1 报错Limited-user licenses are not supported

<b>Fatal error</b>:  Limited-user licenses are not supported due to concurrent users module startup failure in <b>D:\webhost\oms\ShopexErp\app\base\kernel.php</b> on line

参考 http://www.updateweb.cn/zwfec/item-56.html

使用非administrator 用户来安装phpStudy导致问题

解决方法二

更改整个目录的所有者, 权限为当前最高用户 administrator.

 

2 redis启动失败常见问题
/etc/init.d/redis start
查看日志 
tail -f /var/log/redis/redis.log
错误提示为  Can't chdir to './': Permission denied
linux --chdir() 改变当前工作目录函数
解决方法: 修改日志权限
启动脚本 为root
chown -R root:root /etc/init.d/redis

chmod 777  -R /var/log/redis/


chmod 777  /var/lock/subsys/redis
chmod 777   /etc/sysconfig/redis
修改所有者
chown -R root:root /etc/init.d/redis
chmod 777 -R /var/log/redis/

错误提示为  Can't open the append-only file: Permission denied
chown -R redis:redis /home/vagrant/appendonly.aof
chmod 777 -R /home/vagrant/
chmod 777 /home/vagrant/appendonly.aof

方法二 重新安装

yum remove redis
yum install redis
/etc/init.d/redis start


3  设置mysql 远程连接 
问题: 安装完mysql之后, root无法远程连接, 没有密码:
运行 
mysql -uroot
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges;
 

 

4 数值较大或者浮点数计算时候, 自动变成科学计数法

php.ini 中调整一下浮点数精度就可以了

precision = 18

5   Nginx rewrite  重写

vhost配置文件 /usr/local/nginx/conf/vhosts/*.conf中 添加规则

if (!-e $request_filename) {

    rewrite ^(.*)$ /index.php/$1 last;

}

 

调用银行接口支付后, 回调地址无法访问.

比如 http://abc.com/index.php/goods?id=123&from=http://abb.com/index.php/goods?id=333

 

接口后台 正常访问路径

http://abc.com/index.php/api

通过如下路径 http://abc.com/aaaaa/index.php/api ,也会路由到 http://abc.com/index.php/api 下

但是文件上传路径会出错

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值