|
1, The form could not be submitted. Click here to try again; G& g) }- q- I5 x8 C( i
这个错误是由session引起的。请检查两个配置。nginx配置中的server_name字段使用的是带有www的域名还是不带www的域名。和网站访问的域名一致即可;php的session文件夹权限是否可写。 如果还是无法确认,请查看以下两个日志
5 X* z. K$ g9 h4 o& i& n6 S" H/var/log/php-fpm/error.log" Z, I: s' E3 P
/var/log/nginx/error.log 也可检查lnmp的配置$ s3 m/ T+ c b w' P1 @
vi /usr/local/nginx/conf/nginx.conf# n+ I4 ]5 S h+ f9 B. g
找到www.lnmp.org,修改为你想设置的域名
4 n) }0 t; X5 g: U! k/ ~保存 N* g0 k4 L/ b3 y
执行:/usr/local/nginx/sbin/nginx -s reload 如果是使用cloudflare的SSL才出现此错误,则SSL选择Full模式(Encrypts end-to-end, using a self signed certificate on the server) 2, This domain(www.xxx.com) is not licensed to run iMobiTrax; S' Q, r6 Y; B- i6 L
这个错误表示激活失败。首先访问如下链接,看看是否正确显示 http://服务器IP地址/~imobi/license/api2.php; A9 M/ J) f7 e+ C7 i
如果不正确显示,请检查nginx配置。可以参考上文中的配置;如果正确显示,那一定是iptables的转发规则出错了,依次执行以下即可: iptables -F, L5 z: g, v5 m0 n7 `5 X! t
iptables -t nat -F
: @% u& x6 O- |. Riptables -t nat -AOUTPUT -d 50.28.102.240 -j DNAT –to 服务器IP地址
4 H9 Y# R) g; F+ I/ A7 \# v+ U3 E; V+ w& \1 X% o
|