not compatible with KalturaCE server ?

21 replies [Last post]
Joined: 06/06/2009
Points: 19

i'm trying to get the all-in-one-video plugin to work with my own kaltura server install, but it doesnt work properly:
- cant "add interactive video" - just get a black square in the popup
- CAN browse interactive videos
- player doesnt work (seems to be a file path problem, it's looking in a folder called "swf" that isnt there on the server

Joined: 01/05/2009
Points: 1567

Hi Joseph,

Have you gone over the migration guide ?
The guide is located on your server at - /kalturaCE/help/wordpress-kaltura_integration.html

Joined: 05/18/2009
Points: 45

I had it running on another host.
But, my new install has the same issues.
I have traced my issue to a loop, thinking associated with .htaccess?
I see an error about a limit of recursive redirect reached @ 10

I have looked at the logs.

I have rewrite log and log level debug, I can see that items are in fact looping.
It's maybe something to do with the rewrite rule loading the uiconfig of 501. Guessing that is the WP kcw ui.

My install keeps calling that in a loop.
Any ideas how to remedy?

Joined: 05/18/2009
Points: 45

/wp-admin/mysite.com/kalturaCE/kse/ui_conf_id/501

I get a reference to this 10 times in the log, then error

On my other install with wpmu , I had the wpmu htaccess as
RewriteBase BASE/

With this one, the value is
RewriteBase /

Joined: 02/22/2009
Points: 32

I see that you have installed kaltura ce under wordpress directory, if you have an .htaccess under wordpress, it might interrupt the ce.

Joined: 06/06/2009
Points: 19

i've got the "add interactive video" to work, but all the players (in the add interactive window and in the wordpress posts) are blank.
i used firebug to inspect the player element on the page, took the link to the player and tried to open it in a new window and got an error that the path didnt exist on the server
the embed code has:

http://ive.no-ip.info/kalturaCE/index.php/kwidget/wid/3pu5kaw6w7

which gets converted to (in the address bar):

http://ive.no-ip.info/kalturaCE/swf/kplayer.swf?kshowId=&host=ive.no-ip....

and the page displayed is:

Not Found
The requested URL /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/swf/kplayer.swf was not found on this server.
^^^^^^^^^^ kplayer.swf is not there

so it seem the player is not found.

seems the URL is rewritten by the rules in .htaccess, but is not pointing to the player - where is the player?

Joined: 02/22/2009
Points: 32

Can you run the following SQL select:

select * from ui_conf where id = (select ui_conf_id from widget where id = '3pu5kaw6w7')

Then check:
1. if conf_file_path is a valid path
2. if swf_url is a valid path

BTW, if you are trying to use the latest wordpress plugin version (2.3.x) it won't work because KalturaCE does not include the players that are used in that version.
You can use wordpress plugin 2.2.

Roman

Joined: 06/06/2009
Points: 19

thanks roman,
the sql query returned no results, but changing the wordpress plugin to 2.2 has fixed the player (once i remembered to restart the batches on my server)

Joined: 05/18/2009
Points: 45

I think this is related to broken sym links?

This round of CE installs may have a broken symlink for FFMPEG.
jbarrows, did you have a similar issue on install?

For my education I do not think I have seen the dir structure w/ sym links.
Can someone post the missing symlinks?

My installs on two different hosts, same machine. have the same issues.
I have been through and through the .htaccess configs and see no issues there.

My launch of "add interactive video" link in wpmu loads a redirect with this string
/wp-admin/mysite.com/kalturaCE/kse/ui_conf_id/501

Where is this parsed?

Thanks,

Joined: 02/22/2009
Points: 32

The main .htaccess: (under ~/kalturaCE/)

RewriteRule ^kse/(.*)$ index.php/extwidget/kse/$1 [L]

/wp-admin/mysite.com/kalturaCE/kse/ui_conf_id/501
should rewrite to:
/wp-admin/mysite.com/kalturaCE/index.php/extwidget/kse/ui_conf_id/501

Can you check if the second URL is working?

Joined: 05/18/2009
Points: 45

I have added a line in my main .htaccess to output the redirect

RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule .* - [L]

Then I see that the rewrite is doing something funny.

I get a file does not exist, this is the path it is attempting, and it does not exist for sure.

/home/pickle/public_html/mysite.com/public/wp-admin/mysite.com

It has added an additional "mysite.com " after the /wp-admin

My KMC works as expected btw, although I see that it uses different swf, etc.

Thanks for help. I did not mean to hijack thread it was just what I have been working with for awhile to figure out.

I have had it running in past on Centos (wpmu, KlaturaCE, allinone2.2), moved to Umbutu and since that move not working right.

There was an issue on install, FFMPEG was not loading... had to do one fix changing location of FFMPEG.
Maybe this is related to a broken symlink?

Joined: 02/22/2009
Points: 32

if ~/kcw and ~/kdp urls are working, ~/kse should work too...

Whats the output for this url?
/wp-admin/mysite.com/kalturaCE/index.php/extwidget/kse/ui_conf_id/501

Joined: 05/18/2009
Points: 45

404 - file not found

Joined: 05/18/2009
Points: 45

delete

Joined: 05/18/2009
Points: 45

To update
I am running
WPMU 2.7.1, KalturaCE 1.01, all in one 2.2

The above query returns null
The url is a 404 (disregard anything I had before about it, forgot I had a debug.php as my 404 page.)

Still a black box for editor.
If I click browse interactive video I get a message "no interactive videos available".

Strange.

I had to fix a plugin that had 2.7, not 2.7.1 as a version check. What do you think about that? is there somewhere that may be checking wp version that is causing issue, not liking 2.7.1? (although I think I had it running on same version on other server)

Thanks,
Confused.....

Joined: 02/22/2009
Points: 32

Are you able to add new videos from wordpress plugin?

Joined: 05/18/2009
Points: 45

No can not add videos in wordpress.
Seems it is not finding the swf.

Joined: 05/18/2009
Points: 45

Any idea how to debug this?

I have reinstalled this, looked and tried many mods to htaccess.
Read thru logs, code

Where would you suggest that I put some code to see what may be happening?
I can't seem to find the correct debugging spot yet.

If I try from the KMC to add items , it works.

Running to kaltura.com works.

Somehow, its not finding the kse swf in wp, is my guess.

Joined: 05/18/2009
Points: 45

Seems that the issue was somehow tied to the ffmpeg symbolic link and possibly the verion of ffmpeg I was running on umbutu.
I reinstalled ffmpeg via svn, instead of apt-get and changed sybolic link in kaltura\bin\i386\ffmpeg to point to new install of ffmpeg.
Now I can see the add interactive video with all in one and kalturaCE.

Now when I upload there is a problem with the location of the files - an extra / in the path kaltuaCE//content, I see this in the log for batchImport.
Where is the location of the path variable for this?

I also noticed an extra / in the database for one of the uiconf path variables. I corrected mine, but didn't note the field.

Joined: 05/18/2009
Points: 45

/home/pickle/public_html/mysite.com/public/kalturaCE//content/imports/data/qrmwuw4g48.flv

From investigate panel - notice the extra /

thanks, almost there...

Joined: 03/29/2009
Points: 755

Hi,

Is it working now?

Joined: 05/18/2009
Points: 45

umbutu hardy
all in one
kalturaCE 1.01

After searching down almost every avenue to get this running, it finally is.

2 major issues
ffmpeg and curl symbolic links had to be changed to the actual programs ffmpeg and curl on my system.
/usr/local/share/ffmpeg and to curl root.
After this it finally got running.

the extra / is not a problem. It was ffmpeg and curl locations.

Thanks