[3.2][3.3][RC] Auto db Backup

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
3Di
Former Team Member
Posts: 14810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by 3Di »

jackennils wrote:
Sun Jan 12, 2020 3:55 pm
Error: Call to undefined function phpbb\db\extractor\get_usable_memory() in /var/customers/webs//web//htdocs/forum/phpbb/db/extractor/mysql_extractor.php:121
That's something related to phpBB, make sure the new files have been correctly replaced.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
jackennils
Registered User
Posts: 227
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][3.3][RC] Auto db Backup

Post by jackennils »

3Di wrote:
Sun Jan 12, 2020 8:53 pm
jackennils wrote:
Sun Jan 12, 2020 3:55 pm
Error: Call to undefined function phpbb\db\extractor\get_usable_memory() in /var/customers/webs//web//htdocs/forum/phpbb/db/extractor/mysql_extractor.php:121
That's something related to phpBB, make sure the new files have been correctly replaced.
Well I went back to RC2 version and that still works properly. It's just RC9 making problems.

User avatar
3Di
Former Team Member
Posts: 14810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by 3Di »

It works just fine here though.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
jackennils
Registered User
Posts: 227
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][3.3][RC] Auto db Backup

Post by jackennils »

Well that is very strange. :(

User avatar
3Di
Former Team Member
Posts: 14810
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by 3Di »

I meant to suggest checking your phpBB files, not the extension.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
bubbathegimp
Registered User
Posts: 106
Joined: Tue Sep 25, 2018 8:02 pm
Location: Off Plumb
Name: Robert Anderson
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by bubbathegimp »

Decided to try RC9 (Updated from RC8)
disabled the extension, deleted the data, uploaded & enabled RC9
Got...

[phpBB Debug] PHP Warning: in file [ROOT]/ext/david63/autodbbackup/controller/admin_controller.php on line 169: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 138: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3037)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 138: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3037)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 138: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3037)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 138: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3037)

hope this helps
Old enough to remember when Water was free, and you had to pay for Porn :o

User avatar
david63
Registered User
Posts: 17246
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by david63 »

bubbathegimp wrote:
Mon Jan 13, 2020 4:21 am
[phpBB Debug] PHP Warning: in file [ROOT]/ext/david63/autodbbackup/controller/admin_controller.php on line 169: A non-numeric value encountered
Thanks - I will fix that, but it should not happen anyway!
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 17246
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by david63 »

alex75 wrote:
Sun Jan 12, 2020 6:15 pm
is a clean new installation of phpbb 3.3.0
php 7.1.33
MySQL (i) 5.6.33-log
Auto database backup 2.1.0 (rc9)
The extension installs without problems, but when I click on the maintenance / auto backup setting tab I get the error described above.
I cannot re-create that error. I have just installed RC9 on a clean install of 3.3 and there are no issues whatsoever
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
aduh
Registered User
Posts: 215
Joined: Thu Jul 05, 2012 7:29 pm
Location: Poland
Name: Hans'
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by aduh »

RC8 works just fine on my 3.3.0 phpBB. Is it necessary for update to RC9? What are the changes? Thx

User avatar
Ahri89
Registered User
Posts: 520
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: [3.2][RC] Auto db Backup

Post by Ahri89 »

LapouX wrote:
Wed Oct 30, 2019 1:44 pm
Hi

I have just updated to RC8 (RC6 before) & I have the error : "The default timzone in your php.ini file is invalid."
Do you know where I can edit php.ini to edit timezone ?

Thanks
Same problem here but updating to RC9 from RC6

Solved editing /etc/php/7.4/apache2/php.ini

Image
Image

Only uncomment date-timezone and restart apache.

Code: Select all

systemctl restart apache2
Image
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

User avatar
Ahri89
Registered User
Posts: 520
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: [3.2][RC] Auto db Backup

Post by Ahri89 »

Spanish translation for RC9

acp_autobackup.php

Code: Select all

<?php
/**
*
* @package Auto db Backup
* @copyright (c) 2015 david63
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'AUTO_DB_BACKUP_COPIES'					=> 'Copias de seguridad almacenadas',
	'AUTO_DB_BACKUP_COPIES_EXPLAIN'			=> 'El número de copias de seguridad que se almacenarán en el servidor.<br />0 significa que está deshabilitado y todas las copias de seguridad se almacenarán en el servidor.',
	'AUTO_DB_BACKUP_ENABLE'					=> 'Habilitar copia de seguridad automática de la base de datos',
	'AUTO_DB_BACKUP_ENABLE_EXPLAIN'			=> 'Habilitar o deshabilitar las copias de seguridad automáticas de la base de datos',
	'AUTO_DB_BACKUP_FILETYPE'				=> 'Tipo de archivo',
	'AUTO_DB_BACKUP_FILETYPE_EXPLAIN'		=> 'Elija el tipo de archivo para las copias de seguridad.',
	'AUTO_DB_BACKUP_FREQ'					=> 'Frecuencia de la copia de seguridad',
	'AUTO_DB_BACKUP_FREQ_EXPLAIN'			=> 'Establecer la frecuencia de la copia de seguridad en horas.',
	'AUTO_DB_BACKUP_MAINTAIN_FREQ'			=> 'Mantener la hora de frecuencia de la copia de seguridad',
	'AUTO_DB_BACKUP_MAINTAIN_FREQ_EXPLAIN'	=> 'Establecer esto en <strong>“Si”</strong> significará que la frecuencia de la copia de seguridad se mantendrá.<br>Por ejemplo - Si la hora se establece en 23:15 y la frecuencia se establece en 24 horas, entonces la próxima copia de seguridad será a las 23:15 del día siguiente. Si se establece en <strong>“No”</strong> entonces la próxima copia de seguridad se realizará 24 horas después de que se ejecute la copia de seguridad.',
	'AUTO_DB_BACKUP_OPTIMIZE'				=> 'Optimizar la base de datos antes de realizar la copia de seguridad.',
	'AUTO_DB_BACKUP_OPTIMIZE_EXPLAIN'		=> 'Optimice solo las tablas de base de datos no optimizadas antes de realizar la copia de seguridad.',
	'AUTO_DB_BACKUP_SETTINGS'				=> 'Configuración de la copia de seguridad automática de la base de datos',
	'AUTO_DB_BACKUP_SETTINGS_CHANGED'		=> 'Configuración de la copia de seguridad automática de la base de datos cambiada.',
	'AUTO_DB_BACKUP_SETTINGS_EXPLAIN'		=> 'Aquí puede establecer la configuración predeterminada para las copias de seguridad automáticas de la base de datos. Dependiendo de la configuración de su servidor, es posible que pueda comprimir la base de datos.<br />Todas las copias de seguridad se almacenarán en la carpeta <samp>/store/</samp>. Puede restaurar la copia de seguridad a través del panel <em>Restaurar</em>.',
	'AUTO_DB_BACKUP_TIME'					=> 'Siguiente hora para copia de seguridad',
	'AUTO_DB_BACKUP_TIME_ERROR'				=> 'La <strong>hora de la siguiente copia de seguridad</strong> no es correcta. La hora debe ser definida en el futuro.',
	'AUTO_DB_BACKUP_TIME_EXPLAIN'			=> 'La hora en que se debe realizar la próxima copia de seguridad de la base de datos.<br /><strong>Nota:</strong> La fecha/hora debe estar especificada en el futuro.',

	'CLICK_SELECT'							=> 'Haga clic en el cuadro de texto para seleccionar la fecha/hora',

	'DATE_FORMAT_ERROR'						=> 'El formato fecha/hora de la siguiente copia de seguridad no es válido.',

	'INVALID_PHP_TIMEZONE'					=> 'La zona horaria predeterminada en su archivo php.ini no es válida.',
	'INVALID_USER_TIMEZONE'					=> 'Hay un problema con la configuración de su zona horaria en la UCP.',

	'NEW_VERSION'							=> 'Nueva Versión',
	'NEW_VERSION_EXPLAIN'					=> 'Hay disponible una nueva versión de esta extensión.',
	'NO_TIMEZONE_SET'						=> 'No tiene una zona horaria establecida en su UCP - configúrela antes para poder continuar.',

	'VERSION'								=> 'Versión',

	'FILETYPE'	=> array(
		'gzip'	=> 'gzip',
		'bzip2'	=> 'bzip2',
		'text'	=> 'text',
	),
));

// Date/time picker
$lang = array_merge($lang, array(
	'HOUR_TEXT'				=> 'Hora',
	'MINUTE_TEXT'			=> 'Minuto',
	'NEXT_TEXT'				=> 'Siguiente »',
	'PREV_TEXT'				=> '« Previo',
	'TIME_TEXT'				=> 'Hora',

	// Translators note: retain the format of [" "] as they are creating JSON compatible arrays
	'DAY_NAMES_MIN'			=> '["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"]',
	'MONTH_NAMES' 			=> '["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]',
));

// Donate
$lang = array_merge($lang, array(
	'DONATE'					=> 'Donar',
	'DONATE_EXTENSIONS'			=> 'Donar para mis extensiones',
	'DONATE_EXTENSIONS_EXPLAIN'	=> 'Esta extensión, al igual que todas mis extensiones, es totalmente gratuita. Si se ha beneficiado de su uso, por favor, considere hacer una donación haciendo clic en el botón de donación de PayPal que se encuentra al lado, lo agradecería. Prometo que no habrá spam ni solicitudes de nuevas donaciones, aunque siempre serán bienvenidas.',

	'PAYPAL_BUTTON'				=> 'Donar con el botón de PayPal',
	'PAYPAL_TITLE'				=> 'PayPal - ¡La forma más segura y fácil de pagar en línea!',
));
ext_enable_error.php

Code: Select all

<?php
/**
*
* @package Auto db Backup
* @copyright (c) 2016 david63
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

/// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, [
	'EXT_ENABLE_ERROR' => 'Esta extensión requiere phpBB 3.2.0 (o mayor).',
]);

/**
* Translators ignore this.
*
* Overwrite core error message keys with a more specific message.
*/
$lang = array_merge($lang, array(
	'EXTENSION_NOT_ENABLEABLE' 		=> isset($lang['EXTENSION_NOT_ENABLEABLE']) ? $lang['EXTENSION_NOT_ENABLEABLE'] . '<br><br><strong>' . $lang['EXT_ENABLE_ERROR'] . '</strong>' : null,
	'CLI_EXTENSION_ENABLE_FAILURE' 	=> isset($lang['CLI_EXTENSION_ENABLE_FAILURE']) ? $lang['CLI_EXTENSION_ENABLE_FAILURE'] . ' : ' . $lang['EXT_ENABLE_ERROR'] : null,
));
info_acp_autodbbackup

Code: Select all

<?php
/**
*
* @package Auto db Backup
* @copyright (c) 2015 david63
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'ACP_AUTO_DB_BACKUP'			=> 'Copia automática de la base de datos',
	'ACP_AUTO_DB_BACKUP_SETTINGS'	=> 'Ajustes de la copia automática de la base de datos',

	'LOG_AUTO_DB_BACKUP'			=> '<strong>Copia automática de la base de datos completada</strong>',
	'LOG_AUTO_DB_BACKUP_SETTINGS'	=> '<strong>Alterada la configuración de la copia de seguridad automática</strong>',
	'LOG_AUTO_DB_BACKUP_TIMEZONE'	=> 'La Copia de seguridad automática de la base de datos falló debido a una configuración de zona horaria no válida',
));
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

newmember
Registered User
Posts: 14
Joined: Fri May 24, 2019 10:58 pm

Re: [3.2][RC] Auto db Backup

Post by newmember »

david63 wrote:
Thu Jan 09, 2020 7:39 am
@newmember

Can you post a screenshot of ACP > System > Module management > User control panel

Sorry for the delay
apc.PNG

User avatar
david63
Registered User
Posts: 17246
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][3.3][RC] Auto db Backup

Post by david63 »

That is the ACP not the U&CP
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

newmember
Registered User
Posts: 14
Joined: Fri May 24, 2019 10:58 pm

Re: [3.2][3.3][RC] Auto db Backup

Post by newmember »

david63 wrote:
Tue Jan 28, 2020 10:36 pm
That is the ACP not the U&CP
apologies
Attachments
apc1.PNG
Last edited by newmember on Tue Jan 28, 2020 10:58 pm, edited 1 time in total.

newmember
Registered User
Posts: 14
Joined: Fri May 24, 2019 10:58 pm

Re: [3.2][3.3][RC] Auto db Backup

Post by newmember »

david63 wrote:
Tue Jan 28, 2020 10:36 pm
That is the ACP not the U&CP
gees
apc1.PNG

Post Reply

Return to “Extensions in Development”