installation error on general_info.php page.

12 replies [Last post]
Joined: 11/30/2009
Points: 3

Everything is install as suggested on the requirements page.

Linux, Apache 2.2, Mysql 5 and PHP 5.2.2+.

and...
php-cli, libcURL, mod-rewrite, memcache

PHP version - OK (>= 5.2.0)
PHP MySql support - OK
php-cli - found
PHP GD - available
PHP DOMDocument - available
PHP libcURL - available
memcache - available
FFMPEG - available
Mail server - found (at localhost:25)
Permissions on /srv/www/htdocs/kalturaCE/content/uploads - OK
Permissions on /srv/www/htdocs/kalturaCE/conversions - OK
Permissions on /srv/www/htdocs/kalturaCE/archive - OK
Permissions on /srv/www/htdocs/kalturaCE/logs - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/alpha/cache - OK
Permissions on /srv/www/htdocs/kalturaCE/indicators - OK
Permissions on /srv/www/htdocs/kalturaCE/batchwatch - OK
Permissions on /srv/www/htdocs/kalturaCE/content - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/alpha/apps/kaltura/config - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/alpha/config - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/api_v3/config - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/alpha/batch - OK
Permissions on /srv/www/htdocs/kalturaCE/kaltura/api_v3/cache - OK

I go to the next page and is the db setup and in the field for the Database Name I have php code! <? kdb_default('kdbname', ''); ?> .. so I replace it with the database name I created in mysql
Database User again php code <? kdb_default('kdbuser', ''); ?> ... again replaced it with the user on the mysql database.
again the same for location and port more php code.. and I replace them and hit save and continue and get a 500 error

can we not just bypass this gui installation and edit a configuration file? or does some have any ideas how to get past this issue

Joined: 11/30/2009
Points: 3

no takers :)

Joined: 11/30/2009
Points: 3

I am still lost in cyber-space here LOL does anybody have ideas on why this is not load :)

Joined: 11/21/2009
Points: 14

Hi Wademac

Looks like you are stuck with a gumby answer from me.

I hit the same wall the first time I tried to install - SLES 10 SP2 with AMP as per req's - never figured out what the problem was (that helps, hey?) but I did find that a virgin SLES install with XAMPP as per their recommendations, works straight up.

Having said that, if you want to continue with linux + AMP, maybe the thread 'installation-problem-suse-linux' will give you some things to check - never got around to them myself so I can't vouch for their effectiveness.

Good luck

Phil

Joined: 12/07/2009
Points: 14

Hi wademac

I had a similar issue when installing .... it seems something was wrong with validate_mysql_connection() in general_info.php
so I gave up of the function call and I wrote directly the db connection check in

#validate_mysql_connection();

$server = $_POST['kdbhost'];
if (isset($_POST['kdbport']) && $_POST['kdbport'] != '')
$server .= ':'.$_POST['kdbport'];
@mysql_connect($server , $_POST['kdbuser'], $_POST['kdbpass']);
$res = @mysql_select_db($_POST['kdbname']);
if (!$res)
header('Location: database_info.php?error=true');
#return true;

then installation continue...

I had a previous issue with the Memcached() checking, it was coded as new.Memcache, but it seems the class has changed too, and should be named Memcached now...
I am now a php guru (quickly said I hate it.... and prefer Ruby On Rails... so I don't try to much to understand what happen, and I juts try to bypass issues...

Joined: 06/29/2009
Points: 93

Enable short tags...?

Joined: 12/07/2009
Points: 14

sorry jeff .. I am new to this forum .. what do you mean by that ?
kad

Joined: 06/29/2009
Points: 93
Joined: 12/07/2009
Points: 14

sorry , I did not get it the first time...

short_open_tag is ON
(I am using PHP 5.2.0-8+etch16 (cli) (built: Nov 24 2009 11:14:47) )

I don't understand why the installation script keeps asking me about the php-cli .. installed
I don't understand als why the ffmpeg permission failed ...
access is granted (as for content :
Permissions on /var/www/vhosts/opticoaching.net/subdomains/media/httpdocs/kalturaCE/content/.... are OK
)

the permissions for ffmpeg are identical
---- quote -----
Could not run FFMPEG. FFMPEG is crucial for converting media to FlashVideo format. The system should be able to run the script located at:
/var/www/vhosts/opticoaching.net/subdomains/media/httpdocs/kalturaCE/kaltura/bin/ffmpeg/ffmpeg - please make sure apache can run that script.
---------------

Joined: 06/29/2009
Points: 93

your PHP needs to be updated...

http://www.kaltura.org/kalturace-kaltura-community-edition-getting-start...

Prerequisites

KalturaCE is a Linux (debian) based Video and Rich-Media Application Management Server, in order to run the server and extend it, you will need understanding of the following components:

    * Ubuntu or a Debian based linux distribution.
    * It is possible to run KalturaCE on other Linux distributions, though it hasn't been thoroughly tested yet.
          o See how Dan Cardin (redbeard) has successfully installed KalturaCE on Centos 5.2 (32-bit machine).
    * xampp, or the following:
          o Apache Web Server.
          o Mysql 5 and above.
          o PHP 5.2.2 and above.
    * For Runing KalturaCE on Windows inside VMWare - read - Installing KalturaCE using VMWare on Windows.

NOTE: Apache must be running on default http port (port 80) otherwise flash components will fail to load properly. this will be fixed in the next version.

---Jeff

Joined: 12/07/2009
Points: 14

that's what I am running ... ¨PHP5.2.2"...
I solved the php-cli issue ....
when the virtual host I am running ( media.opticoaching.com ) was created (via Plesk console ...) I did not watch the default PHP Safe mode.....
I discover it was a local issue (not kalturaCE script one) by testing a small php script with the exec() only....

thanks again for your reply .. it sparkled my mind ....

now, I have to understand the ffmpeg bin permission issue ....

Joined: 12/07/2009
Points: 14

I realize I uploaded the kalturaCE package from my Mac ! OSX version

after uploading the correct package for Linux ... it's now up and running without any trouble !

Joined: 02/20/2010
Points: 2

I just figured out how to install kalturaCE on your local apache and php5 without using the xampp recommendation.
Just replace the lampp php.ini file with your php.ini file in your /etc/php5/apache2/. This should work. Just allow the short_open_tags. If you have any problems holla me.