Support » Plugin: WP Retina 2x » PHP Error

  • Resolved crashtron

    (@crashtron)


    Hello,

    thanks for the great plugin. Unfortunately, I get the following PHP error.

    [Tue Nov 27 18:07:03 2012] [error] [client xx ] PHP Warning:  getimagesize(/is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content/uploads//is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content/uploads/2012/11/smartcover-aktuell5.jpg): failed to open stream: No such file or directory in /is/htdocs/wp1005188_JGINO5P2OW/gdgts.de/wp-content/plugins/wp-retina-2x/wr2x_vt_resize.php on line 11, referer: http://gdgts.de/wp-admin/upload.php?page=wp-retina-2x&view=issues

    I could see that the directory that get passed to getimagesize is somehow doubled. Perhaps someone could help me with this.

    Thanks
    crash

    http://wordpress.org/extend/plugins/wp-retina-2x/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Strange issue, I never got it. May I ask why your upload folder is so odd and long? Is really the file at this emplacement?

    /is/htdocs/wp1005188_JGINO5P2OW/

    This first part is set by my hoster. It is the directory where my files are in the webserver’s file system.

    The rest is for my blog domain (I host more than one on the server) and the default WordPress structure.

    Perhaps the error has something to do with my variable definition in the wp-config.php

    define("WP_CONTENT_URL", "http://domain.com/wp-content");
    define("WP_CONTENT_DIR", "/is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content");

    Perhaps you could fix this with the next release.

    Thanks a lot

    Plugin Author Jordy Meow

    (@tigroumeow)

    It’s clearly related to that. Okay, I understand the issue and I can provide a fix to this. It’s not major so I will provide a fix only for the next release.

    Great to hear! Thanks a lot.

    On question: Could I use W3 Total Cache with CDN and the server side method of WP Retina?

    Plugin Author Jordy Meow

    (@tigroumeow)

    No problem with the client-side but… for the server-side I doubt it, you probably need to tweak W3 Total Cache options for that (which is probably easy to do). Spend one hour working on it and it will work I think!

    Hi Jordy,

    did one of the new version should fix the error?

    Today I gave the plugin a new chance and I get this error:

    [Sat Dec 22 15:02:09 2012] [error] [client 37.201.7.58] PHP Fatal error:  Call to undefined method WP_Error::resize() in /is/htdocs/my_home_dir/mydomain.de/wp-content/plugins/wp-retina-2x/wr2x_vt_resize.php on line 20, referer: http://mydomain.de/wp-admin/upload.php?page=wp-retina-2x&view=issues&refresh=true
    Plugin Author Jordy Meow

    (@tigroumeow)

    Sorry, did you have a chance to try again?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Error’ is closed to new replies.