Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What does this code mean?


LisaC

Recommended Posts

I had a friend test my store and when she went through the registration and went to checkout and it gave her this message.

 

Billing Address (Edit)

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/ljgdesi/public_html/catalog/includes/functions/general.php on line 42

 

I went into line 42 on this file and the only thing there was this }

 

 

Can anyone tell me what this means and how I would fix it?

Link to comment
Share on other sites

Bumping this up because I have not yet had a reply.

 

 

I had a friend test my store and when she went through the registration and went to checkout and it gave her this message.

 

Billing Address (Edit)

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/ljgdesi/public_html/catalog/includes/functions/general.php on line 42

 

I went into line 42 on this file and the only thing there was this }

Can anyone tell me what this means and how I would fix it?

Link to comment
Share on other sites

It means somewhere in the lines above this, you have a syntax error. If you changed anything in this file, undo those changes, test it, then try to reinstall the modifications.

 

You probably missed either a ' or a ; somewhere. From what you posted, there isn't any way to know where.

 

Dan

 

 

Bumping this up because I have not yet had a reply.

Dan Stevens

Link to comment
Share on other sites

Hmmmm ok thanks for answering Dan.

I went and looked and I don't see any errors. I never edited the page to begin with. I installed a module from the OS site and all of a sudden this happened. I think it's resolved now.

Thanks again.

 

It means somewhere in the lines above this, you have a syntax error. If you changed anything in this file, undo those changes, test it, then try to reinstall the modifications.

 

You probably missed either a ' or a ; somewhere. From what you posted, there isn't any way to know where.

 

Dan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...