Actually... something very similar. One of my instructors added a resource and all the links disappeared. Rather interesting and perplexing problem. Never did solve the puzzle though - his resources were all uploaded files so I ended up creating a new course. I ran a backup of the old course uploaded files and users and restored them to the new one, then recreated the resources. Worked like a charm when it was finished but we still have no clue what happened or why.
Large courses with lots of resources, especially lots of popup resources, may hit the limit and cause these kind of display problems.
However, I don't think this is the problem in Art's case this time. One possibility is that there is a wierd character somewhere in one of his resources.
You are a lifesaver.
My assistant was uploading some resources to our document repository, hosted in a moodle course, and came running to me in a panic just now, because all of the resource descriptions, label text, etc, had disappeared. This happened after a file upload, but before the resource was added.
I carried out your database mod as suggested above and everything reappeared.
Phew!
Further proof that this Moodle community is a wonderful resource itself!
This is a course with 18 topics, and (at the time of writing) 306 uploaded file resources, plus about 380 users.
Oxford Beardie
I'm building a course and currently have 10 topics, 12 Forums and 136 pop-up resources. I added a resource and all the resource links disappeared. This course will ultimately have around 300 pop-up resources.
->All of the resources still exist but the links aren't visible
->I can delete one link and links re-appear so 135 pop-ups seems to be the limit
->Adding a link to bring the total back to 136 makes them all disappear
->I've changed to "LONGTEXT" as suggested above but nojoy there.
->I've tried to modify info in a previously visible resource to force re-generation but nojoy.
->I've done a successful backup/restore but nojoy.
->I've spent some time with the MySQL documentation but...
I don't know what to change in MySQL to allow more pop-up resources. Can anyone point me in the right direction?
Is it possible to have 300, or more, pop-up resources in one course or should I segment this course to avoid this issue?
Thanks for any help,
John
I had a similar problem once and "The Amazing Martin" figured out the problem for me. The two main problems were just as you suspect: The course was just too darned big and the pop-ups were resource-hogs. I'll bet splitting up the course will, indeed, solve your problem.
Best regards,
Art Lader
Aiken High School
Best of the holidays to you and yours.
I'd really like to keep al the links on the same page as it is a large collection of international weathercams broken down by region, this works perfectly. Each region contains a forum specific to that region. I'll re-think the layout though. Maybe it'll work better if I split them up. Maybe I'll be forced to.
Unfortunately since I posted my first inquiry above I believe I have completely destroyed my entire database for the site. I hope that's not the case as I've spent approximately 80 hours finding, pre-viewing, rating and entering them as resources. I'm optimistic that I'll recover them somehow owing to the wonders of technology I think I can, I think I can, I think I can...
I'll try and figure out what happened and inform you of the outcome
John
I am sure that you will be able to find your DB. I will be here thinking positive thoughts.
Maybe there is a DB pro out there who will lend a hand.
Good luck,
Art Lader
The courses appear to still be in the DB according to the respective creation dates.
Now I just have to figure out the rest. I think I can, I think I can, I know I can
After poking around in the database I'm pretty sure I'm going to be regretting not taking the time to do regular backups of my site and my DB as I'm quite certain that I"ve wiped out the whole shebang. Ouch! All users and user data appears to be gone. I will be doing some learning before I mess around with this stuff again to be sure. Live and learn...
Great site John. The structure is indeed verry good. There's no need to put all of them in one course. Can I give the URL to a collegue of mine who is interested a lot in weather?
I have another nice weathercam from the Belgian coast with a lot of data and graphs for you: http://aanzee.be/ Enjoy
Thanks also for the link, that's a great resource, lots of info and an excellent view from that cam! I've titled your link The Belgian Coast and it's in the site now.
Yes, by all means, give it to everyone! I call the site International Weather and I've registered the site with Moodle also. I think many people have an interest in the weather and I want to build them the best weather site in the world.
Thanks again Koen
I saw this in one of the threads and it worked for me...
Jeff Thomas - Thursday, 11 December 2003, 05:23 AM |
"............I was getting the old dreaded (errno: 145) and when looking the _course_sections table in phpMyAdmin it showed it "in use".
I went to the SQL tab, and typed REPAIR TABLE _course_sections and it appeared to remove the corruption and got most of my data back ..............." (snip)
And Then Martin wrote:
For future reference, phpmyadmin actually has REPAIR built-in ... just list the tables, then check the checkbox next to a table, and select "Repair" from the menu at the bottom.
(I am still wondering what it does..)
Thanks again
Following a thread I saw this email again...
- The danger here is that you have to choose REPAIR from a drop-down-box, while several positions higher in this same choicelist the option DELETE lives.
So....
- I select all tables in phpmyadmin
- then click the drop down box, it opens up
- THEN I LEAVE THE LIST AND AVOID TO MOVE WITH MY MOUSE OVER THIS DROPDOWN CHOICELIST!!!
- I REENTER THE CHOICE LIST FROM BELOW
- Then I select repair.
- If I enter in the normal way the list, sooner or later I could accidentally click DELETE, and phpmyadmin does never ask: "Are you sure?"!!!
(A button for repair would be more secure)
Best regards,
Art Lader
Aiken High School
Oxford Beardie
I've never seen MySQL built in like that. Very handy.
Compliments to the whole community. It's so easy to find things here.
I'm not sure if I should post this as a new thread or a reply- I'm having a similar problem- but seems different, as the course is quite small, and not used nearly as much by students or for content as my others. Just a simple place to upload code and such. You can view it as a guest at https://secure2.cpcc.edu/moodle/course/view.php?id=12
I tried to add a resource to course today, and after i submitted the resource, it took me back to the main page, and it simply wasn't there. I did this several times, in disbelief. I even tried with a quiz, a forum, etc... none showed up. Further testing showed that the problem exists in week 11 and beyond (out of 18 or so weeks) but not before, and that the things I added DO SHOW UP when viewed in their category (i.e. under Resources, or Quizzes, or Forums), and DO INCLUDE THEIR WEEK NUMBERS! I'm stymied. This is the first time I've seen this, and it's not a problem in my other courses - just that one.
Anybody got any ideas?
I know that we have just upgraded to 1.2, and it's running against mySQL on Apache on Linux. I'm waiting to hear from our admin more details. The problem doesn't seem to care about browsers, though I use Firefox and IE 6 on windows.
D.I. von Briesen