Support

Site Restoration

#38948 Serialization on ftp 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
8.1 fast cgi
CMS Type
Joomla!
CMS Version
3.10
Backup Tool Version
8.28
Kickstart version
7.2.0

Latest post by nicholas on Thursday, 04 May 2023 01:14 CDT

shoshanaz

When trying to restore my site  I am getting an unexpected error.

The debug log shows this:

[03-May-2023 12:47:41 America/Los_Angeles] PHP Fatal error: Uncaught Exception: Serialization of 'FTP\Connection' is not allowed in /home/chabadshul/chabadshul.xyz/kickstart.php:8131
Stack trace:
#0 /home/chabadshul/chabadshul.xyz/kickstart.php(8131): serialize(Object(AKFactory))
#1 /home/chabadshul/chabadshul.xyz/kickstart.php(15224): AKFactory::serialize()
#2 /home/chabadshul/chabadshul.xyz/kickstart.php(15402): kickstart_application_web()
#3 {main}
thrown in /home/chabadshul/chabadshul.xyz/kickstart.php on line 8131

Just in case there was a bad file I did a second backup and am still getting the error. 

Using the latest kickstart version. 

FTP connection was successful.

File permissions on jpa are -rw-rw-rw-

 

System Task
system
The ticket information has been edited by Susan Zakar (shoshanaz).

System Task
system
The ticket information has been edited by Susan Zakar (shoshanaz).

nicholas
Akeeba Staff
Manager

In the Write To Files dropdown select Direct File Writes. Do not fill in the FTP information. This was meant for very old and misconfigured servers. As such, this feature was never updated to work with PHP 8.

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!

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!