Warning: Missing argument 1 for __construct() in
Posted: Sat Jul 21, 2007 10:05 am
feyd | Please use
How i solvent this
Thanks
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hello i install OSTUBE and i have this error
Warning: Missing argument 1 for __construct() in /home/artalo04/domains/derechoshumanos.biz/public_html/media/video/uploader/simpleuploader/class.php on line 8
in the file class.php there this:Code: 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();
}
}
?>Thanks
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]