The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHPMotion ?

Discussion in 'Database Discussions' started by GWC, Aug 8, 2008.

  1. GWC

    GWC Registered

    Joined:
    Aug 4, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello all, I recently purchased a program called phpmotion http://phpmotiontemplates.com/ and I'm wondering how i go about getting this installed on my sever, which is compatible, first things first i need to set up a database? I need help on doing this install if anyone could help me i could do it myself, I just need to be pointed in the correct dirtection, thank you in advance! Todd H
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. geopcgeo

    geopcgeo Registered

    Joined:
    Aug 13, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cochin
    PHPMotion

    In order to run PHPmotion you will need either to have a dedicated/vps server with the required modules installed OR a web hosting provider that has these features.

    Servers - Linux/Unix

    Required Modules
    PHP 4.3 and above (including support of CLI)
    MySQL database server
    LAME MP3 Encoder
    Libogg + Libvorbis
    Mencoder and also Mplayer
    FFMpeg-PHP
    GD Library 2 or higher
    CGI-BIN
    Be able to run background processes

    PHP Settings
    open_basedir = (no value)
    upload_max_filesize = 100M
    post_max_size = 100M
    max_execution_time = 1500
    session.gc_maxlifetime = 14000
    safe_mode = off
    Thread saftery = disabled
    enable_dl = On

    PHPMotion does offer a server set up service http://phpmotion.com/content/view/12/30/


    Installing PHPmotion V2

    The following instructions only apply to Version 2 of PHPmotion. For V1 please refer to the instructions provided inside the downloaded zip file
    Determin what versin of PHP is running on your server. There are 2 ways to do this
    Ask your web hostimg provider
    Use a phpinfo() file Create a phpinfo file
    Download the appropriate version of phpmotion for your server (From our forum). We provide a version for both PHP4 and PHP5 servers
    Unzip the files on your computer
    Using your web hosting control panel or similar, create a mysql database and write down the details of the database once created
    Upload all the phpmotion files into your FTP folder
    CHMOD all the following files and directories to 777
    /setup
    /pictures
    /classes
    /temp
    /logs
    /addons
    /uploads
    /uploads/avi
    /uploads/thumbs
    /uploads/audio
    /uploads/audio/temp
    /uploads/pictures
    CHMOD all the following files and directories to 755
    /cgi-bin/all files in there
    /cgi-bin/audio/all files in there
    Start the installation wizard by going to http://YOUDOMAIN.COM/setup (replace with your real domain name)
    IMPORTANT NOTES
    The following files MUST be uploaded in BINARY mode. Your FTP program will have an option for this
    /classes/config.php
    /watchingnow.php
    /mp3_id3_utils.php
    Installing PHPmotion V2 to a Sub-Folder

    If you are installing to a subfolder (example http://www.yourdomain.com/myvideos/)
    Follow ALL the standard setup instructions above
    The following files will need to be edited using a plain text editor like notepad
    /cgi-bin/uu_default_config.pm
    /cgi-bin/audio/uu_default_config.pm
    uploader_conlib.php
    audio_uploader_conlib.php
    /cgi-bin/uu_default_config.pm and /cgi-bin/audio/uu_default_config.pm

    open each file and locate the section with:
    config_file_name => 'uu_default_config',
    temp_dir => $ENV{'DOCUMENT_ROOT'} . '/temp/',
    upload_dir => $ENV{'DOCUMENT_ROOT'} . '/uploads/avi/',
    redirect_url => '/uploader_finished.php',
    path_to_upload => '/uploads/avi/',

    Change it to:
    config_file_name => 'uu_default_config',
    temp_dir => $ENV{'DOCUMENT_ROOT'} . '/myvideos/temp/',
    upload_dir => $ENV{'DOCUMENT_ROOT'} . '/myvideos/uploads/avi/',
    redirect_url => '/myvideos/uploader_finished.php',
    path_to_upload => '/myvideos/uploads/avi/',
    uploader_conlib.php and audio_uploader_conlib.php

    open each file and locate the section with:
    $path_to_upload_script = '/cgi-bin/uu_upload.pl';
    $path_to_ini_status_script = '/cgi-bin/uu_ini_status.pl';

    Change it to:
    $path_to_upload_script = '/myvideos/cgi-bin/uu_upload.pl';
    $path_to_ini_status_script = '/myvideos/cgi-bin/uu_ini_status.pl';


    PROBLEMS AND DEBUGGING
    VIDEO AND SOUND PROBLEMS

    If you are having the following problems

    1. Videos not showing
    2. No sound
    3. Missing thumbnail pictures
    4. Any other video related problem

    Debugging (recommended option)

    - Open the file classes/config_inc.php

    - Set the $log_encoder variable to yes.

    - This will create a log file each time you upload a new video

    - The log file will be located in the logs folder

    Example : $log_encoder = "yes";

    Thanks
    Geo
    http://SupportPRO.com :: Transparent Web Hosting Support Services to Web Hosting Businesses ..
    -------------------------
     
  4. GWC

    GWC Registered

    Joined:
    Aug 4, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Yes Awesome

    Ok everything check out now, now i was wondering if anyone in this threaD new of a GOOD PHPMOTION EDITOR FOR HIRE?
     

Share This Page