YuriFernando Posted August 8, 2013 Share Posted August 8, 2013 (edited) 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 August 8, 2013 by Zane Quote Link to comment https://forums.phpfreaks.com/topic/280965-php-strict-standards-declaration-of-uploadeddownload-should-be-compatible-with-downloadclassdownload/ Share on other sites More sharing options...
Zane Posted August 8, 2013 Share Posted August 8, 2013 (edited) 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 August 8, 2013 by Zane Quote Link to comment https://forums.phpfreaks.com/topic/280965-php-strict-standards-declaration-of-uploadeddownload-should-be-compatible-with-downloadclassdownload/#findComment-1444042 Share on other sites More sharing options...
YuriFernando Posted August 8, 2013 Author Share Posted August 8, 2013 Thank you, i use it... But when i post the space's gone ... sorry. Quote Link to comment https://forums.phpfreaks.com/topic/280965-php-strict-standards-declaration-of-uploadeddownload-should-be-compatible-with-downloadclassdownload/#findComment-1444046 Share on other sites More sharing options...
YuriFernando Posted August 8, 2013 Author Share Posted August 8, 2013 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){ [..........] } } Quote Link to comment https://forums.phpfreaks.com/topic/280965-php-strict-standards-declaration-of-uploadeddownload-should-be-compatible-with-downloadclassdownload/#findComment-1444051 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.