Support

Site Restoration

#27509 AJAX Loading Error

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Thursday, 11 May 2017 17:17 CDT

Vigalom
Hi,

I read topic #25350 and tried this:
Minimum execution time: 5 seconds
Maximum execution time: 3 seconds

In the last percentage of the restore, I get this error:

AJAX Loading Error
HTTP Status: 500 (Internal Server Error)
Internal status: error
XHR ReadyState: 4
Raw server response:
###{"status":true,"message":null,"files":0,"bytesIn":0,"bytesOut":0,"done":true,"Warnings":[],"lastfile":""}###

What's going wrong?

Jan

dlb
Jan,

That was the right first step. The second step is to turn on Kickstart's debug mode. That should give us some additional information about the error. I'm having a little trouble viewing the kickstart.php file today, I don't know if if's me or the file. You need to find the line
{define('KSDEBUG', 1);
and change it to
{define('KSDEBUG', 0);
The debug message that you get when you run it and it throws an error will be gibberish to normal human beings like you and me, but Davide and Nicholas speak gibberish fluently, so they will know what's wrong.

If the kickstart.php file is all run together with no line endings, just hold up. That's what I'm seeing. It makes the file REALLY hard to read.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dlb
My apologies, those instructions are wrong. That would turn debug off I need to get with Davide and Nicholas and find out how to turn on debug mode.

Can you extract your archive locally with eXtract (on our Downloads page)? That tells us if there is a problem with the archive. It also gives us the option of uploading the individual files via FTP if you're in a hurry.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dlb
I apologize for the delay. Nicholas made a change in kickstart.php to make the file smaller, which helps in areas where the internet is very slow. The difficulty in enabling debug mode was an unintended consequence. He has made a change to make this easier in the next version of Kickstart.

For now, we just need to edit kickstart.php and right after the opening "<?php" type: "define('KSDEBUG', 1);" in a new line so the first two lines would be:
<?php
define('KSDEBUG', 1);
Then try your extraction again and we should get some feedback.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Vigalom
HI,

Thanks a lot.
The problem happens on a intranet site in a governemental institute where I have to restore the site once per month. So I will try this next month.

Thanks a lot!

Jan

dlb
This ticket may auto close before you get another chance to test it. If that happens, please open a new ticket and we'll try to get it resolved.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!