Customer data problem

Open to all! Ask other shopowners for help.
Post Reply
whitejoe34
Member
Posts: 6
Joined: Sun Feb 01, 2026 3:03 pm
Phoenix Version:
Has thanked: 4 times

Customer data problem

Post by whitejoe34 »

Hello everyone, I have the following problem.
I can register and log in to the shop. However, when I go to the account details at account_edit.php, the form fields are empty. At address_book.php, no default address is displayed either, and I cannot edit the address book entry. Everything is displayed in the admin panel, though. When I view $customer, I get the following:

Code: Select all

customer Object ( [id:customer:private] => 13 [data:customer:private] => Array ( [0] => Array ( [firstname] => [lastname] => [name] => [country_id] => [short_name] => ) ) [unpersisted:customer:private] => Array ( ) ) 
I have: Installed version: CE Phoenix v1.1.0.6 / PHP 8.3

Does anyone have any idea what might be causing this?
Many thanks!


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Customer data problem

Post by burt »

For some reason the Customer Object is empty.

What changes have you made, if any, in and around any areas to do with Csutomers? EG have you installed some extra Customer Data Modules? Installed some sort of guest account or password addons?

Does Customer 13 have any missing data in the customers table, or in the customers_info table ?

Make a NEW customer on create_account.php and go to account_edit.php - same problem?
I am not here to build for you.
I am here to build with you. Let's help each other.
whitejoe34
Member
Posts: 6
Joined: Sun Feb 01, 2026 3:03 pm
Phoenix Version:
Has thanked: 4 times

Re: Customer data problem

Post by whitejoe34 »

I haven’t installed any add-ons for customer data. However, I did remove the ‘State’ field. I’ve now re-added it, but the error persists. As far as I can tell, everything looks fine in the database.
The address book entries are also displayed, but I can’t edit them and there is no default address.
The entries are present in the Address_book table, and the default address ID is set correctly in the Customers table.

When I create a new customer, I encounter exactly the same problem.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Customer data problem

Post by burt »

You might install a test shop (in other words, something clean) and see if same occurs.
Then add things (addons, language, hooks, whatever) one by one, testing as you go.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply