Support

Akeeba Backup for Joomla!

#15869 Warning: Division by zero in C:\xxxx\installation\framework\database\restore.php on line 691

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by user72854 on Thursday, 25 April 2013 02:47 CDT

user72854
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (unknown)

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hi Nicholas;

Hope you're fine.

* For your info *, I've tried ANGIE (what a cool feature and a cool name :-)).

During the restoration process, Angie give me this warning message :
Warning: Division by zero in C:\sites\ae_blog\installation\framework\database\restore.php on line 691

Hope it can help you.

Have a good day.
---------------------------------

More info :

JSON.parse: unexpected character



( ! ) Warning: Division by zero in C:\sites\ae_blog\installation\framework\database\restore.php on line 691
Call Stack
# Time Memory Function Location
1 0.0004 350032 {main}( ) ..\index.php:0
2 0.0058 813464 AApplication->dispatch( ) ..\index.php:42
3 0.0078 968496 ADispatcher->dispatch( ) ..\application.php:116
4 0.0112 1228072 AController->execute( $task = 'step' ) ..\dispatcher.php:228
5 0.0112 1228176 AngieControllerDbrestore->step( ) ..\controller.php:509
6 1.0297 2211160 ADatabaseRestore->stepRestoration( ) ..\dbrestore.php:84
Variables in local scope (#6)

$bytesPerSecond =



float 0

$bytes_in_step =



float 0

$bytes_togo =



float 28424155

$current_foffset =



int 0

$exc =



object(Exception)[35]
protected 'message' => string 'Continue' (length=8)
private 'string' => string '' (length=0)
protected 'code' => int 201
protected 'file' => string 'C:\sites\ae_blog\installation\framework\database\restore.php' (length=60)
protected 'line' => int 556
private 'trace' =>
array (size=6)
0 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\framework\database\restore.php' (length=60)
'line' => int 616
'function' => string 'readNextLine' (length=12)
'class' => string 'ADatabaseRestore' (length=16)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
1 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\angie\controllers\dbrestore.php' (length=61)
'line' => int 84
'function' => string 'stepRestoration' (length=15)
'class' => string 'ADatabaseRestore' (length=16)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
2 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\framework\controller\controller.php' (length=65)
'line' => int 509
'function' => string 'step' (length=4)
'class' => string 'AngieControllerDbrestore' (length=24)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
3 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\framework\dispatcher\dispatcher.php' (length=65)
'line' => int 228
'function' => string 'execute' (length=7)
'class' => string 'AController' (length=11)
'type' => string '->' (length=2)
'args' =>
array (size=1)
...
4 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\framework\application\application.php' (length=67)
'line' => int 116
'function' => string 'dispatch' (length=8)
'class' => string 'ADispatcher' (length=11)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
5 =>
array (size=6)
'file' => string 'C:\sites\ae_blog\installation\index.php' (length=39)
'line' => int 42
'function' => string 'dispatch' (length=8)
'class' => string 'AApplication' (length=12)
'type' => string '->' (length=2)
'args' =>
array (size=0)
...
private 'previous' => null
public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Exception: Continue in C:\sites\ae_blog\installation\framework\database\restore.php on line <i>556</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><'... (length=4232)

$lines_togo =

Undefined

$lines_tota =

Undefined

$parts =



string '134' (length=3)

$queries_togo =

Undefined

$queries_tota =

Undefined

$query =



string '' (length=0)

$remainingSeconds =

Undefined

{"percent":51.9,"restored":"29.31 Mb","total":"56.41 Mb","queries_restored":513,"current_line":95,"current_part":72,"total_parts":"134","eta":"0 seconds","error":"","done":"0"}

nicholas
Akeeba Staff
Manager
This should be fixed in 3.7.6. It happens when a database restoration steps results in no data being read from the SQL file. With your ticket, I've only seen that happening twice.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user72854
Was indeed for your info, restore was OK.

I close this ticket.

Have a nice day.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!