Hi, could you help with these errors I received trying to install on XAMPP:
Notice: Use of undefined constant CONFIG_DIR - assumed 'CONFIG_DIR' in C:\xampp\htdocs\sphpblog\scripts\classes\configuration.php on line 20
Strict Standards: Non-static method fileio::read_file() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\sphpblog\scripts\classes\container.php on line 156
Notice: Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR' in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
Warning: require_once(ROOT_DIR/themes/default/themes.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
Fatal error: require_once(): Failed opening required 'ROOT_DIR/themes/default/themes.php' (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
English isn't my native language. Sorry for any mistakes you may find.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, could you help with these errors I received trying to install on XAMPP:
Notice: Use of undefined constant CONFIG_DIR - assumed 'CONFIG_DIR' in C:\xampp\htdocs\sphpblog\scripts\classes\configuration.php on line 20
Strict Standards: Non-static method fileio::read_file() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\sphpblog\scripts\classes\container.php on line 156
Notice: Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR' in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
Warning: require_once(ROOT_DIR/themes/default/themes.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
Fatal error: require_once(): Failed opening required 'ROOT_DIR/themes/default/themes.php' (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\sphpblog\scripts\sb_config.php on line 44
English isn't my native language. Sorry for any mistakes you may find.
Anyone?
First of all, can you check themes.php exist in your installation?