2012-08-03 112 views
1

我刚刚安装了apigen 2.7.0并试图生成一些文档。我试图从NetBeans的内部以及从与--debug参数从命令行运行apigen,但我总是得到同样的错误输出:apigen - 错误:服务器遇到内部错误,无法完成您的请求

ERROR: the server encountered an internal error and was unable to complete your request. 

For more information turn on the debug mode using the --debug option. 

我也尝试了最新版本从GitHub apigen的,但我仍然得到相同的输出。

回答

0

在您的php.ini中设置默认时区。这很快就会在2.7.1中解决。

+0

我在我的本地机器上运行MAMP和时区ist设置为'date.timezone =“Europe/Berlin”'。任何想法可能会出错? – wowpatrick 2012-08-03 11:02:58

+0

有什么想法?真的停留在这里... – wowpatrick 2012-08-04 10:11:16

0

我假设你正在使用Linux。你是否说过用--debug选项运行它?什么是输出:

$ apigen --version --debug 

另外,检查IDE的日志文件。 不过,这很可能是Netbeans 权限的问题。运行它,须藤应解决的问题:

sudo netbeans 

如果你不想跑它作为特权用户,(事实上很多人)检查日志和更改权限对每个被拒绝写操作。总之,你可能也想检查phpdocumentor。或蟒蛇:)

相关问题