api_v3 not found in kaltura installation

6 replies [Last post]
Joined: 05/04/2010
Points: 9

Hello,

I'm brand new to Kaltura and I'm installing the Community Edition on my local machine that is running Ubuntu (hardy).

I've gone through the pre-installation steps and proceeded with the installation. Everything ran correctly, except when I click on Player Gallery or any other link that links to the api_v3 directory I get the following message:

The requested URL /kalturaCE/api_v3/sample/playlists/ was not found on this server.

I've double checked to make sure my download of the community edition server was complete and I ntoiced that there is no api_v3 directory.

Again, I don't know much about Kaltura so I'm not sure if I'm completely missing something or not.

Any help is greatly appreciated.

Thanks,

Joined: 05/13/2009
Points: 164

That confused me too a little while back.

The samples can now be found within the web folder of the api_v3 folder:

kaltura/api_v3/web/sample/playlist

Just change the url and it should work.

--Drew

Joined: 05/04/2010
Points: 9

Nice! Thanks for the tip. I wonder why they have the server still pointing to the wrong directory? Or Are we supposed to move those folders into the root Kaltura directory?

I'll try the latter and just do a copy.

Thanks again.

Joined: 05/04/2010
Points: 9

I'm trying out the link 'advanced editing' on the main page and I manually type the correct url path to http://localhost/kalturaCE/kaltura/api_v3/web/sample/advanced_editor/pla... and I get the following message(s) on top of a blank page:

Warning: file_put_contents(/var/www/kalturaCE/kaltura/api_v3/cache/KalturaClassMap.cache) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/kalturaCE/kaltura/api_v3/lib/KalturaAutoload.php  on line 87

Warning: file_put_contents(/var/www/kalturaCE/kaltura/api_v3/cache/KalturaClassMap.cache) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/kalturaCE/kaltura/api_v3/lib/KalturaAutoload.php on line 87

Warning: file_put_contents(/var/www/kalturaCE/kaltura/api_v3/cache/KalturaClassMap.cache) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/kalturaCE

/kaltura/api_v3/lib/KalturaAutoload.php on line 87

Warning: file_put_contents(/var/www/kalturaCE/kaltura/api_v3/cache/KalturaClassMap.cache) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/kalturaCE/kaltura/api_v3/lib/KalturaAutoload.php on line 87

Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse_ini_file(/var/www/kalturaCE/kaltura/api_v3/config/database.ini) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory' in /var/www/kalturaCE/kaltura/api_v3/vendor/ZendFramework/library/Zend/Config/Ini.php:117 Stack trace: #0 /var/www/kalturaCE/kaltura/api_v3/lib/db/DbManager.php(24): Zend_Config_Ini->__construct('/var/www/kaltur...') #1 /var/www/kalturaCE/kaltura/api_v3/web/sample/config.php(3): DbManager->initialize() #2 /var/www/kalturaCE/kaltura/api_v3/web/sample/advanced_editor/player.php(3): require_once('/var/www/kaltur...') #3 {main} thrown in /var/www/kalturaCE/kaltura/api_v3/vendor/ZendFramework/library/Zend/Config/Ini.php on line 117

Has anyone come across this before?

Also, I was looking through this thread http://www.kaltura.org/installation-problems and I have the same problem:

Your KalturaCE Server Is Only Partially Functional

7 services are down - go to the Server Monitor to learn more

But when I click on the 'Server Monitor' link I get the same page with no CSS formatting.

The only difference is that I'm not using XAMPP.

Joined: 05/04/2010
Points: 9

I installed the php-pear extension on my machine and I no longer have the message

Your KalturaCE Server Is Only Partially Functional

7 services are down - go to the Server Monitor to learn more

However when I go to the URL http://localhost/kalturaCE/kaltura/api_v3/web/sample/advanced_editor/pla...

I get

Default partner with ID "1" was not found!

Anyone experience this as well?

Joined: 05/04/2010
Points: 9

I was able to solve my problem.

I had to re-install my server and instead of using localhost for the location of my server I used 127.0.1.1

I also had to change my apache conf to

<Directory "/var/www/kalturaCE">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
</Directory>

After doing both of these changes I no longer received the messages above.

Joined: 05/13/2009
Points: 164

I'm just visiting the active threads I've participated in today, and I got to say thanks for posting your fix here :)

I'm glad you got it all working, if you run into any more problems, hit me up on freenode in #kaltura and I'll try to assist in your troubleshooting.