Skip to content

installing when debug is on #6

@ghost

Description

It seems that when debug is on an Error is thrown and the db table #__scheduler_options is not created

Reason (to the best of my knowledge):

$query = "SELECT * FROM #__scheduler_options WHERE name='scheduler_php'";
$db->setQuery($query);
$config_exists = $db->loadResult($query);

throws the error if the table does not exist

Solution (...):Use check similar to

$query = "SHOW TABLES LIKE '".$db->getPrefix()."events_rec'";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions