April 12, 2022 at 16:38 UTC - Views: 53 #70626
I have never managed to download my current settings to a file, and restore them succesfuly. I have in the past tried to download the settings in one site, and restore them in another site to act as a starting point to develop a new site.
Today I tried to download the settings, and then restore the settings into the same site. I still receive the ‘Unserialize failed’ message.
This occurs with both the wxt and wxb fextensions. I am running Version 5.0.7 of the themeApril 12, 2022 at 16:47 UTC - Views: 51 #70627
@weaver would have to comment
Have you tried different browsers, and different OS (windows, mac)?April 12, 2022 at 16:55 UTC - Views: 49 #70628
Different browsers, yes. Not different operating systems, this is an apple free household. I really can’t see how the browser would be relevant, the files downloaded look like text files. I have had this issue for years, but never gotten around to report it.April 17, 2022 at 15:06 UTC - Views: 37 #70635
Is there any way I can progress this issue?
May I send you the file which is produced by the backup?
I am in the process of creating a number of sites and want to take the basic site design across several sites without manually applying the changes I made to the template.April 17, 2022 at 15:49 UTC - Views: 33 #70636April 18, 2022 at 02:08 UTC - Views: 30 #70639WeaverKeymaster
I really don’t have much to say on this as we’ve not really gotten any other feedback on this issue from others.
I find saving files to a computer and upoading them on a different on works as expected.April 18, 2022 at 04:27 UTC - Views: 26 #70640April 18, 2022 at 16:01 UTC - Views: 22 #70643WeaverKeymaster
Unseralizing is the process of converting the text of the saved settings back to a PHP data structure. It can come from trying to hand edit a .wxt settings file.April 18, 2022 at 19:22 UTC - Views: 18 #70644
Could it be then that when downloading the file and saving it locally, something is altering its format?
@weaver, What text encoding is it supposed to use
ANSI, UTF-8, UCS-2…
Because if the encoding is being altered, a utility like Notepad ++ could reencode the file properlyApril 22, 2022 at 13:47 UTC - Views: 11 #70659
I have found the issue, and it is of my making. I run a Weaver Xtreme as a child theme to bring in some php subroutines which are written into functions.php I want to call from Weaver.
It appears the backup is putting in blank lines at the beginning of the backup file. Deleting these lines, and the retore of the file works. If I change to the Weaver Xtreme theme, instead of the child theme , then the backup works.
I have corrected my functions.php and removed the blank lines.
SorryApril 22, 2022 at 16:10 UTC - Views: 9 #70661
Glad you figured it out, thanks for reporting back.
- You must be logged in to reply to this topic.