mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-24 01:20:40 +01:00
[ticket/15311] Detail errors a little more
PHPBB3-15311
This commit is contained in:
parent
5a65208341
commit
6d2c815c75
@ -335,7 +335,7 @@ class acp_database
|
||||
}
|
||||
catch (\phpbb\storage\exception\exception $e)
|
||||
{
|
||||
|
||||
// If open fails, just finish
|
||||
}
|
||||
|
||||
flush();
|
||||
@ -360,8 +360,7 @@ class acp_database
|
||||
}
|
||||
catch (\phpbb\storage\exception\exception $e)
|
||||
{
|
||||
// Error while copying file from storage to temp
|
||||
exit;
|
||||
trigger_error($user->lang['RESTORE_DOWNLOAD_FAIL'] . adm_back_link($this->u_action));
|
||||
}
|
||||
|
||||
switch ($matches[1])
|
||||
|
@ -59,6 +59,7 @@ $lang = array_merge($lang, array(
|
||||
'FILE_WRITE_FAIL' => 'Unable to write file to storage folder.',
|
||||
'FULL_BACKUP' => 'Full',
|
||||
|
||||
'RESTORE_DOWNLOAD_FAIL' => 'Error while copying file from storage to local temporary folder.',
|
||||
'RESTORE_FAILURE' => 'The backup file may be corrupt.',
|
||||
'RESTORE_OPTIONS' => 'Restore options',
|
||||
'RESTORE_SELECTED_BACKUP' => 'Are you sure you want to restore the selected backup?',
|
||||
|
Loading…
x
Reference in New Issue
Block a user