Activity Stream
48,167 MEMBERS
62773 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10
  1.     
    #1
    Member

    Default WcDDL Empty Downloads

    Hello,
    Im having a problem, when a user submits alot of downloads, occassionally about 10 blank ones appear to. Is their any script that can auto delete empty downloads from the WCDDL downloads database?
    Daviid Reviewed by Daviid on . WcDDL Empty Downloads Hello, Im having a problem, when a user submits alot of downloads, occassionally about 10 blank ones appear to. Is their any script that can auto delete empty downloads from the WCDDL downloads database? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Maybe the user do that (un)purpose?

  4.     
    #3
    Member
    Nope, i've tried it to, and it happens when i do it.

  5.     
    #4
    Member
    Did you tried to put fresh install? And, are we talking about WCDDL v1.0 or WCDDL v2.0 ?

  6.     
    #5
    Member
    Version 2 and yeah, i've tried to install a fresh one.

  7.     
    #6
    Member
    Aaah, nvm
    Fixed it.
    Just had to add:
    Code: 
    mysql_query("DELETE FROM wcddl_downloads WHERE title='' OR url='' OR sid=''");
    mysql_query("DELETE FROM wcddl_queue WHERE title='' OR url='' OR sid=''");
    To funcs.php

  8.     
    #7
    Member
    The problem must be on your host.
    Try to limit the amount of dowloads to accept each time.


  9.     
    #8
    Member
    Website's:
    zomgbbqpizza.com evilddl.com scenemarket.org
    It should stop any blank form entries before it even gets to entering it into database... strange...

    Code: 
    if(empty($titles[0]) || empty($urls[0]) || empty($types[0]) || empty($sname) || empty($surl) || empty($email)) {$this->error = 'Error: Some fields were not set, please check you filled in all details.';}

  10.     
    #9
    Member
    Website's:
    CodeSociety.net
    Quote Originally Posted by DEViANCE View Post
    It should stop any blank form entries before it even gets to entering it into database... strange...

    Code: 
    if(empty($titles[0]) || empty($urls[0]) || empty($types[0]) || empty($sname) || empty($surl) || empty($email)) {$this->error = 'Error: Some fields were not set, please check you filled in all details.';}

    assuming the empty download is the first element in the array. What if its the idk, 7th? or... 2nd? or 3rd? etc.



  11.     
    #10
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    Around Line 227 of funcs.php:
    Code: 
    if(!empty($titles[$i]) && !empty($urls[$i]) && !empty($types[$i]) && (in_array(strtolower($types[$i]),$this->allowed_types) || in_array($types[$i],$this->allowed_types)) && !isset($downDupe)) {
    All downloads are checked.
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [WCDDL] WcDDL v2 mix downloads
    By Chris2k in forum Web Application/Script Support
    Replies: 11
    Last Post: 20th May 2011, 08:44 PM
  2. Generate WCDDL Downloads Keyword
    By deAthbLisS in forum Tutorials and Guides
    Replies: 4
    Last Post: 19th Apr 2011, 03:46 PM
  3. [WCDDL] Top Downloads by Category
    By jomasaco in forum Webmaster Resources
    Replies: 5
    Last Post: 23rd Jan 2010, 07:30 PM
  4. [Selling] 71,000 Downloads. $1. WCDDL
    By archlyric in forum Completed Transactions
    Replies: 9
    Last Post: 11th Dec 2009, 05:24 PM
  5. [WCDDL][Bug-Fix] Editing Downloads (AdminCP)
    By CyberJ37 in forum Webmaster Resources
    Replies: 0
    Last Post: 24th Jan 2009, 11:24 AM

Tags for this Thread

BE SOCIAL