Membershiplevel

Hello All,

When i want to upgrade a membershiplevel i get the following error:

Error
Database query error
Database error in
Query:
  SELECT `sys_acl_levels_members`.IDLevel as ID,
    `sys_acl_levels`.Name as Name,
    UNIX_TIMESTAMP(`sys_acl_levels_members`.DateStarts) as DateStarts,
    UNIX_TIMESTAMP(`sys_acl_levels_members`.DateExpires) as DateExpires,
                `sys_acl_levels_members`.`TransactionID` AS `TransactionID`
  FROM `sys_acl_levels_members`
    RIGHT JOIN Profiles
    ON `sys_acl_levels_members`.IDMember = Profiles.ID
     AND (`sys_acl_levels_members`.DateStarts IS NULL
      OR `sys_acl_levels_members`.DateStarts <= FROM_UNIXTIME(-1))
     AND (`sys_acl_levels_members`.DateExpires IS NULL
      OR `sys_acl_levels_members`.DateExpires > FROM_UNIXTIME(-1))
    LEFT JOIN `sys_acl_levels`
    ON `sys_acl_levels_members`.IDLevel = `sys_acl_levels`.ID
  WHERE Profiles.ID = 2
  ORDER BY `sys_acl_levels_members`.DateStarts DESC
  LIMIT 0, 1Mysql error: Column 'DateStarts' cannot be null
Found error in the file '/var/www/g2092/2singles.nl/HTML/inc/membership_levels.inc.php' at line 163.
Called 'fromMemory' function with erroneous argument #2.
Please can someone help me whit this error so i can contineu with the site.
Greeting Robcom
Quote · 27 Nov 2009

I am assuming you are doing this as the admin for another member. If so, you need to make sure you click the "starts immediately" box in order for it to take. Just look at your error:

Column 'DateStarts' cannot be null

Chris

Nothing to see here
Quote · 28 Nov 2009

Can not reproduce this error, what version of MySQL do you have ?

Rules → http://www.boonex.com/terms
Quote · 28 Nov 2009

i'am using the latest dolphin 7RC,

Quote · 29 Nov 2009

i'am using the latest dolphin 7RC,

It is version of Dolphin script, but I'm asking about the version of MySQL server, thanks.

Rules → http://www.boonex.com/terms
Quote · 30 Nov 2009

I was getting the same error. I have posted my workaround in this thread:

http://www.boonex.com/unity/forums/topic/Saving-Membership-level.htm#topic/Saving-Membership-level.htm

hope, this helps :-)

Quote · 16 Mar 2010

This bug is reported in this ticket: http://www.boonex.com/trac/dolphin/ticket/1922

Code changeset is here: http://www.boonex.com/trac/dolphin/changeset/13794

Rules → http://www.boonex.com/terms
Quote · 19 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.