Sorry, but this is not solved at all^^, big time issues since upgrade to revo 2.1.1pl (traditional) and gallery 1.2.1pl...I only messed around with one installation (got 503 errors all the time...catastrophic...worse than no images shown =D) and try now to reconstruct it with the "untouched" installation which has 2.1.1pl and gallery 1.2.0rc1 which worked properly before the update to 2.1.1pl...I’ll try it step by step and document it here. Hope it helps...
I know it’s a combination of these both versions because I had gallery v1.2.0rc1 working properly in a 2.0.8 and a 2.1.0 (not 100% sure about that one...don’t know what version it really was before upgrading to 2.1.1, but it was a more recent one...) image thumbnails are not shown in either frontend or backend, just the following:
Frontend:
Backend:
Obviously there’s nothing nothing shown at all...I googled, found this
https://github.com/splittingred/Gallery/issues/97 at GitHub, commented because that was an issue before the update to 2.1.1...
I had a look at the frontend code with firebug, got the source of one of the not shown thumbs and just entered it in the browser address bar like this:
http://www.domain.tld/assets/components/gallery/connector.php?action=web/phpthumb&w=130&h=130&zc=1&far=C&q=85&src=%2Fassets%2Fsite%2Fmedia%2Fmedia.gallery%2F7%2F91.jpg
the result was (sorry for the german...means "Access denied" =D):
{"success":false,"message":"Zugriff verweigert.","total":0,"data":[],"object":[]}
i thought...ok...this must be something about the paths, phpthumb didn’t even show up^^...so I found this thread and tried a bit around after reading the above posts...I started on the phpthumb thing because it affects both back- and frontend, just no more thumbnails...so there must be something wrong.
In the system settings under "gallery" I found those:
had a look at the assets/components/ folder but there’s nothing like /phpthumb/ ...why is this path like that...can’t explain it...there’s nothing to find^^? I know that there is a phpthumb folder in /core/model/phpthumb/ so I pointed the path to this folder...now it looked like that:
but sadly this didn’t have any effect, I then tried the phpthumb_document_root setting mentioned above (found under core > phpthumb) and set the document root like this (I didn’t have much hope on this...paths work fine for all my modx sites on this host and this isn’t even a multi-context setup):
Cleared CMF / Browser cache / Cleared sessions and reloaded the page...no change in the frontend nor in the backend. This no-images-displayed problem affects the thumbs and the linked images...both because of the dependance from phpthumb.
That was the end of the story for that page (with gallery 1.2.0rc1 installed), didn’t see any alternatives to use phpthumb in this scenario =/...
While writing this, something strange happened to the other page with gallery 1.2.1pl installed (and some settings corrected/changed)...I now have images and thumbnails, but it’s painfully slow until they are in the cache (I had several 503 errors (out of capacity with brand new server hardware...upgraded yesterday^^) because of this and I know where it comes from... When I did the same setting changes as above, I recieved the debug messages from phpthumb (so there the changed settings had an effect...) but it threw an error because of "outside of root" line 1066 in phpthumb.class.php or something like that (sorry, don’t want to reproduce it right now because all the caching took hours...I’ll update later with the 1.2.0rc1 page). Because of that, I changed the system setting under core > phpthumb "phpthumb_allow_src_above_docroot" from "No"/false to "Yes"/true...after I did this, the whole 503 error thing began, but I also recieved slowly thumbnails and images, one by one^^...like 1996 with a 37k modem =)...this is not acceptable in the long run, but it’s better than angry customers with no images (and I just can’t clear the CMF cache anymore...for now).
If you can, plz digg into this problem shaun, I/we would really appreciate that, if you need more infos, I’ll try to post them here!
thanks in advance and keep up the good work with gallery, love this snippet when it works like expected =)