1. 在ubuntu+nginx部署后出现index.php/install无限重定向的问题。在本地window则无问题。解决方案,在本地安装后将数据库直接还原到服务器,跳过安装流程。
2. 首页打开布局乱了,图片,css ,js所有静态文件 都打不开。以后是nginx配置出错,利用别的已经在运行的配置运行startbbs问题依旧,折腾许久许久,后来才发现不知道为什么页面上都是https而不是http.而用http是可以打开静态文件的。
3. 在app/config/config.php中将config['base_url']由默认的空改为“http://xxx.com”才解决问题。
nginx配置如下:
server {
#listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
root /srv/www/forum/public_html;
index index.php index.html index.htm;
server_name xxx.com;
error_log /srv/www/forum/logs/nginx.error.log;
access_log /srv/www/forum/logs/nginx.access.log;
location / {
if (-e $request_filename) {
break;
}
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
#rewrite "^/(.*)$" /index.php last;
}
}
location ~ .+\.php($|/) {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
include fastcgi_params;
fastcgi_param script_filename $document_root$fastcgi_script_name;
fastcgi_param path_info $fastcgi_path_info;
fastcgi_param path_translated $document_root$fastcgi_path_info;
#fastcgi_param path_info $path_info;
}
}
在原版的基础上做了一下修正评论没有提交正文的问题特价商品的调用连接问题去掉了一个后门补了SQL注入补了一个过滤漏洞浮动价不能删除的问题不能够搜索问题收藏时放入购物车时出错点放入购物车弹出2个窗口修正主题添加问题商家注册页导航连接问题销售排行不能显示更多问题热点商品不能显示更多问题增加了服务器探测 增加了空间使用查看 增加了在线文件编辑增加了后台管理里两处全选功能更新说明:后台的部分功能已经改过前台
0
startbbs官方主页:http://startbbs.com
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号