Discussions started by Joseph Rézeau

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
I'm doing some tests with moodle 2.0 (HEAD) and it looks like the restore facility has disappeared. I proceed as usual, 1st create a backup file, save it to disk, then go to restore (either at front page level or within a course), click the Restore link, upload the backup-cf101-20081126-1634.zip file to my files and... there is no Action Restore link, unlike there used to be in 1.9...
Joseph
Attachment image00.jpg
Average of ratings: Useful (1)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hello,
I have been using Moodle for a few years now and have installed it quite a few times both on my local machine and on my internet provider (1&1). For my local install (Windows XP) I use the excellent XAMP package provided by Moodle and am familiar with mySql, phpMyAdmin, etc.
However, I now have to test a couple of bugs which are only apparent with postgres.

I managed to install Postgres (8.3.5), Apache 2 which goes with it and phpPgAdmin on my Windows XP (local) machine. Unfortunately I am now stumped by 2 (maybe linked problems).sad

a) In phpPgAdmin I cannot log in to PostgreSQL; it wants a username and password which I do not know how to provide; I want to log in without a password (since this is only on my local machine, as I log on into phpMyAdmin without needing a password); I have looked at the documentation, I have put the necessary "trust" lines in pg_hba.conf but to no avail... This seems to be a common problem, judging by the number of calls for help in the internet forums... but no convincing solution (or understandable by a newbie) are given.

b) When I try to install moodle (1.9), I can see the initial install screen, I fill in the address of the moodledata folder, click on Next and after some time, get only a blank page and cannot proceed any further.

Anyone out there using postgres on a Windows XP box willing to help? Are there any step-by-step instructions somewhere?

Thanks in advance,

Joseph


Average of ratings: -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hello,

In various places in my moodle courses, especially in the Glossary I need to include images. I usually want those images to float, so that the text will flow around them. I have just found out that the over-zealous HTML editor filter will remove the style values from inside my divs, except when I include a "bogus" font-style value.

jo

This paragraph includes an image with a bogus font-style value, the image is correctly floated to the left. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi pede ipsum, interdum ac, tempus vitae, mollis at, ante. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi justo. Cras sit amet nisl. Suspendisse potenti. Nam egestas nisi vel libero. Nulla facilisi. Duis fermentum orci tincidunt quam. Vivamus et leo. Donec hendrerit, erat ut gravida pharetra, quam augue pharetra risus, in laoreet enim elit non ante. Nunc ut diam. Curabitur sapien nunc, scelerisque a, sagittis ac, tempor ac, nisl. Etiam posuere, felis non consequat sollicitudin, libero quam scelerisque nisl, a tempor massa ante non quam. Nullam tincidunt. Praesent condimentum. Cras iaculis. Mauris ornare, ligula vitae scelerisque aliquet, turpis risus varius risus, eu ultrices purus quam ac pede. Nullam pulvinar libero vitae erat.

jo

This paragraph includes an image without a bogus font-style value, the style inside my div is removed upon saving the message and the image is consequenlty not floated. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi pede ipsum, interdum ac, tempus vitae, mollis at, ante. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi justo. Cras sit amet nisl. Suspendisse potenti. Nam egestas nisi vel libero. Nulla facilisi. Duis fermentum orci tincidunt quam. Vivamus et leo. Donec hendrerit, erat ut gravida pharetra, quam augue pharetra risus, in laoreet enim elit non ante. Nunc ut diam. Curabitur sapien nunc, scelerisque a, sagittis ac, tempor ac, nisl. Etiam posuere, felis non consequat sollicitudin, libero quam scelerisque nisl, a tempor massa ante non quam. Nullam tincidunt. Praesent condimentum. Cras iaculis. Mauris ornare, ligula vitae scelerisque aliquet, turpis risus varius risus, eu ultrices purus quam ac pede. Nullam pulvinar libero vitae erat.

Have other moodlers noticed this strange behavior of the HTML editor? Should I report it as a bug?

Joseph

Average of ratings: -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

I don't know if my problem is strictly linked to role, but I do not see where else to post it, so here we go. The problem arises both with moodle 1.8 and 1.9.

Case 1- Here are my settings for Course A.
  • Course enrollable: No (I want to enrol my students myself)
  • Availability: Yes
  • Enrollment key: *****
  • Guest access: Allow guests who have the key (I want to allow "visitors" to my course).

With those settings, when someone tries to log in as guest they get the message "This course is not enrollable at the moment." Which is of course not what I want. I do not want guests to enrol in my course, I just want them to visit it! Maybe this is a misunderstanding on my part of the Moodle terminology or maybe the terminology is wrong. For me, being enrolled in a course means being a real student, with full students rights; visiting a course as guest is different from being enrolled. So the error message is misleading.

Case 2

Same course settings as Case 1 except for Guest access: Allow guests without the key.

Then, guests can access my course. But this is not what I want, I only want guests with a key to access my course.

My diagnostic is that, as things stand, the Enrolment key is only meant to enable people to enrol in a course. It is a mistake to suggest that this key might also provide guest access. Maybe we should have another key, named "Guest access key", different from "Enrollment key", to do what I want to achieve? Or maybe there is a solution involving roles settings either in the course itself or site-wide?

Joseph

Average of ratings: -