Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#298 ROOT_DIR undefined

0.8.1
closed-out-of-date
nabber00
None
5
2013-10-09
2013-07-22
Lev Stejngardt
No

Software: Windows 7, Apache 2.4, PHP 5.4.7.

Downloaded and extracted 0.8.1. Called install00.php -> get an empty page.

Set error_reporting( E_ALL ^ E_NOTICE ); in sb_functions -> get:

Strict Standards: Non-static method fileio::read_file() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\sph\scripts\classes\container.php on line 156
Warning: require_once(ROOT_DIR/themes/default/themes.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sph\scripts\sb_config.php on line 45
Fatal error: require_once(): Failed opening required 'ROOT_DIR/themes/default/themes.php' (include_path='.;C:\xampp\php\pear') in C:\xampp\htdocs\sph\scripts\sb_config.php on line 45

Copied "if (!defined('ROOT_DIR')){ define('ROOT_DIR', dirname(dirname(file)) . '\'); }" to sb_config.php -> Install page loads well.

Best Regards, Lev

Discussion

  • nabber00
    nabber00
    2013-10-09

    • status: unread --> closed-out-of-date
    • assigned_to: nabber00
     
  • nabber00
    nabber00
    2013-10-09

    This should be fixed in svn and included in the next release.