Extension

Archived
Forum
(read-only)

Link Vault Zipper

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Masuga Design

     

Download error

Support (Resolved)

bbixby
bbixby

Seeing this error in the log files with this code (see attached image)

EE 2.10.1
Latest versions of link vault and zipper

Ben Kohl
# 1
Ben Kohl

It looks like the image URLs are being passed into the cf:zipper_files parameter. Are you able to use the server path instead?

bbixby
# 2
bbixby

Yeah… I thought zipper was supposed to automatically remove the base URL? no matter what I do the base URL is ALWAYS in there. Its like link vault or link vault zipper keeps adding it in.

Isn’t that what the function normalize_directory is supposed to do? Remove the base url?

Ben Kohl
# 3
Ben Kohl

Link Vault attempts to remove the base site URL from the string. Is it possible that your $_SERVER[‘HTTP_HOST’} variable doesn’t match the domain that appears in that log screenshot? I’ll probably change Link Vault Zipper’s method for fetching the site index to match what is used in Link Vault. There is a slight difference though it should still generally produce the same result.

bbixby
# 4
bbixby

http_host does not include http:// and trailing /

Site url does. Guessing thats the match issue?

Ben Kohl
# 5
Ben Kohl

No. There is some logic at the top of LVZ that prepends the protocol based on $_SERVER[“HTTPS”]. If you pluck the URL to the file out of one of those missing file log entries then try to access that URL in your browser, does the file load/download?

I have a pending release I can send you. Just email me at ben@devot-ee.com and I’ll send it to you to see if it helps.