+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: SQL Error when updating awards..

  1. #1
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default SQL Error when updating awards..

    Code:
    Database error in vBulletin 3.8.4:
    
    Invalid SQL:
    UPDATE awc_awards SET enabled='1',name='Donation Award',description='This award is given to a member of the site who has donated',image='dsaw_1.gif',amount='5.00',ugp='0',display='0',time=null,ugpr='0',frate='5.00',brate='1.00' WHERE id=1 AND sid='ds';
    
    MySQL Error   : Column 'time' cannot be null
    Error Number  : 1048

  2. #2
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default

    Also when updating the awards the "User groups that "ARE" affected by the usergroup/membership change" aren't changing..

  3. #3
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default

    Also at awcoding.php?do=awards&sid=ds
    The "flat" and "base" are blank, but the flat value has been inserted into the time column..

  4. #4
    Admin
    Points: 11,565, Level: 74
    Level completed: 39%, Points required for next Level: 185
    Overall activity: 100.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Overdrive
    AWJunkies's Avatar
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    1,863
    Blog Entries
    4
    Chats
    22693

    Default

    Quote Originally Posted by CheeSie View Post
    Code:
    Database error in vBulletin 3.8.4:
    
    Invalid SQL:
    UPDATE awc_awards SET enabled='1',name='Donation Award',description='This award is given to a member of the site who has donated',image='dsaw_1.gif',amount='5.00',ugp='0',display='0',time=null,ugpr='0',frate='5.00',brate='1.00' WHERE id=1 AND sid='ds';
    
    MySQL Error   : Column 'time' cannot be null
    Error Number  : 1048

    It is telling you the problem TIME can NOT be blank have to set a TIME for the award. Then after created can update and put blank time for permanent. I just forgot to put warning message can't be blank instead of the mysql error will be fixed in next version. This hinders no issues with core software or functioning of software either.

  5. #5
    Admin
    Points: 11,565, Level: 74
    Level completed: 39%, Points required for next Level: 185
    Overall activity: 100.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Overdrive
    AWJunkies's Avatar
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    1,863
    Blog Entries
    4
    Chats
    22693

    Default

    Quote Originally Posted by CheeSie View Post
    Also when updating the awards the "User groups that "ARE" affected by the usergroup/membership change" aren't changing..
    Works perfect for years of software. It ALL has to do with settings and how you have it set up. If you need more help post a screen shot of your award settings and awards and awards edit of one of them.

  6. #6
    Admin
    Points: 11,565, Level: 74
    Level completed: 39%, Points required for next Level: 185
    Overall activity: 100.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Overdrive
    AWJunkies's Avatar
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    1,863
    Blog Entries
    4
    Chats
    22693

    Default

    Quote Originally Posted by CheeSie View Post
    Also at awcoding.php?do=awards&sid=ds
    The "flat" and "base" are blank, but the flat value has been inserted into the time column..
    This has been posted before some weird combo of turning on and off some causes the issue haven't looked into it yet as most people dont show all that info and was a new feature settings of last version. Before you didnt have option to show all those just the core for awards (image,name,description,amount).

  7. #7
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default

    Quote Originally Posted by AWJunkies View Post
    This has been posted before some weird combo of turning on and off some causes the issue haven't looked into it yet as most people dont show all that info and was a new feature settings of last version. Before you didnt have option to show all those just the core for awards (image,name,description,amount).
    Ok I tried different combinations.. and it seems like flat,base and issued aren't working..
    But it's no biggie

    Thanks for helping

  8. #8
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default

    Quote Originally Posted by AWJunkies View Post
    It is telling you the problem TIME can NOT be blank have to set a TIME for the award. Then after created can update and put blank time for permanent. I just forgot to put warning message can't be blank instead of the mysql error will be fixed in next version. This hinders no issues with core software or functioning of software either.
    But how come it's blank as default then?
    .. You should either fix the "null" problem or add a "forever" option

  9. #9
    Purchaser
    Points: 817, Level: 16
    Level completed: 17%, Points required for next Level: 83
    Overall activity: 14.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Tagger Second Class

    Join Date
    Aug 2009
    Posts
    6
    Chats
    2

    Default

    Sorry my tripple posts but...

    When hovering the awards in the postbit, is it possible to get the award description showing instead of the award title?

  10. #10
    Admin
    Points: 11,565, Level: 74
    Level completed: 39%, Points required for next Level: 185
    Overall activity: 100.0%
    Achievements:
    7 days registered 31 days registered 3 months registered 1 year registered Overdrive
    AWJunkies's Avatar
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    1,863
    Blog Entries
    4
    Chats
    22693

    Default

    Quote Originally Posted by CheeSie View Post
    Sorry my tripple posts but...

    When hovering the awards in the postbit, is it possible to get the award description showing instead of the award title?
    go to admincp styles and templates. Go to awcoding templates then go to awc_awards_postbit and look for:
    {$awc_awards_info['name']}

    change it too:

    {$awc_awards_info['description']}

    See if that works as it should.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Bulgarian Croatian Czech Danish Dutch English Estonian Finnish French German Greek Hungarian Icelandic Irish Italian Lithuanian Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Turkish Ukrainian Welsh