Hi Fotis,
Just come across a file path error when adding images in to extra fields.
In the backend, when you add an image, you can press the 'Select' button to view it in a popup which worked fine on our local development. When we pushed it to our dev server and live server though, this stopped working and produced a 503 error. After some investigation I discovered it was a problem with a file path. To load various css and js files to process this, the code was trying to access the 'elfinder' folder, for example:
/media/k2/assets/vendors/studio-42/elfinder/js/elfinder.min.js
/media/k2/assets/vendors/studio-42/elfinder/css/theme.css
However it was unable to find these files. When I went into the file structure, I found that the folder was actually called 'elFinder' (note the capital 'F'). We are checking with our server guy if he can tweak the server to allow for it to treat uppercase and lowercase letters the same as a quick fix but I feel this is probably something that would need to be tidied up in the code too.
Thanks,
Dave
Just come across a file path error when adding images in to extra fields.
In the backend, when you add an image, you can press the 'Select' button to view it in a popup which worked fine on our local development. When we pushed it to our dev server and live server though, this stopped working and produced a 503 error. After some investigation I discovered it was a problem with a file path. To load various css and js files to process this, the code was trying to access the 'elfinder' folder, for example:
/media/k2/assets/vendors/studio-42/elfinder/js/elfinder.min.js
/media/k2/assets/vendors/studio-42/elfinder/css/theme.css
However it was unable to find these files. When I went into the file structure, I found that the folder was actually called 'elFinder' (note the capital 'F'). We are checking with our server guy if he can tweak the server to allow for it to treat uppercase and lowercase letters the same as a quick fix but I feel this is probably something that would need to be tidied up in the code too.
Thanks,
Dave