Tumbleweed

Mar 28
Permalink

Mystery open_base_dir errors with CakePHP 1.2

A question came up on #cakephp about mystery open_base_dir errors, so I thought I’d document my fix. As I don’t use any other libraries when working with Cake projects, I simply removed the existing include path in /app/webroot/index.php.

on line 69 change:

ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'));

to

ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS);

Hope this helps someone.

Apr 21
Permalink

First Post

Found tumblr on bbc.co.uk news, probably won’t post again, but ya never know!

 j