Repositories are not showing

Repositories are not showing

by J R -
Number of replies: 11

Hi,

I have been trying to resolve my repository issue for quite long. I used to run Moodle 2.1.1 and due some error my file picker and repositories are gone. I have upgraded Moodle to 2.2.2 thinkin this will solve the issue but it did not. When I try to add a file I am getting an error. See attached...

My file picker is empty.

Please help.

Attachment Screen Shot 2012-04-30 at 2.23.19 PM.png
Average of ratings: -
In reply to J R

Re: Repositories are not showing

by Ken Task -
Picture of Particularly helpful Moodlers

The image/screen shot posted is too small to read the error - even enlarging the image (which only garbles it more).  Please highlight with mouse the error text and copy to clipboard.  Paste into something like TextEdit - change format to text (not rich text).

Then repost using the text of the error (copy and paste from the text document saved in TextEdit).

'spirit of sharing', Ken

In reply to J R

Re: Repositories are not showing

by Ken Task -
Picture of Particularly helpful Moodlers

Google search for the error reported:

[Exception... "An invalid or illegal string was specified"  code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"

hits on several links:

http://bit.ly/Kt9xVE

Appears to be a FireFox issue as it's reported by several users using different apps that have some javascript - same error reported. 

Suggest upgrading Firefox first, then TIA (try it again!).

'spirit of sharing', Ken

In reply to Ken Task

Re: Repositories are not showing

by J R -

Hi,

When I use Safari I get this error "Error: INVALID_STATE_ERR: DOM Exception 11

Besides once I click ok and choose add file I get an empty file picker

See attached pic

 

Attachment Screen Shot 2012-04-27 at 11.21.22 AM.png
In reply to J R

Re: Repositories are not showing

by Ken Task -
Picture of Particularly helpful Moodlers

Not a browser expert, but appears it's a browser issue … assuming there are no issues with Moodle 2 version.  Might help to disclose details as to your setup ... Moodle version is?  Remotely hosted?  IF remotely hosted, what provider?

Got latest Safari?

Check Safari settings for Security:
Enabled Java and Javascript?
If not enabled, then enable … TIA (try it again).

Still having problems? Then in Safari, go to Preferences and activate the Developer menu.
Advanced: Show Development menu in bar

Then go to Develop > Start Debugging JavaScript. Use the pause icon in the lower left to set the debugger to pause on errors. The next time you hit the problem the debugger will pause at the offending line and show you how it got there through the stack trace.

Can you install/use FireFox?

'spirit of sharing', Ken

In reply to Ken Task

Re: Repositories are not showing

by J R -

I dont think this is a browser issue because I am using the latest version of safari, ie and firefox. Besides, I have testing Moodle site that works perfectly fine. Both sites are hosted in house on the same server.

Any advice I greatly appreciate.

In reply to J R

Re: Repositories are not showing

by Ken Task -
Picture of Particularly helpful Moodlers

Given new information (two instances on same server - one working one not), suggest looking into the Moodle instance NOT working for permissions on files and compare with the Moodle instance that is working.  Even the files themselves ... all there?

'spirit of sharing', Ken

In reply to Ken Task

Re: Repositories are not showing

by J R -

Hi,

We compared all folders and persmissions on both instances but everything is the same. I am not sure what else I could do. Teachers are using the site and I need to fix it. Any other ideas?????

In reply to J R

Re: Repositories are not showing

by Ken Task -
Picture of Particularly helpful Moodlers

Did this problem occur right after upgrading from 2.1 to 2.2?

Mind disclosing how you upgraded the non-working site?

Would really help to know some more specifics concerning server:

remotely hosted or not?  Operating system? (windows/linux - if linux what distro), etc.

Reason: if it were a linux server (CentOS/RHEL flavored), I'd tell you to check the apache error logs located in /var/log/httpd/error_log for clues as to the problem.

What are the contents of moodledata/repository folder?

Repo settings in Moodle checked?  Got a course Repo button?

'spirit of sharing', Ken