Generated download links suddenly “no file defined” for epub mobi but not pdf
-
My store is small and orders are not that frequent so this bug began sometime in the last two months. Woo and all plug ins are up to date. Until recently, all automatically generated download links for customers to use worked fine. The files haven’t changed location. But today the links sent to a customer gave different results. EPUB and MOBI format buttons for this new order and old test orders that worked previously now say “no file defined.” PDFs, however, work like they always did.
The files are on a server with the full path URLs (example https://mysite.com/directoryoutsidewpcontent/filename.epub) in the file location box. Those URLs, pasted directly into a browser, immediately downloads the file. The download is served with X-Accel-Redirect/X-Sendfile protocol.
I have this feeling that the issue is recognized mime type? Web searches turn up very little or direct me to how to UPLOAD epub and mobi to my media library which isn’t relevant.
I’ve read the changelogs for Woo and my theme (X theme) and I’m not experienced enough to spot a fix or tweak that would have deauthorized these file types somehow, or if some setting in functions.php or wp-config has been deprecated and I’m the one locking these types out.
Any help would be very much appreciated.
- The topic ‘Generated download links suddenly “no file defined” for epub mobi but not pdf’ is closed to new replies.