Hello,
I’ve just completed an installation of MySource Matrix v3.8.3 and all seems to be ok apart from a small problem…
On the first screen, none of the picture icons load up on the Asset Types listing… They appear to be trying to get the images from:
http://matrix/asset_types/authentication/icon.png
and after looking at a correct installation it should be more like
http://matrix/asset_types/authentication/icon.png
Does anyone know why the links are missing “__data” out?? (The __lib links seems to be displaying ok in the code so why not these ones?)…
Thanks in advance for any advice!
Oli
What does your main.inc file have in the SYSTEM_ROOT_URLS setting? Does it match the URL you're using to access the site?
[quote]What does your main.inc file have in the SYSTEM_ROOT_URLS setting? Does it match the URL you’re using to access the site?
[right][post=“11194”]<{POST_SNAPBACK}>[/post][/right][/quote]
Yes, they do definately match… Not sure if this is a related warning but I also get this when creating a design…
MySource Warning
Unable to find an lineage for the URL “/_designs/design_109” [SYS0246]
Hmmmm…
You hadn't set a SYSTEM_ROOT_URL when you installed the site. You need to apply a URL to the Designs Folder.
[quote]You hadn’t set a SYSTEM_ROOT_URL when you installed the site. You need to apply a URL to the Designs Folder.
[right][post=“11219”]<{POST_SNAPBACK}>[/post][/right][/quote]
There is a URL set on the designs folder -> matrix.mydomain.com/_designs
I have access to a working installation of Matrix and when I upload an image to a design, its URL under Web Paths is shown as: http://www.otherdomain.com/__data/assets/image/328/top_banner.gif
On this working installation, the URL set on the designs folder is also “www.otherdomain.com/_designs”
However on my “broken” installation, the same image is listed as:
http://www.otherdomain.com/_designs/design_127/top_banner.gif
Any idea why this is the case?? Obviously my designs aren’t working properly - I get errors like this pumped out in the html “Undefined index: top_banner.gif”
And the images still won’t load on the Asset Listing when you first log in… Hmmm
Oli
Both URL types are correct, based on whether the design is Live with Public Read permission or not. The __data URL is used when the asset is effectively unrestricticed (i.e. is both Live and has Public Read Permission granted). The Matrix URL "/_designs" is used when the asset is restricted in some way.
If you're getting undefined index errors in your design, you need to ensure that the images are uploaded as associated files of the design asset itself (i.e. via the Details screen of the design). This is to ensure that each image is appropriately linked to the design asset.