Forum
My assets aren't linking correctly
Hey guys!
I've not been able to use the assets section since upgrading to 2.8. I can upload assets and Perch is registering them.. here's my assets page
https://cl.ly/image/372x3l0W3J27
However, you'll see they're broken images. The url for these images appear to be: - https://mrqwest.co.uk/perch/mrqwest/resources/westfieldcdn.jpg
this is a bad url. there isn't a 'mrqwest' directory within my perch folder. So if I remove that from the URL, the image works!
My question is, what have I done to have a broken resources URL?
Could we see your Diagnostics Report please, and a template where this happens.
Sure. Diagnostics report below. This is part of the Perch dashboard, so I'm unsure what template you'll need?
I won't post the full advanced diagnostics but I did note the following:
That appears to be the offending value... or at least I think it is!
Yes, you have a subfolder in there, so what Perch is doing is correct, it is creating the path with the subfolder in it.
Thanks Rachel, but surely the PERCH_RESPATH should be /perch/resources?
Can you tell me where I need to go to adjust that PERCH_RESPATH value?
Ignore me! Found it in
config.php
:) Thanks for your help Rachel.