• Resolved eugleong

    (@eugleong)


    I tried reinstalling but I keep getting this error:

    Warning: rename(example.com/ab1-1900×1900.jpg,example.com/ab1.jpg) [function.rename]: File exists in example.com\wp-content\plugins\imsanity\imsanity.php on line 67

    Warning: Cannot modify header information – headers already sent by (output started at example.com\wp-content\plugins\imsanity\imsanity.php:67) in example.com\wp-includes\pluggable.php on line 897

    http://wordpress.org/extend/plugins/imsanity/

Viewing 5 replies - 1 through 5 (of 5 total)
  • what version of php you are running?

    Thread Starter eugleong

    (@eugleong)

    I’m running 5.2.3.

    strange, your version of php is not behaving the same as I would expect. try this if you feel comfortable. In the /wp-content/plugins/imsanity folder locate and edit the file ‘imsanity.php’

    At line 67 it should look like this:

    rename($newPath, $oldPath);

    Add a new statement above that so it looks like this:

    unlink($oldPath);
    rename($newPath, $oldPath);

    If this works then I’ll add it to the next update.

    Thread Starter eugleong

    (@eugleong)

    It works perfect! Thanks so much Jason! Awesome plugin.

    this fix was added in version 2.0.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Imsanity] "File exists" error when using plugin’ is closed to new replies.