Recording and version of PHP

Recording and version of PHP

by Jakke Lehtonen -
Number of replies: 3

Fresh Poodll in Moodle 3.2.1 (Build: 20170109). If I have PHP 7.0 enabled, the recording popup is showing like live printscreen of the site, but no controls except send-button. But if I have PHP 7.1 I have at popup several time error "Warning: A non-numeric value encountered in var/www/html/filter/poodll/classes/poodlltools.php on line 971" and i get recording controls, both audio and video.

Yesterday I got an error from cron:

stdClass Object
(
    [filerecord] => stdClass Object
        (
            [userid] => 2
            [contextid] => 5
            [component] => user
            [filearea] => draft
            [itemid] => 598746527
            [filepath] => /
            [filename] => 872980779036880.mp4
            [license] => allrightsreserved
            [author] => Moodle User
            [source] => 
            [timecreated] => 1485727200
            [timemodified] => 1485727200
            [id] => 7402
        )

    [filename] => 872980779036880.mp4
    [infilename] => httpwww.sumppu.proWBYHlJWWu5video872980779036880.mp4
    [outfilename] => httpwww.sumppu.proWBYHlJWWu5video872980779036880_147098.mp4
    [mediatype] => video
    [isodate] => 2017-01-30 00:00
)

will retry
and finally after couple of tries:

s3file:could not find placeholder file:872980779036880.mp4
will not retry
(s3file? Could it cime from Amazon S3, not from Poodll at all?)

Video and audio recording works with PHP7.1, but audioplayer can't play the file and is telling "The media could not be loaded, either because of the server on network failed or the format is not supported". Well, audioerror can be a setup issue too, I haven't check it out yet.

Any ideas?

Cheers, Jakke

Average of ratings: -
In reply to Jakke Lehtonen

Re: Recording and version of PHP

by Jakke Lehtonen -

Thanks, new update did the job for "line 971" error. Otherwise things are as earlier.

I enabled logging in Poodll and tried do video and audio (forum/Atto). Video gave "Poodll Adhoc move task registered" but nothing because of audio. I enabled FFMPEG too, but no effect.

In reply to Jakke Lehtonen

Re: Recording and version of PHP

by Jakke Lehtonen -

Now I feel myself really, really stupid. Somehow I was thinking the upload-button is for other audiofiles. Well... it wasn't. When I did upload, audio started to work. I reckon now I need more coffee - or maybe some liters less ;)

So, that problem is now solved out. But still I can't get PHP7.0 work together with Poodll - but with that I can live. Videoquality is quite lousy, but I have to check out speed of LAN/WAN/i'net connection/something else, hardware, setup of FFMPEG and so on.

(P.S. Poodll should accept PayPal too...)

In reply to Jakke Lehtonen

Re: Recording and version of PHP

by Justin Hunt -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Jakke

Sorry about the hassles . Since you are a full on Poodll3 member, it's probably better to send support issues to https://poodll.com/contact


The reason is that it's best if you send through your "support info" file (see the link on the page) with the request, and I can reply more efficiently  

Could I ask you to send me the support info file and an updated description of the current state of affairs? I'm pretty sure we can get you up and running quickly  


Thanks 


Justin