hi,
i’m confused.
i my table have a basic file upload , i configure pdf,image, mp3,wav, mp4, i can upload any file.
in edit mode, i can download any file, also there is embeder player in edit page!
but in list view, i can only download pdf and image file format. why ?
when i try to click on the link of mp4/audio file, the file is index.mp4 (or index.mp3 or index.wav…etc)
the downloaded file is a text file with inside :
Notice: Undefined variable: data in C:\xampp\htdocs\ent\classes\FileViewer.php on line 124
so, what is the problem ? that should be no distonction between pdf or media file because i just want them to be downloadable fro mthe link in the list page. why is it working for pdf but not for mp4 ?
in phpmaker, in the viewtag option of the field, i set :
HREF field : myfield
original field value : yes
target : _blank
Prefix : None
Suffix : empty (no value)
custom attribut : empty (no value)
i tried in firefox, chrome and opera, and all browser have th esame issu when i click on a media link from the list, whereas pdf, images work fine.
did i miss something ? i think not because the upload works fine, and in the edit view the file download are working there !
Best regards