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! =)

Edited by Zane
Link to comment
Share on other sites

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

Edited by Zane
Link to comment
Share on other sites

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){

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

}

}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.