PHP Classes

How do you install

Recommend this page to a friend!

      PHP Video Toolkit  >  All threads  >  How do you install  >  (Un) Subscribe thread alerts  
Subject:How do you install
Summary:Documentation returns an error
Messages:2
Author:Mike Mancini
Date:2014-03-17 01:33:48
Update:2014-03-17 08:47:08
 

 


  1. How do you install   Reply   Report abuse  
Picture of Mike Mancini Mike Mancini - 2014-03-17 01:33:48
I uploaded the entire package and tried to access every index.php in the package to no avail... When I load the documentation directory index.php I get an error:

Debugging /documentation/includes/configuration.php on line 19 @ 16/03/2014 19:31:35:
Array
(
[0] => ERROR---------
[1] => exception
[2] => Array
(
[0] => PHPVideoToolkit\ConfigSetException Object
(
[message:protected] => `temp_directory` "" does not exist or is not a directory.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home3/videoadd/public_html/php-video/src/PHPVideoToolkit/Config.php
[line:protected] => 161
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home3/videoadd/public_html/php-video/src/PHPVideoToolkit/Config.php
[line] => 89
[function] => __set
[class] => PHPVideoToolkit\Config
[type] => ->
[args] => Array
(
[0] => temp_directory
[1] => ../examples/tmp
)

)

[1] => Array
(
[file] => /home3/videoadd/public_html/php-video/src/PHPVideoToolkit/Config.php
[line] => 75
[function] => setConfig
[class] => PHPVideoToolkit\Config
[type] => ->
[args] => Array
(
[0] => Array
(
[ffmpeg] => /opt/local/bin/ffmpeg
[ffprobe] => /opt/local/bin/ffprobe
[yamdi] =>
[qtfaststart] =>
[temp_directory] => ../examples/tmp
[gif_transcoder] =>
[gifsicle] =>
[convert] =>
[php_exec_infinite_timelimit] => 1
)

)

)

[2] => Array
(
[file] => /home3/videoadd/public_html/php-video/documentation/includes/configuration.php
[line] => 30
[function] => __construct
[class] => PHPVideoToolkit\Config
[type] => ->
[args] => Array
(
[0] => Array
(
[temp_directory] => ../examples/tmp
[ffmpeg] => /opt/local/bin/ffmpeg
[ffprobe] => /opt/local/bin/ffprobe
)

)

)

[3] => Array
(
[file] => /home3/videoadd/public_html/php-video/documentation/includes/header.php
[line] => 5
[args] => Array
(
[0] => /home3/videoadd/public_html/php-video/documentation/includes/configuration.php
)

[function] => include_once
)

[4] => Array
(
[file] => /home3/videoadd/public_html/php-video/documentation/index.php
[line] => 3
[args] => Array
(
[0] => /home3/videoadd/public_html/php-video/documentation/includes/header.php
)

[function] => require_once
)

)

[previous:Exception:private] =>
)

)

)

Also need to know if you actually need ffmpeg installed with this, if so - makes this worthless for me being on a shared server..

Any help would be greatly appreciated!

  2. Re: How do you install   Reply   Report abuse  
Picture of Oliver Lillie Oliver Lillie - 2014-03-17 08:47:08 - In reply to message 1 from Mike Mancini
You've not setup the configuration of the documentation located in documentation/includes/configuration.php and the temp directory configuration set does not exist.

You do need ffmpeg and even if ffmpeg is available, if you are on a shared host because of tighter security restrictions you may not even be able to use PHPVideoToolkit.

 
For more information send a message to info at phpclasses dot org.