Hello,
PHP 7.3
I am getting errors on checkout_shipping page.
I went into customer data module and fname and lname are enabled.
Checkout_shipping was not listed as a page to enable them.
Not sure how to rid myself of this error.
Craig
First name and last name error
First name and last name error
Last edited by zpupster on Tue Mar 05, 2024 12:42 am, edited 1 time in total.
- burt
- Core Team
- Posts: 4561
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 413 times
Re: First name and last name error
Check in the database to ensure that the data for the customer is present.
These would, I think, be the prime ones to look at for the customer in question;
address_book.entry_firstname
address_book.entry_lastname
customers.customers_firstname
customers.customers_lastname
If they are blank, there's a problem somewhere.
If they are not blank, there's a problem somewhere else.
These would, I think, be the prime ones to look at for the customer in question;
address_book.entry_firstname
address_book.entry_lastname
customers.customers_firstname
customers.customers_lastname
If they are blank, there's a problem somewhere.
If they are not blank, there's a problem somewhere else.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: First name and last name error
This is missing a bunch of information. What is the current version of CE Phoenix Cart that is in use. Did you recently update to that version from an older version? I note that in version 1.0.5.0, the address_format table used firstname lastname. In version 1.0.5.1 and later, that changed to just name. So in versions 1.0.5.1 and later, you should not be able to get the error that you mention. It should no longer be looking for $firstname $lastname.
https://github.com/CE-PhoenixCart/Updat ... te.sql#L35
Depending on how you did the update, you might want to look for other changes that you missed. Perhaps this is just the first that you noticed.
https://github.com/CE-PhoenixCart/Updat ... te.sql#L35
Code: Select all
UPDATE address_format SET address_format = REPLACE(address_format, "$firstname $lastname", "$name");Re: First name and last name error
Thanks Guys,
Fresh Install.
Version Checker
Installed Version: CE Phoenix v1.0.8.21
You are running the latest version of CE Phoenix.
I went table by table matching schema.
Imported data table by table.
TY,
Craig
Fresh Install.
Version Checker
Installed Version: CE Phoenix v1.0.8.21
You are running the latest version of CE Phoenix.
I went table by table matching schema.
Imported data table by table.
TY,
Craig
Re: First name and last name error
Php 7.33
The Schema is identical and the first name and last name are in the tables mentioned.
Just the name is missing the address is present:
Craig
The Schema is identical and the first name and last name are in the tables mentioned.
Just the name is missing the address is present:
Craig
Last edited by zpupster on Tue Mar 05, 2024 12:42 am, edited 1 time in total.
Re: First name and last name error
OK,
I could not login with my customer login.
I flushed local and server cache's.
Back at the index page> i received this error.
Warning: array_filter() expects parameter 1 to be array, null given in
customer.php on line 52
Version checker gives Installed Version: CE Phoenix v1.0.8.21
I am out for the evening.
Be back tomorrow to solve this.
Any hints??
Craig
I could not login with my customer login.
I flushed local and server cache's.
Back at the index page> i received this error.
Warning: array_filter() expects parameter 1 to be array, null given in
customer.php on line 52
Version checker gives Installed Version: CE Phoenix v1.0.8.21
I am out for the evening.
Be back tomorrow to solve this.
Any hints??
Craig
Last edited by zpupster on Tue Mar 05, 2024 12:43 am, edited 1 time in total.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: First name and last name error
To be clear, check address_format column data in address_format table in your DB.
If any instances of $firstname $lastname, then it is wrong, run the SQL as previously advised.
Re: First name and last name error
Hello,
heatherbell, burt, ezcart.
TY for the help.
I changed the schema of the address_format table to reflect the advice that you gave.
No more name errors.
Craig
heatherbell, burt, ezcart.
TY for the help.
I changed the schema of the address_format table to reflect the advice that you gave.
No more name errors.
Craig