Topic: Zen Cart Module for 2.3.2

I am modifying the OSCommerce module to work with a Zen Cart. I have made the hooks.php file so that the module loads in and is presented correctly, but I have having trouble connecting to the Zen Cart database.

There is a form that takes info about the Zen Cart database. Is there anything wrong with this code? It works in FA 2.2, but not in the current version.

include($path_to_root . "/includes/ui.inc");

if ($action == 'show') {

    start_form(true);
    start_table(TABLESTYLE2, "width=40%");

    $th = array("Function", "Description");
    table_header($th);

    $k = 0;

    alt_table_row_color($k);

    label_cell("Table Status");
    if ($found) $table_st = "Found";
    else $table_st = "<font color=red>Not Found</font>";
    label_cell($table_st);
    end_row();

    text_row("Mysql Host", 'dbHost', $dbHost, 20, 40);

    text_row("User", 'dbUser', $dbUser, 20, 40);

    text_row("Password", 'dbPassword', $dbPassword, 20, 40);

    text_row("DB Name", 'dbName', $dbName, 20, 40);
    tax_groups_list_row(_("Default Tax Group:"), 'taxgroup', $default_TaxGroup);

    end_table(1);

    if (!$found) {
        hidden('action', 'create');
        submit_center('create', 'Create Table');
    } else {
        hidden('action', 'update');
        submit_center('update', 'Update Mysql');
    }

    end_form();

    end_page();
}