You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this library in Wordpress theme together with Advanced Custom Fields 'File' field type.
I'm having trouble with file path, I can get from ACF either URL path 'https://www.mydomain.com/wp-content/uploads/2023/06/document.pdf' or full server path '/var/www/html/wp-content/uploads/2023/06/document.pdf'.
Neither of these works, I get "is not a valid file" error.
I tested library on localhost with document in same folder as my PHP script and it works normally.
Any suggestions?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi!
I suppose it's not a real issue with a library.
I'm using this library in Wordpress theme together with Advanced Custom Fields 'File' field type.
I'm having trouble with file path, I can get from ACF either URL path 'https://www.mydomain.com/wp-content/uploads/2023/06/document.pdf' or full server path '/var/www/html/wp-content/uploads/2023/06/document.pdf'.
Neither of these works, I get "is not a valid file" error.
I tested library on localhost with document in same folder as my PHP script and it works normally.
Any suggestions?
Thanks.
The text was updated successfully, but these errors were encountered: