Menu

config.inc.php help!!!

Hilfe/Help
2005-05-19
2013-04-30
  • [[ neener ]]

    [[ neener ]] - 2005-05-19

    Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/neener3/public_html/neener/chat/install.php on line 2

    Fatal error: main(): Failed opening required 'config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/neener3/public_html/neener/chat/install.php on line 2

     
    • [[ neener ]]

      [[ neener ]] - 2005-05-19

      i dont really know how to set the config.inc.php file correctly.. can someone please help me. its this area that confuses me...

      --------------------------------------------------------------------------

      // configuration file for PHPOpenChat
      // will be included by almost all source files
      define('POC_BASE', dirname(__FILE__));

      if( strtoupper( substr(PHP_OS,0,3) ) == 'WIN' )
      {
        define('POC_OS','win');
        define('DELI','\\');

      --------------------------------------------------------------------------

      What goes where it says "__FILE__" can someone give me a sample?

       
    • cfuller36

      cfuller36 - 2005-07-17

      replace dirname(_FILE_) with '/phpopenchat'

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.