Back to ProMedia Support

shera-8519997
shera-8519997

1) An exception has been thrown during the rendering of a template ("The partial '::player' is not found."). /var/www/qalb/plugins/radiantweb/promedia/components/audioplayer/default.htm line 2

2) Also in backend Mediaitems not uploading mp3 in audio section, mpg or any video file in video section, same problem with download section. Upload error You can't upload files of this type

Last updated

ChadStrat
ChadStrat

Sounds like you may have some folder/file permission issues?

shera-8519997
shera-8519997

I have chmod 777 for web folder I don't know if There's more permission than that?

Last updated

SometimesWhy
SometimesWhy

As of the 2.0.1 update, I have the same problems. I couldn't add audio or video files because the CMS only accepted .jpg and other image file types. My audio list is returning a fatal error:

An exception has been thrown during the rendering of a template ("The partial '::player' is not found.").

/public_html/mywebsite/plugins/radiantweb/promedia/components/audioplayer/default.htm line 2

ChadStrat
ChadStrat

seems there are couple potential causes for this that are not any fault of the plugin. https://octobercms.com/forum/post/setting-allowed-filetypes-for-fileupload and then I also saw some about server configurations such as this one: https://octobercms.com/forum/post/cant-upload-any-image-on-all-of-plugins

SometimesWhy
SometimesWhy

Thanks, that helped immensely although I had to modify a few files

Problem 1: "The partial '::player' is not found."

I fixed this late last night and I don't remember what I had to do exactly, but I think I had to change

{% partial "@" ~ player %}

to

{% partial "@" ~ audioplayer_view %}

in /plugins/radiantweb/promedia/components/audioplayer/default.htm

Problem 2: Upload error You can't upload files of this type

Had to edit plugins/radiantweb/promedia/models/mediaitem/fields.yaml to add a new entry called "fileTypes" under "video_item", "audio_item", and "download_item", e.g.

    audio_item:
       fileTypes: mp3, wav

Those fixes should hold for now - is it possible to include those fixes in the next release so my local changes won't be overwritten with every update?

david.freret26154
david.freret26154

Hi, I got the same first problem :

"The partial '::player' is not found."

I checked plugins/radiantweb/promedia/components/audioplayer/default.htm and I have got :

{% partial "@" ~ audioplayer_view %}

Any idea ?

Last updated

1-7 of 7