Menu

#308 Constant BASE already defined

1.1
open
nobody
1
2016-12-13
2015-04-10
Anonymous
No

Seeing "Notice: Constant Base already defined in <siteroot>/phpipam/config.php on line 32"

The problem is on page
./functions/functions-install.php:require( dirname(FILE) . '/../config.php' );

it's already included by ./index.php:require('config.php');

So I've just changed file to
./functions/functions-install.php:require_once( dirname(FILE) . '/../config.php' );

and now dont see any notices while working in phpipam

Discussion

  • Anonymous

    Anonymous - 2015-04-10

    I wrote about [v1.1] rev010

     
  • Miha Petkovsek

    Miha Petkovsek - 2015-04-23
    • status: open --> closed
     
  • Miha Petkovsek

    Miha Petkovsek - 2015-04-23

    thanks, willl change for xet ver.

    brm

     
  • Anonymous

    Anonymous - 2016-02-04

    Bug still exists in v1.2 ...

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-04
    • status: closed --> open
     
  • Anonymous

    Anonymous - 2016-12-13
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel