I've been working on this problem all day (including searching around here for a couple of hours) and can't figure it out, so I'm throwing myself at your feet. Anyone's feet. "-)
Scenario
Modified TABLE_CUSTOMERS to add a Cell Phone Number Field. Per another thread here, followed Linda's guidelines for locating files and using "customers_fax" field as example for the new account field.
Works great... as long as all I am doing is "acting as a new customer creating an account" or editing an account via the Admin > Customers feature. BUT, if I try to edit the Account Info as the logged in customer, it's a no go.
General Info
-- New/Clean/From Scratch install of ZC 1.3.6 without any other modifications or plugins or contributions.
-- Compared my modified files to the original, unmodified files ~from the zip~ and there are no differences except the lines I added. I've proofread them at least 4 times... they are done correctly, at least if I squint just right. "-)
-- Added new field to db exactly as "customers_fax" was defined.
-- Running locally on Win XP Pro (also tested it on XP Home) using XAMPP 1.4.11, PHP 4.3.10 and MySQL 4.1.8. Also tested it on an older installation of XAMPP running PHP4.x and MySql (not sure of version). Same results across the board.
-- Have cleaned system and rebooted, checked file permissions, config files, etc. on the off chance I was missing something there... no change.
Catalog Side
db TABLE_CUSTOMERS is being written properly during account creation;
db TABLE_CUSTOMERS content is NOT being displayed in full during View/Edit My Acount -- only the info from the original fields is displayed; further, those are also the only fields I can update via the View/Edit My Account function, any change to the custom/new field is not written to the db.
Files modified (all using the Override system) = includes/modules/pages/account_edit/header_php.php, includes/modules/create_account.php, templates/tpl_account_edit_default.php, templates/tpl_modules_create_account.php, includes/languages/english.php
Admin Side
db TABLE_CUSTOMERS content is being displayed AND updated properly from the Admin area;
Files modified (no Override possible of course) = admin/customers.php, admin/includes/languages/english.php
Everywhere that "customers_fax" or "fax" or "$fax" appears I have copied and inserted the exact same statement for the new field. I simply cannot see why the account_edit process is not working on the Catalog side, I obviously have a mental block.
Am I missing a file somewhere? Or does someone have another idea as to what might be wrong? Could it possibly be something to do with the whole local server thing and sessions/cookies or ? The only thing I haven't done is installed to the hosting server to see if the problem is duplicated there.
Thanks!
Becky



Good lesson in not working 48 hour stretches without at least a short nap or some of Ajeh's coffee. hehe]
