Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

Unable to get Kaltura Developer "Upload a Video" code to work - PHP

$
0
0

Hey Jess, thanks for the advice. I've looked through the logs within Apache and there doesn't seem to be any errors but I'll post it anyway.

Jan 08 09:12:37.265597 2016] [mpm_winnt:notice] [pid 7916:tid 392] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Fri Jan 08 09:12:37.265597 2016] [mpm_winnt:notice] [pid 7916:tid 392] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Fri Jan 08 09:12:37.265597 2016] [core:notice] [pid 7916:tid 392] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.9\bin\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Jan 08 09:12:37.265597 2016] [mpm_winnt:notice] [pid 7916:tid 392] AH00418: Parent: Created child process 5716
[Fri Jan 08 09:12:37.757597 2016] [mpm_winnt:notice] [pid 5716:tid 308] AH00354: Child: Starting 64 worker threads.

As far as the CLI script goes, I've tried it but I'm getting some errors and I think it has to do with the two following lines within the script:

$entry_queue='/tmp/upload_test_queue';
require_once($basedir.'/create_session.php');

Should I be setting $entry_queue to the path of the video I'd like to upload? I figured argument 4 would cover this?

Should create_session.php use the following code or could I get by with putting it in the actual script and bypass the call to create_session.php?

$result = $client->session->start($secret, $userId, $type, $partnerId, $expiry, $privileges);

Also, I'm getting an undefined function error with generate_ks() on line: $client=generate_ks($service_url,$partnerId,$secret,$type=KalturaSessionType::USER,$userId=null);
Is generate_ks() a place holder for something or should it work?

Thanks again for the help!


Viewing all articles
Browse latest Browse all 7410

Trending Articles