I have a Problem with OSTUBE
Posted: Mon Aug 06, 2007 1:07 am
Hi all i have a problem with the, OSTube in the data class.php
I can upload .FLV Movies it's no problem, but when i'm uploading a mpeg Movie, i have this error:
See the Browser Error:
Here is my class.php File
Can some one help me? i hope 
I can upload .FLV Movies it's no problem, but when i'm uploading a mpeg Movie, i have this error:
See the Browser Error:
Code: Select all
Warning: Missing argument 1 for __construct() in /home/xeo/public_html/ostube/uploader/simpleuploader/class.php on line 8Code: Select all
<?php
class simpleuploader extends uploader {
var $prio = 1;
// PHP 5.x Class-Definition
function __construct(&$parent) {
$this->parent = &$parent;
$this->enabled = $this->check_conditions();
}
// PHP 4.x Class Definition
function phpuploader(&$parent) {
$this->__construct($parent);
}
// check-up
function check_conditions() {
return true;
}
//
//
//
function head() {
global $config, $main;
require_once 'SimpleUpload.class.php';
$this->upload = new SimpleUpload();
}
}
?>