Keyword

File path error

  • Red Evolution
  • Red Evolution's Avatar Topic Author
  • Offline
  • Premium Member
More
5 months 2 weeks ago #174900 by Red Evolution
File path error was created by Red Evolution
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

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 months 2 weeks ago #174911 by Fotis
Replied by Fotis on topic File path error
Remove the entire "/media/k2/assets/" folder and re-install K2 to re-insert the files.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Red Evolution
  • Red Evolution's Avatar Topic Author
  • Offline
  • Premium Member
More
5 months 2 weeks ago #174933 by Red Evolution
Replied by Red Evolution on topic File path error
That appears to have worked perfectly. Thanks Fotis

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 months 1 week ago #174948 by Fotis
Replied by Fotis on topic File path error
You're welcome.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum