Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checkout_confirmation error


Madinson

Recommended Posts

Posted

Hi there I changes a lot at my shop...hm,

there I use the contribution buy with one click..and so on.

 

Now I' m next to the finish, but I can't remove this error at the checkout_confirmation.php:

 

 

Rechnungsadresse (Bearbeiten)

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Zahlungsweise (Bearbeiten)

Bezahlen ?ber Telefon

just create...and sell..sell...sell.....

Posted

on the order confirmation page i get following error message in the delivery adress field:

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/chs/misdns.net/home/html/billy-baroo/catalog/includes/functions/general.php on line 42

 

does anybody know what is wrong or what do i have to change

thanks in advance

tom

 

ps: billing and delivery address on the page before only had a "," and when i changes the address everything was fine. (the matter is that we changed to 2.2 ms2 from older version and maybe it is other version for address book??

Posted

Change the following code in checkout_shipping.php:

 

if (!tep_session_is_registered('sendto')) {

    tep_session_register('sendto');

    $sendto = $customer_default_address_id;

  } else {

 

to:

 

if (!tep_session_is_registered('sendto')) {

    $sendto = $customer_default_address_id;

    tep_session_register('sendto');

  } else {

 

Change following code in checkout_payment.php:

 

if (!tep_session_is_registered('billto')) {

    tep_session_register('billto');

    $billto = $customer_default_address_id;

  } else {

 

To:

 

if (!tep_session_is_registered('billto')) {

    $billto = $customer_default_address_id;

      tep_session_register('billto');

  } else {

Posted

that is not working for my problem.

 

in checkout_shipping and checkout_payment i still get no address, only a ',' and on checkout_confirmation the warning message above mentioned shows up. but i saw that this is only for the old addresses and customers we imported from the old database. for new registered it works.

any help?

thanks

Posted

Have you imported customers addresses from MS1 database? If yes, have you upgraded the data to MS2?

Posted

How did you upgraded to MS2?

 

Did you just installed MS2 and then import the old datbase into MS2 version?

 

Or you have run the upgrade file (ms1_to_ms2.php) on your old database?

Posted

ok, i just found in the knowledge base the upgrade files are located in extra folder in the shop. will try my best, but probablly i'm back to the forum soon.

is the upgrade file working as well with alteres and modified files form ms1?

Posted

No.

 

Upgrade only replaces tye old files with new MS2 files and upgrade the database structure and data inside the old MS1 database.

Posted

ok, thank you for help :thumbsup: . i think i just did a mistake upgrading the ms2 db instead of ms1 and then passing it into new db. so now i start over again as all files are mixed up. :angry:

rgds

Posted

I had the same problem with this warning:

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Have you made any changes to the Countries or Address Book databases? In my case, I had deleted a bunch of the Countries, and I got that error message when I tried to check-out with a current account. I was able to fix it by going to my countries database and changing the United States countries_id to 1, then in the address_book database changing the entry_country_id for all of the customers to 1, also.

 

I hopes this helps!

  • 3 weeks later...
Posted
I had the same problem with this warning:

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Have you made any changes to the Countries or Address Book databases? In my case, I had deleted a bunch of the Countries, and I got that error message when I tried to check-out with a current account. I was able to fix it by going to my countries database and changing the United States countries_id to 1, then in the address_book database changing the entry_country_id for all of the customers to 1, also.

 

I hopes this helps!

 

You are brilliant. Thanx!

  • 3 weeks later...
Posted

I have the same problem, if I go back (edit) and re- select an account under billing everything works again and the error is gone.

 

Any help would be great!

 

Hi there I changes a lot  at my shop...hm,

there I use the contribution  buy with one click..and so on.

 

Now I' m next to the finish, but I can't remove this error at the checkout_confirmation.php:

Rechnungsadresse (Bearbeiten)

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /is/htdocs/55555/www.shop.de/catalog/includes/functions/general.php on line 42

 

Zahlungsweise (Bearbeiten)

Bezahlen ?ber Telefon

Archived

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

×
×
  • Create New...