Jump to content

slashes everywhere


Guest klassicd

Recommended Posts

Guest klassicd

I just updated cubecart to version 3.02 when I ran into a weird error. I recieved this when I went to my homepage

Warning: Invalid argument supplied for foreach() in /var/www/html/dollhouse/includes/functions.inc.php on line 47

I went into functions.inc.php and changed this

$base64Encoded = unserialize($result[0]['array']);




To




$base64Encoded = stripslashes($result[0]['array']);

  

$base64Encoded = unserialize($base64Encoded);

But now my homepage appears with slashes before each double quote. YOu can see an example here: http://mikedepetrillo.com/dollhouse/. This is messing up the design big time. Anyone have any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...