Page 7 of 7

Re: Play : a new module to play video and audio files

Posted: Mon Nov 15, 2010 11:23 pm
by drwatson
seensite wrote: Hello,

Using Play 1.0.3 with cmsms 181, in admin pannel "Players" tab I tried to copy "Neolao FLV Player" to create another player. This message was shown :

Fatal error: Cannot redeclare _play_getdefaultplayers() (previously declared in /home/httpd/vhosts/httpdocs/modules/Play/methods.defaultplayers.php:5) in /home/httpd/vhosts/httpdocs/modules/Play/methods.defaultplayers.php on line 10

Line 1 to 10 of methods.defaultplayers.php:
<?php

if (!class_exists('Play')) return;

function _play_getdefaultplayers($summary=true) {
$players = array();
$players[] = _play_getdefaultplayer_1($summary);
$players[] = _play_getdefaultplayer_2($summary);
return $players;
}
Do you know what's going wrong ?
Same problem here. I can't create, edit or copy a player. Currently using v1.8.2.


edit: Just found a solution here: http://dev.cmsmadesimple.org/bug/view/4314
Manually adding the MySQL code did the trick.

edit2: Hmm, it isn't working. I get the error "--Add Me - module:Play string:error_fileexists--". It's also not possible to give permission to a group. Only the admin account can upload video's.