• Resolved Rhand

    (@rhand)


    I am having a problem displaying Shopp product images. They are stored as files in settings > system of the Shopp plugin. But the path there – /absolute/path/domain.com/wp-content/uploads/shopp/images/, which is correct, is not the same as the path that is printed on the page. The path to the thumbnails is incorrect – domain.com/shop/images/100/image-name.jpg?96,96,507122787. But I cannot figure out where that path is stored. In shopp_meta I cannot find such a path, only a reference to the settings under system like:

    O:8:"stdClass":10:
    {s:4:"mime";s:10:"image/jpeg";s:4:"size";s:4:"8332";s:7:"storage";s:9:"FSStorage";s:3:"uri";s:22:"IMG_1552_1-300x191.jpg";s:8:"filename";s:22:"IMG_1552_1-300x191.jpg";s:5:"width";s:3:"300";s:6:"height";s:3:"191";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:8:"settings";s:0:"";}

    , which are fine. So where else could Shopp store paths to images? Anybody here any idea?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Rhand

    (@rhand)

    Still investigating this. No luck yet. I am also considering alternative e-commerce solutions as Shopp seems to be less convenient than earlier thought. Has anybody here run into this issue with the Shopp shopping cart plugin?

    Thread Starter Rhand

    (@rhand)

    Perhaps it is related to this .htaccess line

    RewriteRule ^.*shop/images/(\d+)/?\??(.*)$ /wp-content/plugins/shopp/core/image.php?siid=$1&$2 [QSA,L]
    Thread Starter Rhand

    (@rhand)

    Well I got some help on MacPorts from Brandon and I do know now the RewriteRule means that any URL which contains "shop/images/(\d+)/?\??" gets everything through that pattern rewritten to
    "/wp-content/plugins/shopp/core/image.php?siid=$1&". ($2 just copies
    through the rest of the request string.) So it’s redirecting image requests within the shop to its image handler. I imagine this is a standard addition done by Shopp. Not sure yet if it is mandatory or was perhaps needed during a previous version and not anymore now.

    Thread Starter Rhand

    (@rhand)

    Well Shopp added image path is OK as well the rest in the .htaccess, but the thumbnail path issue is still not resolved and have not had a solution from Shopp yet. We will have to continue debugging.

    Thread Starter Rhand

    (@rhand)

    Solved it. In wp-config.php there was a superfluous space in one of the definitions which WordPress was able to handle, but Shopp couldn’t.

    When you resolved this, where was the space? I am also having bizarre image related problems….

    Thread Starter Rhand

    (@rhand)

    DB_USER had a superfluous space after define which caused Shopp trouble.

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