Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Member can't register


vicentk

Recommended Posts

1/

1364 - Field 'customers_gender' doesn't have a default value

 

insert into customers (customers_firstname, customers_lastname, customers_email_address, customers_telephone, customers_fax, customers_newsletter, customers_password) values ('Vincent', 'Kwok', '[email protected]', '9xxxxxxx', '', '', 'd792c38ae492657cf152da87935bdc2e:c3')

 

[TEP STOP]

 

Here is my error code .

 

2/

Inside admin -> coustoms there is another error

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\webshop\osc\admin\customers.php on line 733

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\webshop\osc\admin\customers.php on line 735

 

Warning: reset() [function.reset]: Passed variable is not an array or object in D:\webshop\osc\admin\includes\classes\object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in D:\webshop\osc\admin\includes\classes\object_info.php on line 18

 

3/

I can't found where to add a admin password ? Is it need to creat a admin account first ?

 

My setting :

Win2k server sp4

MYSQL 4.1.7

PHP 5.1.2

MORE HERE -> http://crabcrabshop.com/phpinfo.php

 

Sorry to too many question .

Link to comment
Share on other sites

added this using php myadmin

 

ALTER TABLE `customers` ADD `customers_gender` char(1) NOT NULL AFTER `customers_id`;

 

 

1/

1364 - Field 'customers_gender' doesn't have a default value

 

insert into customers (customers_firstname, customers_lastname, customers_email_address, customers_telephone, customers_fax, customers_newsletter, customers_password) values ('Vincent', 'Kwok', '[email protected]', '9xxxxxxx', '', '', 'd792c38ae492657cf152da87935bdc2e:c3')

 

[TEP STOP]

 

Here is my error code .

 

2/

Inside admin -> coustoms there is another error

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\webshop\osc\admin\customers.php on line 733

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\webshop\osc\admin\customers.php on line 735

 

Warning: reset() [function.reset]: Passed variable is not an array or object in D:\webshop\osc\admin\includes\classes\object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in D:\webshop\osc\admin\includes\classes\object_info.php on line 18

 

3/

I can't found where to add a admin password ? Is it need to creat a admin account first ?

 

My setting :

Win2k server sp4

MYSQL 4.1.7

PHP 5.1.2

MORE HERE -> http://crabcrabshop.com/phpinfo.php

 

Sorry to too many question .

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...