WordPress.org

Ready to get started?Download WordPress

Forums

WP Retina 2x
[resolved] PHP Error (8 posts)

  1. crashtron
    Member
    Posted 1 year ago #

    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/

  2. Jordy Meow
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. crashtron
    Member
    Posted 1 year ago #

    /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

  4. Jordy Meow
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. crashtron
    Member
    Posted 1 year ago #

    Great to hear! Thanks a lot.

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

  6. Jordy Meow
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  7. crashtron
    Member
    Posted 1 year ago #

    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
  8. Jordy Meow
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, did you have a chance to try again?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic