[3.2][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!
Scam Warning
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)
fagbutlil
I've Been Banned!
Posts: 77
Joined: Wed Mar 07, 2018 10:56 pm

Re: [3.2][RC] Auto db Backup

Post by fagbutlil » Sat May 25, 2019 8:20 am

Better look again there is 3 files in total

{% INCLUDECSS '@david63_loginredirect/admin_forms.css' %}

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

Re: [3.2][RC] Auto db Backup

Post by david63 » Sat May 25, 2019 1:55 pm

fagbutlil wrote:
Sat May 25, 2019 8:20 am
Better look again there is 3 files in total

{% INCLUDECSS '@david63_loginredirect/admin_forms.css' %}
Error fixed and links in OP updated
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
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Sat May 25, 2019 2:50 pm

There are still errors

Code: Select all

[Sat May 25 17:10:18.597871 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: PHP Fatal error:  Uncaught Twig\\Error\\LoaderError: There are no registered paths for namespace "david63_loginredirect" in "@david63_autodbbackup/head_panel.html" at line 1. in /var/www/vhosts/solidjeuh.be/httpdocs/vendor/twig/twig/src/Loader/FilesystemLoader.php:222, referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.597982 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: Stack trace:, referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.598009 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: #0 /var/www/vhosts/solidjeuh.be/httpdocs/phpbb/template/twig/loader.php(135): Twig\\Loader\\FilesystemLoader->findTemplate('@david63_loginr...'), referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.598026 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: #1 /var/www/vhosts/solidjeuh.be/httpdocs/vendor/twig/twig/src/Loader/FilesystemLoader.php(155): phpbb\\template\\twig\\loader->findTemplate('@david63_loginr...'), referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.598042 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: #2 /var/www/vhosts/solidjeuh.be/httpdocs/phpbb/template/twig/environment.php(328): Twig\\Loader\\FilesystemLoader->getCacheKey('@david63_loginr...'), referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.598063 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: #3 /var/www/vhosts/solidjeuh.be/httpdocs/cache/production/twig/27/27caf85c7ced476ae04e0e00421197a3897949fe6708e4b0753a30251bafb2c5.php(35): phpbb\\template\\twig\\environment->findTemplate('@david63_loginr...'), referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
[Sat May 25 17:10:18.598079 2019] [fcgid:warn] [pid 21321:tid 139857401730816] [client 212.92.105.237:33554] mod_fcgid: stderr: #4 /var/www/vhosts/solidjeuh.be/httpdocs/vendor/twig/twig/src/Template.php(430): __TwigTemplate_c8d64309c in /var/www/vhosts/solidjeuh.be/httpdocs/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 222, referer: https://www.solidjeuh.be/adm/index.php?sid=e0eb8ddf76ab3739aa99748452da7f31&i=25
Fixed by removing
{% INCLUDECSS '@david63_loginredirect/admin_forms.css' %}

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

Re: [3.2][RC] Auto db Backup

Post by david63 » Sat May 25, 2019 3:18 pm

Should be fixed - re-download
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
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Sat May 25, 2019 3:22 pm

david63 wrote:
Sat May 25, 2019 3:18 pm
Should be fixed - re-download
All good now, thx!

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4018
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][RC] Auto db Backup

Post by HiFiKabin » Sat May 25, 2019 4:01 pm

Hi David

Just updated to the latest version and I am getting the following debug

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/david63/autodbbackup/controller/admin_controller.php on line 135: date() expects parameter 2 to be integer, string given
phpBB 3.2.7 PHP 7.1.29

User avatar
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Sat May 25, 2019 4:07 pm

HiFiKabin wrote:
Sat May 25, 2019 4:01 pm
Hi David

Just updated to the latest version and I am getting the following debug

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/david63/autodbbackup/controller/admin_controller.php on line 135: date() expects parameter 2 to be integer, string given
phpBB 3.2.7 PHP 7.1.29
I had to disable the ext, and delete data. Then reinstall
Last edited by </Solidjeuh> on Sat May 25, 2019 4:15 pm, edited 1 time in total.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4018
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][RC] Auto db Backup

Post by HiFiKabin » Sat May 25, 2019 4:11 pm

Thanks Andy. Sorted.

User avatar
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Sat May 25, 2019 5:55 pm

NL translation: https://github.com/Solidjeuh/david63-autodbbackup
There are a few things that are not being translated in the time picker.

Code: Select all

	'CLOSE_TEXT'			=> 'Klaar',
	'CURRENT_TEXT_TIME'		=> 'Nu',
	'HOUR_TEXT'				=> 'Uur',
	'MINUTE_TEXT'			=> 'Minuut',
	'TIME_TEXT'				=> 'Tijd',
Image

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

Re: [3.2][RC] Auto db Backup

Post by david63 » Sun May 26, 2019 3:15 pm

Updated to RC5

Language fixes and few code improvements
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
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Sun May 26, 2019 4:04 pm

Thank you for the update. Date picker is good now.
NL language update

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

Re: [3.2][RC] Auto db Backup

Post by Ahri89 » Fri Jul 12, 2019 7:35 pm

Spanish translation for RC5, if you want you can add to your extension ;) but in spanish the calendar looks a little bad.

acp_autobackup.php

Code: Select all

<?php
/**
*
* @package Auto db Backup (3.2)
* @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'						=> 'The next backup date/time format is invalid.',

	'NEW_VERSION'							=> 'Nueva Versión',
	'NEW_VERSION_EXPLAIN'					=> 'Hay disponible una nueva versión de esta extensión.',

	'VERSION'								=> 'Versión',

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

// Date/time picker
$lang = array_merge($lang, array(
	'CLOSE_TEXT'			=> 'Hecho',
	'CURRENT_TEXT_DATE'		=> 'Ahora',
	'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 (3.2)
* @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.x (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.php

Code: Select all

<?php
/**
*
* @package Auto db Backup (3.2)
* @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>',
));
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: 516
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: [3.2][RC] Auto db Backup

Post by Ahri89 » Tue Jul 16, 2019 8:13 pm

I see an update RC6, how to download it? :D
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
</Solidjeuh>
Registered User
Posts: 1716
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Auto db Backup

Post by </Solidjeuh> » Thu Jul 18, 2019 1:51 pm

Ahri89 wrote:
Tue Jul 16, 2019 8:13 pm
I see an update RC6, how to download it? :D
First post, Github link: https://github.com/david63/autodbbackup

NL Update: https://github.com/Solidjeuh/david63-autodbbackup

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50812
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: [3.2][RC] Auto db Backup

Post by stevemaury » Fri Sep 20, 2019 3:25 pm

I today downloaded the "latest" and it is still rc5. Can I get a good link for rc6, please?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “Extensions in Development”