Pablos Posted June 26, 2018 Share Posted June 26, 2018 I'm developing a digital asset management system and using pagefileSecure to protect my assets folder. Thumbnail images are loaded on my main page via ajax. The source pages have repeaters for images each of which includes its own nested repeater for image variations (eg a version of the parent image with a bluer sky). If I log in as any role other than superuser, the nested images fail to load with a 404 error. If I turn off pagefileSecure, the images load for all users. I'm using Processwire 3.0.98 and PHP 7.1.18 Does anyone know if there's a way to get nested repeater images to load with pagefileSecure on, or do I need to have a rethink? Thanks! Link to comment Share on other sites More sharing options...
Robin S Posted June 27, 2018 Share Posted June 27, 2018 I haven't needed to use pagefileSecure before, but it sounds to me like a permissions bug relating to the fact that non-superusers have limited access to repeater pages. There have been a few such issues in the past. Unless someone chimes in with a solution I suggest raising a issue in the GitHub repo: https://github.com/processwire/processwire-issues/issues Link to comment Share on other sites More sharing options...
Pablos Posted June 27, 2018 Author Share Posted June 27, 2018 Thanks for that Robin. I left a comment on an existing issue. https://github.com/ryancramerdesign/ProcessWire/issues/356#issuecomment-400594374 Looks like I'll have to approach my variation images another way. Link to comment Share on other sites More sharing options...
cstevensjr Posted June 27, 2018 Share Posted June 27, 2018 6 minutes ago, Pablos said: Thanks for that Robin. I left a comment on an existing issue. https://github.com/ryancramerdesign/ProcessWire/issues/356#issuecomment-400594374 Looks like I'll have to approach my variation images another way. As stated by @Robin S, you will need to open an issue at the current ProcessWire Version 3.x Github Repo at: https://github.com/processwire/processwire-issues/issues The Github repo where you left a comment at is not for the current 3.x version of ProcessWire. Link to comment Share on other sites More sharing options...
Pablos Posted June 27, 2018 Author Share Posted June 27, 2018 Sorry about that - I've now opened an issue on the current repo. https://github.com/processwire/processwire-issues/issues/625 2 Link to comment Share on other sites More sharing options...
netcarver Posted July 2, 2018 Share Posted July 2, 2018 @Pablos I've added to your issue as even avatar images under the Reno theme fail to display when pagefileSecure is true. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now