I was having issues where for one of my courses, some how all of the audio files that I linked to the course had a preview = 0:0, so there was no audio file.

this is for the POOL COURSE

I went into media, and clicked on preview, and although it looked like a file was selected there was no audio in preview mode.

So I went into the MEDIA LIBRARY for iguru, and I removed all of the audio files, thinking that they were corrupted, and I started to reupload medi files, I uploaded 4 files. Then I went into the course, and I started to try to replace the files.

However for all of the lessons it seems it is looking for the OLD file (which I have since deleted), so I can't even get in to replace it with the correct file (which is now in the media library).

Please help!

Also, I noticed when I upload the file, and select it, then close the window, and preview the file size is 0:00, but when I go back in and reselect the file (it seems you rename the file and remove spaces, then it works.

so do I need to rename all of my files before uplaoding and remove spaces?
`An error has occurred.
0 Attempt to assign property "code" on null
Call Stack

Function Location

1 () JROOT/administrator/components/com_guru/models/gurutask.php:1114
2 guruAdminModelguruTask->parse_audio() JROOT/administrator/components/com_guru/views/gurutasks/tmpl/editformsbox.php:1295
3 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
4 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
5 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_guru/views/gurutasks/view.html.php:328
6 guruAdminViewguruTasks->editForm() JROOT/administrator/components/com_guru/controllers/guruTasks.php:56
7 guruAdminControllerguruTasks->editsbox() JROOT/libraries/src/MVC/Controller/BaseController.php:730
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_guru/guru.php:612
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
13 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205
14 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
16 require_once() JROOT/administrator/index.php:32

`

thanks,
Laura

6 days later

Hi Laura,

Could you share the URL of the course and the audio file that you upload so I can replicate this issue?

Not sure if this will help Laura, but I am finding that once i create an audio file in Guru and click save, if you havent already removed the gaps it will (as you say) do it for you when you click save BUT you need to select the file again from the list, then save again, If you just click save and new or save and close it will save the media file but wont have selected the audio file, so when you go back into the lesson there wont be anything there until you go back and select that audio file in the media library.

This probably has nothing to do with your issue but I thought I'd post this as it took me a while to understand this behaviour

Good luck, Ben

Write a Reply...
You need to Login to view replies.