Support

Site Restoration

#31259 Restoration warning "You have disabled auto-prepend scripts..."

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 Wednesday, 07 August 2019 17:17 CDT

TorstenL
Hello all,

I´m trying to transfer a website that was backed up using Akeeba Backup Pro from my webspace to the customers webspace
which is located on the same webserver.

In the last step of the restore, I always get the message "You have disabled auto-prepend scripts on your site....". I keep
getting this message even though all plugins are deactivated (except of Akeeba Backup).

I also tried it with the "Site transfer wizard" but no luck at all.

Many thanks in advance
Torsten

nicholas
Akeeba Staff
Manager
This is not an error, it is a reminder because you selected the option to disable auto-prepend scripts (if any) during the restoration. Since your site does not use auto-prepend scripts you can ignore this warning.

This warning basically applies when you have security plugins which make use of auto-prepend scripts. After transferring your site to a new server, directory, subdomain or domain name the restoration script automatically selects the option to disable auto-prepend scripts. If it didn't the restored site wouldn't work because it'd be trying to load a file that does not exist in the expected location. However, that would mean that your site's security plugin would not be fully operational on the restored site. We realise that people may not notice that the disable auto-prepend scripts option was enabled during restoration so we print out a warning on the last page to catch your attention.

I guess we caught your attention a bit too much :)

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!

TorstenL
Hi Nicholas,

many thanks for the update. Yep, you are right regarding catching the attention ;)

But the problem is that I´m not able to execute the last step, if I hit the clean button nothing happens.
I´ve tried it a few times, even with another browser. Sorry if I did not communicate this clearly.

Best regards
Torsten

nicholas
Akeeba Staff
Manager
The last step in restoration is cleaning up. Assuming that this is what you are talking about:
  • Delete the installation folder.
  • Delete the backup archive from your site's root.
  • Delete kickstart.php from your site's root.

Some of these files / folders may not exist if the cleanup process run to a certain point before stopping.

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!

TorstenL
Tried as you suggested but afterwards I get an "500 Internal Server Error".
Enable debug in wp_config.php but no further error are shown.
Best regards
Torsten

nicholas
Akeeba Staff
Manager
I think we may be talking about different things. Can you send me a screenshot of what you believe is the "last" page of the restoration script?

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!

TorstenL
Hi Nicholas,
I will try again this evening and also take screenshots of the different screens.
Best regards
Torsten

TorstenL
Hi Nicholas,
I "solved" the problem by copying the files over to the new webspace with FileZilla.
Now all is up and running. Thanks again for taking the time.
Happy easter to you and your family :)
Best regards
Torsten

nicholas
Akeeba Staff
Manager
Happy Easter! If you need any further help feel free to let us know :)

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!

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.

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.

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!