OFFL

Online Fantasy Football League

OFFL FAQ

  1. Why do I get a Fatal error: main(): Failed opening required 'offlconfig.php' error?
  2. Why do I get a Fatal error: main(): Failed opening required '/lib/functions.php' error?
  3. How do I make OFFL work on a web farm?
  1. Why do I get a Fatal error: main(): Failed opening required '/lib/functions.php' error?

    Your offlconfig.php file is outside of PHP's path. The include path is printed at the end of this error message. Each directory is separated by a colon (semicolon on Windows) character. offlconfig.php should be placed in one of these directories. If none of them are accessible to you, place offlconfig.php in OFFL's $WEB_ROOT and place another copy of it in the maintenance directory.

  2. Why do I get a Fatal error: main(): Failed opening required '/lib/functions.php' error?

    In your offlconfig.php file, $DOC_ROOT and/or $WEB_ROOT are set incorrectly. Review those settings and try again.

  3. How do I make OFFL work on a web farm?

    The necessary code required to use OFFL's PHP sessions on a web farm (like SourceForge) can now be found in your config.php file. Uncomment the line, change the directory to your session save area, and you're ready to go.