2014-11-05 70 views
-2

我有我解決不了問題,我一直在尋找這個問題的天...PHP5,require_once,未能打開流

這是我的/ var /日誌/的Apache2 /錯誤。日誌文件:

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的設置現場工作正常,但當我whant去起始頁得到了一個空白的網站...

  1. 的delegate.php存在,但不是必需的delegate.php(1)文件。
  2. 我啓用了「include_path中= ...」在php.ini
  3. 路徑:/var/www/html/diagramo/editor/common./license.php但存在沒有 點後面(共同)

請幫助我,我還挺新的

+0

請顯示兩個文件的目錄路徑。再次檢查路徑。 – 2014-11-05 14:09:03

+0

我在哪裏編輯require_once? – Armin 2014-11-05 14:24:47

+0

謝謝。奇怪的是,delegate.php和license.php中沒有任何內容會排除一個大字符串。但我會嘗試一下 – Armin 2014-11-05 14:49:04

回答

0

試試這個,因爲這兩個文件都在同一個目錄中。

require_once(license.php) 
+0

你以前的問題解決了嗎?現在你的問題是什麼.....類聲明? – 2014-11-06 06:11:08

相關問題