Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup giving error #701

Closed
davidtew opened this issue Jul 15, 2016 · 6 comments
Closed

Backup giving error #701

davidtew opened this issue Jul 15, 2016 · 6 comments

Comments

@davidtew
Copy link

Admin 1.1.1 (but problem appeared a couple of weeks ago when 2 versions back)
Attempting backup but giving error :
An error occurred. strtolower() expects parameter 1 to be string, array given

I have written this issue Flavio asked me to. However, I have started investigating myself and have moved on.
What I did to move on was to go to site.yaml in admin. I attempted to save (without making changes) and it reported an error in email. (Note, though, that this site.yaml has been active for a long time without having made any changes. Email field did contain some inline CSS which I used to display an email icon. So I removed this. Then form saved successfully.)

However, I now get the error:
An error occurred. ZipArchive::addEmptyDir(): Invalid or uninitialized Zip object

@rhukster
Copy link
Member

ok, works fine for me so probably something with your setup. We'll investigate this further.

Can we please get a zip archive of your site so we can test with your 'setup'?

@davidtew
Copy link
Author

Hello Andy, thanks for looking into this. The zipped file is quite big, so
it is on google drive, link below. Many thanks, David Tew​
STAG0.zip
https://drive.google.com/file/d/0B_hOXv5OGFq6S3h3TDE0S1ltQ0k/view?usp=drive_web

On 15 July 2016 at 15:54, Andy Miller [email protected] wrote:

ok, works fine for me so probably something with your setup. We'll
investigate this further.

Can we please get a zip archive of your site so we can test with your
'setup'?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#701 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGxvGMojEdYwtWboEmJRKJLp9kX3f2ZFks5qV58OgaJpZM4JNdwi
.

Regards
David Tew
01522 704293

@rhukster
Copy link
Member

I do get an error with your setup about filename being too long when doing a backup.. so will investigate that this weekend.

@rhukster
Copy link
Member

rhukster commented Jul 15, 2016

Ok, first off you have HTML in your title (this is used to generate the backup file name). HTML is not valid in an HTML title tag so you should definitely fix this. Change it something shorter and without HTML in it. for example:

Advanced Homeopathic Centre

@rhukster
Copy link
Member

I was able to get the backup to work after this commit:

getgrav/grav@5871d1a

@davidtew
Copy link
Author

ooo ... well done.

So that is it, I suppose. I will fix my invalid chars.

Thank you Andy

On 15 July 2016 at 18:45, Andy Miller [email protected] wrote:

I was able to get the backup to work after this commit:

getgrav/grav@5871d1a
getgrav/grav@5871d1a


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#701 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGxvGIpl7oFGu655pLfUcnDfLj36_l1Pks5qV8czgaJpZM4JNdwi
.

Regards
David Tew
01522 704293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants