sandralk Posted December 11, 2004 Posted December 11, 2004 i am getting the following error on my order confirmation page: Warning: htmlspecialchars() expects parameter 1 to be string, array given in c:\program files\easyphp1-7\www\catalog\includes\functions\general.php on line 42 under the Delivery Address section. I have a HEAVILY modded site including both the gift voucher, osc with registry and loyalty discount contribution. with a little work, they were all working together at one point, but unfortunately, they aren't now and i'm getting this message. I've tried going back to the beginning with that page (and with the checkout_shipping.php because the address is disappearing on that page) and i just can't get rid of that message. any thoughts on what it is referring to? like what is the actual error...a file or define that is missing? my php experience is limited to manipulating already written code, but in this case, i'm stumped :wacko:. If you can lead me in the direction of where i need to be looking to fix it, i'd be very grateful :). thanks in advance!
Nirgrantha Posted December 11, 2004 Posted December 11, 2004 I have just got the same problem but haven't tweaked the address page too much. Any help greatly appreciated. Nick
sandralk Posted December 11, 2004 Author Posted December 11, 2004 it seems to be a problem with the way it is calling to the address book?? i've been digging through any and all posts i can find with a similar problem and either the problem wasn't quite the same or the solution didn't work for me. Right now, on the checkout_shipping page, next to the arrow for the delivery address there is no text, just a comma. This is the same section of the order confirmation page that isn't working so the error seems most likely to be with that function. Unfortunately, i have no idea what to do to fix it, or how it might have broken in the first place since i haven't made any changes to those functions since installing the 3 contributions listed above, and it worked after that.
sandralk Posted December 12, 2004 Author Posted December 12, 2004 well, i just did a clean install of the osc with registry version and tied it to the database that is attached to the site that is not working, and all is still functioning correctly, which leads me to believe that it is not a database issue. I have gone through all the mods i've put on since the beginning to try and determine what might have broken it, but i can't find anything. Unfortunately i'm not even sure where it may have happened so i can't even compare files from the new and old installs to see if i can find it. if anyone has any idea what files i should look at that would break this query to the database (or i assume that is what is happening) I would love the direction. Short of comparing every single file or starting from scratch, i really have no idea what to do here. thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.