我有一個網站在我的本地機器上運行。當我在OSX上時,這些行是可以的。而在窗口生成錯誤:致命錯誤:require_once():無法打開所需的文件.php
set_include_path (get_include_path() . ':' . dirname (__FILE__) . '/../lib/propel/runtime/lib/');
set_include_path (get_include_path() . ':' . dirname (__FILE__) . '/../lib/smarty/libs/');
set_include_path (get_include_path() . ':' . dirname (__FILE__) . '/../classes/');
set_include_path (get_include_path() . ':' . dirname (__FILE__) . '/../classes/ORM/');
這是錯誤
Fatal error: require_once(): Failed opening required 'Propel.php' (include_path='.:C:/wamp/www/emporio-rossi/conf/:C:\wamp\www\emporio-rossi\wapp/../lib/propel/runtime/lib/:C:\wamp\www\emporio-rossi\wapp/../lib/smarty/libs/:C:\wamp\www\emporio-rossi\wapp/../classes/:C:\wamp\www\emporio-rossi\wapp/../classes/ORM/') in C:\wamp\www\emporio-rossi\wapp\conf.inc.php on line 33
Propel.php位於URI(set_include_path (get_include_path() . ':' . dirname (__FILE__) . '/../lib/propel/runtime/lib/');
)
微指令... :) T優! –