【发布时间】:2015-01-01 14:30:55
【问题描述】:
我有一个无法解决的问题,我一直在寻找这个问题好几天......
这是我的 /var/log/apache2/error.log 文件:
PHP Warning: require_once(/var/www/html/diagramo/editor/common./license.php): failed to open stream: No such file or directory in /var/www/html/diagramo/editor/common/delegate.php(1) : eval()'d code(54) : eval()'d code on line 5
PHP Fatal error: require_once(): Failed opening required '/var/www/html/diagramo/editor/common./license.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/diagramo/editor/common/delegate.php(1) : eval()'d code(54) : eval()'d code on line 5
我想在我的 Apache2 服务器上运行这个 Diagram-Sketch-Software。 Diagramo 的设置站点工作正常,但是当我想转到起始页时,我得到一个空白站点...
- delegate.php 存在但不是必需的delegate.php(1) 文件。
- 我在 php.ini 中启用了“include_path=...”
- 路径:
/var/www/html/diagramo/editor/common./license.php存在但没有 点后面(常见)。
请帮帮我,我是个新手
【问题讨论】:
-
请显示两个文件的目录路径。再次检查路径。
-
我必须在哪里编辑 require_once?
-
谢谢。奇怪的是,delegate.php 和 license.php 除了一个大字符串之外什么都没有。但我会试试看
-
这个草图程序真是让人头疼。我按你说的改了。错误消失了,但我得到了一个新错误...
PHP Fatal error: Class 'Delegate' not found in /var/www/html/diagramo/editor/common/rememberme.php on line 7 -
在那个文件中我只改变了delegate.php的路径。这是第 6 行和第 7 行:
require_once('/var/www/html/diagramo/editor/common/delegate.php'); $delegate = new Delegate();在这个文件中没有声明类...
标签: apache path require-once