Hi All
I installed a fresh installation on matrix on my server the other day and it went fairly well, everyting seemed to work. However after a bit more of a play i found a few url paths to icons and some javascript files where incorrect - they were missing the __data/ part of the url path.
For example, i have the browser trying to display the image http://myurl.com/asset_types/root_user/icon.png when the path should be http://myurl.com/__data/asset_types/root_user/icon.png
After the install, on of my friends installed a new design file (tar.gz). Would this have anything to do with it?
Any help much appreciated
Cheers
Will
__data path missing in some image and javascript URL's
[quote]
Hi All
I installed a fresh installation on matrix on my server the other day and it went fairly well, everyting seemed to work. However after a bit more of a play i found a few url paths to icons and some javascript files where incorrect - they were missing the __data/ part of the url path.
For example, i have the browser trying to display the image http://myurl.com/asset_types/root_user/icon.png when the path should be http://myurl.com/__data/asset_types/root_user/icon.png
After the install, on of my friends installed a new design file (tar.gz). Would this have anything to do with it?
Any help much appreciated
Cheers
Will
[/quote]
Sounds a bit strange.
I assume this is in _admin somewhere?
If so which screen are you actually seeing it on?
What version of Matrix?
GPL or SSV?
[quote]
Hi All
I installed a fresh installation on matrix on my server the other day and it went fairly well, everyting seemed to work. However after a bit more of a play i found a few url paths to icons and some javascript files where incorrect - they were missing the __data/ part of the url path.
For example, i have the browser trying to display the image http://myurl.com/asset_types/root_user/icon.png when the path should be http://myurl.com/asset_types/root_user/icon.png
After the install, on of my friends installed a new design file (tar.gz). Would this have anything to do with it?
Any help much appreciated
Cheers
Will
[/quote]
Are you talking about assets or actual files that Matrix uses?
If you are talking assets, the assets should be live and public read to get the data urls.
If you are talking files, then they probably should be __lib addresses and it would imply if they are not working that apache is not configured correctly (specifically the apache aliases)
HTH
[quote]
Are you talking about assets or actual files that Matrix uses?
If you are talking assets, the assets should be live and public read to get the data urls.
If you are talking files, then they probably should be __lib addresses and it would imply if they are not working that apache is not configured correctly (specifically the apache aliases)
HTH
[/quote]
As far as I'm aware Matrix only interprets it's paths based on whichever alias is currently hitting the core/web/index.php file (there can be more than one alias to that file, but only the one that is in use in this thread effects the paths matrix serves).
The URL Will gave is normally served via /__data/asset_types/root_user/icon.png and can be found amongst other places on the Asset Tree inside _admin but I want to confirm exactly where it's visible to work out if it's a bug or not.