Plugin files missing

Plugin files missing

av Mohamed Hamza Falih -
Antall svar: 4
Hello everyone,

I hope you are all doing great.

I am using a 4.3+ Moodle version hosted locally on my computer using WAMP.

I wanted to upgrade a self-developped plugin by adding some images (png files in the pix folder of the plugin).

However, after installing the plugin, I noticed that the server couldn't find those images (The requested URL was not found on this server)  even though they are clearly there if I navigate in the files of my installed plugin in the Moodle directory.

Can you please help me solve this problem ?

I am available if further information is needed to investigate.

Thanks in advance.
Gjennomsnittlig vurdering: -
Som svar til Mohamed Hamza Falih

Re: Plugin files missing

av Gregor McNish -
Bilde av Particularly helpful Moodlers
You might try clearing caches? Especially if the images are coming in with javascript.
I’d use the browser development tools to see the url which is trying to load the image, and make sure it works there.
Som svar til Gregor McNish

Re: Plugin files missing

av Mohamed Hamza Falih -
Hello,
First of all, thank you for your answer.
I tried clearing Moodle cache and even the browser cache but it didn't solve anything (the new images I added in the pix folder of the plugin I installed were still not found by the server). The images are indeed being called up with JavaScript.
The URLs are correct, it's just that the server can't find them.
Gjennomsnittlig vurdering:Useful (1)
Som svar til Mohamed Hamza Falih

Re: Plugin files missing

av Emma Richardson -
Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Plugin developers
I would check permissions on your plugin folders - are the folders and files owned by webserver and does the webserver have read/execute permissions?