Can you try editing "/your-secret-admin/new_customer.php"; Add the changes in red (around line 299):
Code:
$sql_data_array = array(
'customers_gender' => $cInfo->customers_gender,
'customers_firstname' => $cInfo->customers_firstname,
'customers_lastname' => $cInfo->customers_lastname,
'customers_dob' => zen_date_raw($cInfo->customers_dob),
'customers_email_address' => $cInfo->customers_email_address,
'customers_telephone' => $cInfo->customers_telephone,
'customers_fax' => $cInfo->customers_fax,
'customers_newsletter' => $cInfo->customers_newsletter,
'customers_email_format' => $cInfo->customers_email_format,
'customers_default_address_id' => $cInfo->customers_default_address_id,
'customers_password' => $cInfo->customers_password,
'customers_group_pricing' => $cInfo->customers_group_pricing,
'customers_authorization' => $cInfo->customers_authorization,
'customers_referral' => $cInfo->customers_referral
);
This fix was previously posted by christamcc. Let me know if this solves the problem in your environment.
NOTE: PHP 5.2.x reached end-of-life on 6 Jan 2011. It has not received bug or security fixes since. I would strongly urge any store owner to keep Zen Cart up to date (version 1.5.4 currently) and make sure the hosting provider stays up to date as well (PHP 5.5 is the oldest version currently supported - see PHP end-of-life).
Bookmarks