Saving Membership-level

Good evening,

This happens when I want to upgrade the memberlevel.

First there was this error with the memory level, but I solved this by doing this in my htaccess php_value memory_limit 48M atleast it doesnt show up again.

Now I recieve a database error it links me to this

Mysql error: Column 'DateStarts' cannot be null

Found error in the file '/var/www/vhosts/24-community.de/httpdocs/inc/membership_levels.inc.php' at line 163.
Called 'fromMemory' function with erroneous argument #2.

the line is this one here

Limit 0,1

I hope you guys can help me out here :)

Edit: I think till I added the memberlevels in the Admininterface I can´t even save the profile the normal way :( Besides that I´m pretty sure I didn´t touch this area

Quote · 4 Mar 2010

Can you provide full error message - you should get it by email.

And can you provide access to your site to investigate the problem ? I need phpMyAdmin or site cPanel access - because this problem appears on some rare servers and can not be reproduced on our side.

Rules → http://www.boonex.com/terms
Quote · 4 Mar 2010

I had the same error - but I was probably able to fix it. Not quite sure if it is 100% correct, but it seems to work now ;) It is for sure not a MySQL versill be able to change the membership level.

These are the changes I made


File: inc/membership_levels.inc.php (functi])) // eof replacement
$lastMembership = $arrMembership;

this is a print of some of the variables inside the getMemberMembershipInfo_latest() function
---------------------------------------
$originalMembership =
Array
(
[ID] => 3
[Name] => Promotion
[DateStarts] => 1268145875
[DateExpires] => 1268750675
[Transacti];
$arrMembership = getMemberMembershipInfo_current($memberID, $dateExpires);

Array
(
[ID] => 2
[Name] => Standard
)

-> the date is missing! this is why it won't work.

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

I got this database error as well, but with this:

Mysql error: Out of memory (Needed 26843200 bytes)

Any idea on what could fix this? (htaccess php_value memory_limit is set to be quite high, btw)

Quote · 21 Mar 2013
 
 
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.