Change player logo
To change the player logo simply change the file /images_s/playerlogo.png
You can create your own image with the same name but it must be a png file and not gif, jpeg etc
recover admin password (forgot admin password)
If you have forgotten your admin password
1) Unzip and upload the file attached at the end of this post, into your /siteadmin folder (via FTP)
2) Open it in your browser
e.g. www.yourdomain.com/siteadmin/recover.php
No mysql information-error E001
If you have followed all the steps on setting up your mysql information both on your server and also in the /classes/config.inc.php file and you get an error
No mysql information-error E001
The reason for this is that you have open_basedir restrictions on your hosting account which are preventing the contents of the file /classes/config.inc.php from being read by phpmotion
Solution:
You need to disable open_basedir restrictions on your account. If you have a Plesk server this is done in the vhost.conf file for the specific domain name. If you have any other type of control panel, check with the documentation on how to disable openbase_dir restriction
Large video files being cut short
there could be many reasons why this is happening ( server side issues)
1) For a start ensure that you dont have (Process Resource Monitor) installed on your server. This is a tool that basically monitors cpu/resource usage on your server and will disable mencoder if its using too much cpu. If you dont want to uninstall this application then ensure that you have correctly added mencoder to the exclude list.
2) Make sure that you have enough time set for your max_execution_time in your php.ini file ( try something like 300)
Allow full screen on video
open the file templates/inner+play.htm
FIND:
param name=allowFullScreen value=”false”
to
CHANGE IT TO:
param name=allowFullScreen value=”true”
This currently only works with Internet Explorer and not FireFox
Videos or Thumbs not showing
If you can upload videos and they are not showing then there could be a variety of reasons as to why this is the case. The list below is not a complete exhaustive one but will help debug the most common problems.
1) Missing Requirements
If you run the tester.php script and get “fail” on the first 3 items on the list then video will not convert. You should check that you have these requirements installed. If you have a dedicated server or a VPS you can check yourself by logging in as root and running
which ffmpeg
which mencoder
which flvtool2
If you get a path showing then you have the modules installed, if not then you need to set these up. Click here for help with this.
Ensure that the file paths that you get are the same ones as specified in your admin area.
2) NO CLI support
CLI (command line interface) is the means by which the videos are converted in the background so that users don’t have to wait while they are converted. When a video finishes uploading, CLI is used to run convertor.php in the background which goes to work converting the video.
You need to check that you have CLI support. to do this follow the steps below
a) Open convertor.php and edit the two sections below to include your own email address and remove the // (commenting)
//CHECK POINT 1\\
//mail("you@yourdomain.com", "PHPmotion - Check Point 1", "Loaded OK", "From: Server ");
and also
//CHECK POINT 6\\
//mail("you@yourdomain.com", "PHPmotion - Check Point 6", "SCRIPT LOADED TO THE END", "From: Server ");
b) upload a video and when uploading is completed you should get 2 emails from your server, if you get both emails it means that you have CLI support and the convertor.php was loaded correctly and as such this is not your current problem. If you dont get the emails then you don’t have CLI for PHP and you should:
1) try and change the path to php in the file /classes/config.inc.php to /usr/local/bin/php
2) if step (1) does not resolve the problem try this alternative solution. http://phpmotion.com/forum/index.php?topic=954.0
3) Check your logs
You can also check your log file which is created in the folder /logs. To enable logging do the following
a) Edit the file classes/config.inc.php and change logging to yes as shown below
$log_encoder = "yes"; //change to "yes" to create a log file of encoding (created in /logs)
b) upload a video and then download the log file. If you are getting errors and you decide to post a question in the forum, remember to include your log file.
MySQL error – DEFAULT CHARSET=latin1
If you are getting a mysql error on (DEFAULT CHARSET=latin1).
1) download the file attached at the end of this post and unzip it
2) Delete the mysql.sql file thats inside your SQL folder in you downloaded version of PHPmotion replace the one downloaded.
3) Upload new SQL folder to your FTP
4) Try and follow setup steps as normal
mysql download
Taken from PHPMOTION FORUMS