Can't see my files in repository folders

Can't see my files in repository folders

'mei a Kate Rhodes - 'aho
Number of replies: 6

Hi I hope I can explain this clearly enough to get some help...

To start I'm using Moodle 2.0.2

I have a series of folders in my repository, located inside the moodledata folder.

I've uploaded via FTP a series of images for a lesson I'm working on. So for example I have a folder in: moodledata/repositories/supervisor courses/A&Djpegs  (the A&Djpegs is where I ftp'd the images to)

Here's the problem. When I use the 'insert image' button in the tool bar to insert my image, the file picker comes up, I navigate to my 'supervisor courses' folder in the repository, but it doesn't offer me any images. It says there's nothing available.

 

If I go to cPanel, I can verify the images are there.  I've asked my webhosting support to look into it and they say it's the '.htaccess' file in the moodledata folder - It's not allowng access to the repository. Here's what the '.htaccess' file says:

deny from all
AllowOverride None
Note: this file is broken intentionally, we do not want anybody to undo it in subdirectory!

 

I have other moodle sites that have the same .htaccess file in them and none of them have this problem, so why I am having this problem now?

I'm not that technical but your help will be really really appreciated!

Thank you tons.

Kate


Average of ratings: -
In reply to Kate Rhodes

Re: Can't see my files in repository folders

'mei a Hartmut Scherer - 'aho

Hi Kate,

I can't say anything regarding the .htaccess file. Were you able to setup a repository instance in Site administration -> Plugins -> Repositories -> File system?

With kind regards,

Hartmut

In reply to Kate Rhodes

Re: Can't see my files in repository folders

'mei a Derek Chirnside - 'aho

I'm seeing no files in the Server Files Repo, except for a few files at server level.

Moodle 2.2 (Build: 20111205)

In reply to Derek Chirnside

Re: Can't see my files in repository folders

'mei a Mary Cooch - 'aho
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

ohhh.... I don't either - except for a couple on front page on my own 2.2 Anyone else experience this? Either we two have made a mistake or something is wrong..

In reply to Derek Chirnside

Re: Can't see my files in repository folders

'mei a Derek Chirnside - 'aho

OK, progress of sorts.

After a bit of random clicking arund, the icon view worked, but the list view still does not show any more links.

Any suggestions?

-Derek

In reply to Derek Chirnside

Re: Can't see my files in repository folders

'mei a Catherine Berry - 'aho

I was having a similar problem, that I couldn't see some images in repository folders when I tried to insert an image. If I did 'Link to a file' they did however appear in the file picker.

I realised that the ones that weren't appearing were those with a .JPG extension, rather than a .jpg extension. When I changed the extension to lower case, they appeared as expected.

My colleague who knows about php installations tells me that it may be to do with the php setup, and she should be able to change it so that it ignores the difference between upper and lower case.

Hope this helps.

In reply to Catherine Berry

Re: Can't see my files in repository folders

'mei a Kate Rhodes - 'aho

I know I it's probably a little late, but figured out my problem was the same as Catherine's.

If I ftp'd files to my repository that had upper case extensions like .JPG then didn't appear in the repository. Once I changed them all to lower case they appear just fine.

 

I hope that steers people in the right direction!