Search results

  1. E

    File hash with md5_file too slow for large files

    All my servers can calculate md5 of large files in few seconds. Which processor are you using?
  2. E

    Downloads not being counted correctly

    I does happen using xSendile and xAccelRedirect, but not as often. There is a window of few milliseconds between getting the value from the db and sending the update. This window can be larger when using a mysql server in another datacenter, can be even some seconds.
  3. E

    Downloads not being counted correctly

    To update the file table with the correct values, run this query: UPDATE file SET visits = (SELECT count(*) as visits FROM stats WHERE file_id = file.id) Don't forget to make a backup.
  4. E

    Direct File Server

    If the default chunk upload size is 200mb he would need 200mb in the php upload limit, wouldn't he?
  5. E

    Downloads not being counted correctly

    Problem: If multiple users start the download of a single file at the same time, only one will be logged. Solution: Replace this line: $db->query('UPDATE file SET visits = :visits WHERE id = :id', array('visits' => $this->visits, 'id' => $this->id)); to this: $db->query('UPDATE file SET visits...
  6. E

    Handling sudden large traffic

    I've made several suggestions regarding adding redundancy to the script by replicating files in 2 or more fileservers. This will solve your problem.
  7. E

    Handling sudden large traffic

    Free users have limited speeds. All my servers have 1gbps links. It will require thousands of free users downloading at the same time to use 1gbps. If you have enough premium users to use 1gbps, they will complete the download in few minutes.
  8. E

    mcrypt error

    There are many errors almost every day. The iv size isn't 5 in every error log.
  9. E

    Convert MKV to MP4 Like Openload.co

    Maybe they start converting when you begin the upload.
  10. E

    mcrypt error

    5.6.17 on the main server.
  11. E

    mcrypt error

    Hello. Sometimes I got the following error in my error_log: PHP Warning: mcrypt_decrypt(): Received initialization vector of size 5, but size 16 is required for this encryption mode in /home/brfiles/public_html/core/includes/file.class.php on line 2297 Does anyone knows how to fix it?
  12. E

    About PPD plugins

    1) Yes, but it will earn with partial/incomplete downloads too. 2) Yes. 3) No. It will earn if any user downloads the file.
  13. E

    Payment Gateways

    Does anyone knows cielo? It's a credit card operator that process payments using visa and mastercard. They have a quite simple gateway solution: https://developercielo.github.io/Checkout-Cielo/english.html They also have a webserver solution that allows you to process the payment without...
  14. E

    Multi Master MySQL Replication

    The free version just replicate the date. It doesn't support transactions between several servers. Quick example: 2 users register in your website at the same time (or few seconds apart), the script send the insert of the first user to mysql server 1 and the second user to mysql server 2. Both...
  15. E

    Slot speed in remote upload using external mysql server

    Using an external mysql server the remote uploads become very slow. Using an 1gbps port and a external mysql server with 9ms of latency I got 800KB/seg. Using curl in the command line I got 70MB/seg. This problem is caused by the method remoteUrlCurlProgressCallback in the uploader.class.php...
  16. E

    Turn off auto complete in password fields

    Doesn't work either. I believe the right name of this feature is auto fill (https://support.google.com/chrome/answer/142893?hl=en)
  17. E

    Multi Master MySQL Replication

    You can't make multimaster with the free version of mysql. If you do, you will have several problems. What you can do is have one master and several slaves. Having slaves will solve problems regarding reads, but not writes. As far as I can see, YS makes way more inserts and updates than...
  18. E

    Turn off auto complete in password fields

    It can happen even with normal text fields. Some browsers have auto complete in any type of field.
  19. E

    Theme - Above the Clouds 2x bugs

    I believe the author fixed this issue in the last 1 year and 4 months since he created this topic...