Jump to content

PHP Strict Standards: Declaration of uploaded::Download() should be compatible with DownloadClass::Download


YuriFernando

Recommended Posts

Hello everybody! I just open this topic because i'm trying to figure this out for days....

 

Error_log [08-Aug-2013 14:57:37 UTC]

PHP Strict Standards: Declaration of uploaded::Download() should be compatible with DownloadClass::Download($link, $FileName, $cookie = 0, $post = 0, $referer = '', $caching = false)

in /home/srv26/public_html/hosts/uploaded.class.php on line 3

 

Line 3 final class uploaded extends DownloadClass implements Hosts << Does anyone have any idea of this error? Thanks for all! =)

You know, spacing is everything when you want people to pay attention.

 

I have taken the time here to indent your mess and make it easier for someone to look at.

 

EDIT: I searched using Google for 

Strict Standards: Declaration of should be compatible with

 

 

and low and behold , this came up right away

http://stackoverflow.com/a/3115398/401299

final class uploaded extends DownloadClass implements Hosts {

public static function Download($link, $caching = false) {

parent::Download($Frag, '', $Cookies, 0, '', $caching);

}

}

 

DownloadClass

 

abstract class DownloadClass extends cmmf {

protected static function Download($link, $FileName, $cookie = 0, $post = 0, $referer = '', $caching = false){

[..........]

}

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.