RE: Proposal Discussion: My Account

winterradio <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <46037e26e9e6fb1d46d25bb877c0cad8@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=170716#170716
----------------------------------------------------------------

I have just updated from an existing store to the current CVS(including the new account proposal).  

I now have problems trying to sign up as a customer,  I fill out all the required fields, receive no javascript pop up message and cannot proceed to the next page when I hit "Continue" .  Instead I receive a red bar across the top of the form with no explanation or error message.

Also in admin I've noticed that all of my address information has dissapeared or admin is not communicatiing with my database properly.  

When I try to view or edit customer information I receive the following:

Warning: Variable passed to reset() is not an array or object in /home/www/bluehen/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/www/bluehen/admin/includes/classes/object_info.php on line 18

Is this only a database error?  DATABASE STRUCTURE LISTED BELOW:

CREATE TABLE address_book (
  address_book_id int(11) NOT NULL auto_increment,
  customers_id int(11) NOT NULL default '0',
  entry_gender char(1) NOT NULL default '',
  entry_company varchar(32) default NULL,
  entry_firstname varchar(32) NOT NULL default '',
  entry_lastname varchar(32) NOT NULL default '',
  entry_street_address varchar(64) NOT NULL default '',
  entry_suburb varchar(32) default NULL,
  entry_postcode varchar(10) NOT NULL default '',
  entry_city varchar(32) NOT NULL default '',
  entry_state varchar(32) default NULL,
  entry_country_id int(11) NOT NULL default '0',
  entry_zone_id int(11) NOT NULL default '0',
  PRIMARY KEY  (address_book_id),
  KEY idx_address_book_customers_id (customers_id)
) TYPE=MyISAM;


CREATE TABLE customers (
  customers_id int(11) NOT NULL auto_increment,
  customers_gender char(1) NOT NULL default '',
  customers_firstname varchar(32) NOT NULL default '',
  customers_lastname varchar(32) NOT NULL default '',
  customers_dob datetime NOT NULL default '0000-00-00 00:00:00',
  customers_email_address varchar(96) NOT NULL default '',
  customers_default_address_id int(11) NOT NULL default '0',
  customers_telephone varchar(32) NOT NULL default '',
  customers_fax varchar(32) default NULL,
  customers_password varchar(40) NOT NULL default '',
  customers_newsletter char(1) default NULL,
  PRIMARY KEY  (customers_id)
) TYPE=MyISAM;

Any help would be greatly appreciated, currently it is impossible for any new customers to sign up or check out
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.