Plugin files missing

Plugin files missing

โดย Mohamed Hamza Falih -
Number of replies: 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.
การประเมินโดยเฉลี่ย: -
In reply to Mohamed Hamza Falih

Re: Plugin files missing

โดย Gregor McNish -
รูปภาพของ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.
การประเมินโดยเฉลี่ย: -
In reply to Gregor McNish

Re: Plugin files missing

โดย 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.
การประเมินโดยเฉลี่ย:Useful (1)
In reply to Mohamed Hamza Falih

Re: Plugin files missing

โดย Emma Richardson -
รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของ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?
การประเมินโดยเฉลี่ย: -