您的购物车目前是空的!
公司OA项目中需要注意的配置,这里做一下记录。
Table of Contents
在 [mysql]
区域下添加配置:
innodb_page_size=32k sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
具体出现问题如下:
搜索一下2个部分,将如下部分删除:
admin
‘@’localhost
SQL SECURITY DEFINER */ xiaohai
@%
SQL SECURITY DEFINER */ 否则 /xz_sqxg/gong_index
将会报错。
具体错误请检查 .sql 文件中的视图部分sql代码。
以下配置需写在 .conf
文件中,否则不能正常运行。
RewriteEngine on RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] RewriteRule !(^/static|.(gif|swf|exe|png|jpg|js|css)$) /index.php [L]
或使用nginx配置
location ~* ^/(?![static]) { rewrite ^(.*)$ /index.php last; } location ~ .php$ { #root html; fastcgi_pass jphp-fpm:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /data/wwwroot/POWER_IDC$fastcgi_script_name; fastcgi_param SCRIPT_URL $request_uri; include fastcgi_params; }