#31 Blank Pages (includes fix)

closed-works-for-me
nobody
None
5
2006-12-08
2006-03-14
Shane Lahey
No

I've upgraded to newest ver of videodb today & found i
was getting blank pages when pressing edit

the error was found in engines/engines.php
you have not provided pathname correctly for the
included engines.

multiple times i found
require_once($engine.'.php');

to fix it i just did this
edit config.inc.php
added the following to the end of the file

define('VIDEODB_DIR', dirname( __FILE__ ));

then in engines.php i replaced every line matching the
above with the following code.
require_once(VIDEODB_DIR . '/engines/' . $engine.'.php');

worked like a charm ever since :)

Discussion

  • Andreas Goetz
    Andreas Goetz
    2006-10-08

    Logged In: YES
    user_id=391980

    Not sure why this should be an issue- it was working in
    previous releases? As all engines and include files are
    instantiated from the videodb base folder, the setup should
    work?

     
  • Andreas Goetz
    Andreas Goetz
    2006-11-25

    Logged In: YES
    user_id=391980
    Originator: NO

    Is this still a problem?

     
  • Andreas Goetz
    Andreas Goetz
    2006-12-08

    • status: open --> closed-works-for-me