- Joined
- Dec 21, 2004
- Messages
- 377
- Reaction score
- 0
i install OSTUBE and i have this error
Warning: Missing argument 1 for __construct() in public_html/media/video/uploader/simpleuploader/class.php on line 8
in the file class.php there this:
Can anyone please help me out to fix this ?
Warning: Missing argument 1 for __construct() in public_html/media/video/uploader/simpleuploader/class.php on line 8
in the file class.php there this:
PHP:
<?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();
}
}
?>
Can anyone please help me out to fix this ?