CodeIgniter Forums

Full Version: code igniter having issues after pear install.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

So I just installed pear for php5 on my godaddy site. A basic check of to see if pear is works fine.

example non code igniter check:

require_once 'System.php';
var_dump(class_exists('System', false));

But CI is now giving me path errors when my path appears to be correct.

Warning: require(application/config/config.php) [function.require]: failed to open stream: No such file or directory in /home/content/s/a/m/sample/html/sysblock/system/core/Common.php on line 237

Fatal error: require() [function.require]: Failed opening required 'application/config/config.php' (include_path='“.:/usr/local/php5/lib/php:/home/content/k/i/n/king7997/html/sysblock/PEAR”') in /home/content/s/a/m/sample/html/sysblock/system/core/Common.php on line 237

Any ideas?

This include paths are correct. I am stuck trying to figure this out. Without pear installed CI works fine. But I need some of the PEAR functions for a Restful web service project I am trying to work on.