Hi,
Does anybody has this problem, because I don't seem to find any relevant hits?
I am using the Database Administration module for 4.7.4. In the Database Overview page (admin/database), when one selects some tables and clicks the Backup button, it should go to a new page for the actual download. But it just goes back to the database overview page with all checkbox reset.
So I modified the dba_admin_overview() function as below:
function dba_admin_overview() {
$op = $_POST['op'];
$edit = $_POST['edit'];
if (!empty($op) && !empty($edit)) {
dba_form_database_overview_submit('dba_database_overview_form', $edit);
}
return dba_database_overview_form();
}
Can you please review the code and update if needed. Let me know if I missed anything. I am running on this:
MySQL version: 4.0.25-standard
PHP version: 4.3.11
Comments
Comment #1
xelat commentedI reviewed the function drupal_get_form and found that you can fix it by just renaming the function
with
So you don't need to modify the function dba_admin_overview() anymore.
Comment #2
nig commentedI have the same problem.
I found drupal_get_form in includes/form.inc, line 61, but there is no line saying
dba_form_database_overview_submit($form_id, $form_values)
Nor is there any reference to dba anywhere in drupal_get_form
What to do?
Comment #3
dwwhttp://drupal.org/node/40661#comment-158013
this is already fixed in the DRUPAL-4-7 branch of the code. i'm just waiting to fix one other outstanding bug in the 4.7.x-1.0 release before i make a 4.7.x-1.1 that includes the fix. see http://drupal.org/node/48144 for info on that other bug.
sorry for the delay. i probably should have just released a 4.7.x-1.1 as soon as i fixed this. oh well.
-derek