1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Image Upload error

Discussion in 'General Troubleshooting' started by otester, Apr 14, 2012.

  1. otester

    otester New Member

    If I upload an image and then click next on the submit 2/3 I get...

    Notice: unserialize() [function.unserialize]: Error at offset 388 of 389 bytes in /home/getsmash/public_html/hotaru/content/plugins/submit/libs/SubmitFunctions.php on line 296
    According to [http://drupal.org/node/529866], unserializing a resource (image?) can cause problems, any ideas?
  2. otester

    otester New Member

  3. PuckRobin

    PuckRobin New Member

    Some server installations add slashes to quotes while serializing, which is wrong. Instead of those complex advices, just change that part in line 296 as:

    return unserialize(stripslashes($submitted_data));
  4. otester

    otester New Member

    Problem I have at the moment is when the image is posted (x = website name, hover with mouse to see full url):


    instead of:


Share This Page