hellopython avatar

出现了另外的错误

🕞 by hellopython

之前的环境是wamp,出现错误: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log 不知道是不是和php apache版本有问题

现在换了ubuntu12.04 ,然后是这个错误

服务器错误 网站在检索 http://127.0.0.1/youbbs/ 时遇到错误。 该网站可能关闭进行维护或配置不正确。

有没有知情的说一下是不是和服务器还有php版本有关系,现在在用bbs v1.03 谢谢了

💘 相关文章

评论

共14条关于"出现了另外的错误"的评论

hellopython avatar
#1 hellopython 回复

请问除了修改config.php里边数据库的密码用户之外,还需要修改什么别的吗?

ego008 avatar
#2 ego008 回复

看最后一句话 More information about this error may be available in the server error log

主楼所帖的提示和https://www.youbbs.org/t/989 主楼的提示一模一样。

hellopython avatar
#3 hellopython 回复

@ego008 e...那个帖子就是我贴的

日志 [Mon Apr 22 11:31:56 2013] [notice] caught SIGTERM, shutting down [Mon Apr 22 11:31:57 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations [Mon Apr 22 11:32:03 2013] [error] [client 127.0.0.1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 [Mon Apr 22 11:32:03 2013] [error] [client 127.0.0.1] PHP Fatal error: Unknown: Failed opening required '/var/www/youbbs/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

hellopython avatar
#5 hellopython 回复

@ego008 权限是777.。。config.php里边密码用户名都改了,不知还需要配置别的么?

ego008 avatar
#6 ego008 回复

@hellopython 问Google PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

hellopython avatar
#7 hellopython 回复

@ego008 不知道是不是这个版本的bug,修改权限之后开始还是不好,不过突然又好了,然后出现了首界面,不过还存在问题,先谢谢了

hellopython avatar
#8 hellopython 回复

好吧,现在点所有地方都是not found,在ubuntu环境,通过sudo a2enmod rewrite开启了rewirte

ego008 avatar
#14 ego008 回复

@flaresun 设定一个二级目录前缀, 如在config.php 里设置 define('BBSPATH', 'mybbs');

然后在模板里所有链接的地方加上BBSPATH,在程序里有跳转的地方也加上BBSPATH。

写一条评论

Based on Golang + fastHTTP + sdb | go1.16.3 Processed in 0ms