PHP "[function.require-once]: error

Feed 5 posts, 2 voices

Avatar
10 posts

Hi everyone,

I’ve installed a fresh install of frog on the main directory of this website

faceid.be and I’m getting this error no mather what I do. I’ve tried te following things:

- Create a new Database & install it – Look for path errros in config.php & .htacces file.

but everything is like in all my other installs(which are on the same server).

Can anyone help me out?

thanks in advance!

 
Avatar
1493 posts

If you look in your config.php file, the second constant should have a value:

 define('CORE_ROOT', FROG_ROOT.'/frog');

Is that value correct? It looks like the directory to the utils.php file has dropped out…?

 
Avatar
10 posts

@David as you can see… in the code bellow…

These are my index.php settings: they look pretty standard :/

//  Constants  ---------------------------------------------------------------

define('FROG_ROOT', dirname(__FILE__));
define('CORE_ROOT', FROG_ROOT.'/frog');

define('APP_PATH', CORE_ROOT.'/app');

require_once(CORE_ROOT.'/utils.php');

$config_file = FROG_ROOT.'/config.php';

require_once($config_file);

// Security checks -----------------------------
 
Avatar
10 posts

problem solved: it was a MySQL error…