cron.verifyurls.php ...

Please report bugs here!

Moderator: Thorsten

Post Reply
Lidio
Posts: 25
Joined: Mon Dec 10, 2007 9:26 pm

cron.verifyurls.php ...

Post by Lidio » Sat Jun 14, 2008 6:11 pm

Greetings,

a minor point -- looking at cron.verifyurls.php I believe that

Code: Select all

//
// Disconnect from database
//
$db->dbclose();
should be inside the if structure

Code: Select all

if ($isCronRequest && file_exists(PMF_ROOT_DIR.'/inc/data.php')) {
 ...snip...

    @ob_flush();
    flush();
    // close DB here
}
otherwise it will generate an error -- "Fatal error: Call to a member function on a non-object ..." when called from non localhost.

Lidio.

Post Reply