0
Warning: copy(/home/beradioc/public_html/phpfreechat-1.3/src/../data/public/themes/default/sound.swf) [function.copy]: failed to open stream: Permission denied in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 179

Warning: chmod() [function.chmod]: Operation not permitted in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 180

Warning: copy(/home/beradioc/public_html/phpfreechat-1.3/src/../data/public/themes/default/smileys/emoticon_surprised.png) [function.copy]: failed to open stream: Permission denied in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 179

Warning: chmod() [function.chmod]: Operation not permitted in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 180

Warning: copy(/home/beradioc/public_html/phpfreechat-1.3/src/../data/public/themes/default/smileys/emoticon_waii.png) [function.copy]: failed to open stream: Permission denied in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 179

Warning: chmod() [function.chmod]: Operation not permitted in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 180

Warning: copy(/home/beradioc/public_html/phpfreechat-1.3/src/../data/public/themes/default/smileys/weather_sun.png) [function.copy]: failed to open stream: Permission denied in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 179

Warning: chmod() [function.chmod]: Operation not permitted in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 180

Warning: copy(/home/beradioc/public_html/phpfreechat-1.3/src/../data/public/themes/default/smileys/weather_cloudy.png) [function.copy]: failed to open stream: Permission denied in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 179

Warning: chmod() [function.chmod]: Operation not permitted in /home/beradioc/public_html/phpfreechat-1.3/src/pfctools.php on line 180
4

2 回答 2

1

您的脚本没有权限。

如果您在自己的服务器上运行,请使用chmod。如果您在共享主机上运行,​​请尝试更改权限,但不会授予您成功的权限。

于 2011-03-08T17:56:56.033 回答
0

chmod 是用于更改文件和/或目录权限的命令,您的脚本似乎没有足够的权限执行此操作或复制文件。我强烈建议您研究文件权限,也许阅读 phpfreechat 的自述文件,它可能会告诉您这些权限是什么并从那里开始。如果您没有 ssh 访问权限或无法直接访问您的 Web 服务器,那么在您找出哪些文件和目录需要哪些权限后,您可能需要托管公司的一些帮助。

快速浏览一下 phpfreechat 的页面状态:

将 Web 服务器的写入权限授予“phpfreechat-xx/data/public”和“phpfreechat-xx/data/private”目录。
如果您使用 FTP:

 CHMOD 777 phpfreechat-x.x/data/private
 CHMOD 777 phpfreechat-x.x/data/public



 If you are using SSH:

chmod 777 phpfreechat-x.x/data/*
于 2011-03-08T17:58:44.477 回答