Comments (10)
不知道你是否开了php内置的输出错误信息,如果开了,请关闭,
有可能是
lib/announcement.php 没有写权限,你用ftp看看,如果没有,要分配。
from ss-panel.
之前的版本是正常的。。。
其实我第一次装的时候就遇到了权限问题,当时没开PHP的错误提示,打开任何页面都是一片空白(从来没见过这种情况,任何一个页面都是空白啊),死活找不到原因(折腾了两天我都想放弃了)。后来开了错误提示才知道原来是没有写入的权限...所以建议在主页加个提示。
from ss-panel.
我看了一下 lib/announcement.php 是有写权限的。PHP的错误提示我还没关,关了的话太不方便了,出错都找不到原因。
from ss-panel.
在浏览器按F12打开开发者工具,然后点Network
再点修改,会在Network列表最后一个是刚才返回的文件_change_announcement.php 点一下,在右边窗口点Preview,下面就有所有信息了。
from ss-panel.
Warning: fopen(../lib/announcement.php): failed to open stream: Permission denied in /var/www/html/admin/_change_announcement.php on line 56
Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/admin/_change_announcement.php on line 78
{"code":"0","msg":"\u6587\u4ef6\u6253\u4e0d\u5f00"}
果然是权限问题,但是FTP上显示的权限是对的呀。。
from ss-panel.
给读写权限
from ss-panel.
嗯 ,给了777权限之后好了。我还以为给跟之前的版本一样的权限就行了呢。
from ss-panel.
其实是一样的
from ss-panel.
那就不知道了,反正看FTP上的权限跟之前是一样的。
这是现在的权限,必须给777,给775都不行。
from ss-panel.
你文件的持有者帳號和php的運行帳號是一樣的嗎
from ss-panel.
Related Issues (20)
- 旧版如何使用新的加密方式 HOT 3
- 用户管理建议 HOT 105
- 连续签到系统
- 安装完打开页面一片空白,lamp设置均没问题,其他版本sspanel可以用,哪里的问题? HOT 8
- 做API吗? HOT 11
- 后台无法编辑公告 HOT 7
- 强烈建议增加按时间的套餐功能 HOT 7
- 求教: 如果实现用户登录后user/用旧版本模版 HOT 1
- 纠结,为何模版user/下的 .tpl,里面插入单选框无法显示 HOT 10
- 能否实现一个邀请功能呢? 就是邀请获取流量~
- 用SMTP为何收不到重置密码邮件 HOT 8
- 用户管理界面,如果设置默认隐藏某列 HOT 1
- 有没有人会c#的?来帮忙 HOT 2
- 如何更新邀请码页面的状态颜色~? HOT 1
- 能否优化一下数据加载速度 HOT 16
- 更新 状态按钮, 只能停用,就再也无法开启了 HOT 3
- 出错了,非法访问 HOT 13
- 求救,这下搞大了 HOT 7
- 不兼容PHP7? HOT 1
- PHP7環境下運行存在問題 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ss-panel.