Mensagem enviada por Joseph Rézeau

Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Hi Petr and thanks for your reply.

I finally managed to solve all the problems I mentioned in my 2 previous posts by

  1. completely un-installing Apache, PHP, EasyPHP, Moodle from my Windows-XP machine
  2. installing instead the Windows4Moodle package kindly provided by Eloy Lafuente (see http://moodle.org/mod/forum/discuss.php?d=13413&parent=70019)

Maybe I had developed a kind of problem with my previous installations (and re-installations) of the standard Moodle 1.4 package. Anyway, the only thing I no longer have with Windows4Moodle is EasyPHP, but I don't really need it.

Joseph_R

Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Hello! Further to my previous post I have to report that things are getting worse with my local installation of Moodle 14.

  1. Images served by my Apache server are still not displayed.
  2. And now I notice that my javascript scripts located in .js libraries called by resources which are uploaded web pages give random "script errors" warnings - even though they are error-free.

OK, something must be wrong with my Apache or php intallation (sorry, I'm not conversant enough with these environments to tell the difference). But what I don't understand is that the very same courses, images & javascripts work fine in Moodle 1.5 and go all wrong in Moodle 1.4, on the same machine, with the same Apache & php settings.

I know such problems are hard to replicate, maybe no-one has ever experienced the pb described, but I would be very grateful if one of the php/Apache/moodle dev gurus would advise me on what to do.

Thanks in advance,

Joseph_R

Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Hello!

I have read many posts on this forum about this image display & GD library problem but have have found no solution to the following weird problem.

I am running both moodle stable version 1.4 and dev version 1.5 locally for tests, using Windows XP SP2, Apache 1.3.27, PHP 4.3.3 & mysql 4.0.15 on my home computer where I test my courses before uploading them to our university Moodle server.

The GD2 library (php_gd2.dll) is enabled and correctly detected in moodle admin config.

I have recently developed a strange problem with my graphics refusing to display in my course pages with moodle 1.4 but displaying OK with moodle 1.5.

In moodle 1.4, for example, if I go to Resourses|Compose a web page|Insert image button, in the Insert Image window I can see the list of my graphics files in the File browser, but they are not displayed in the Preview window and, if I actually insert an image in my web page it won't be displayed later on when that web page resource is used. This is NOT a problem with the Insert Image window, the problem is the same with locally authored html files dowloaded to my moodledata directory.

This problem is only affecting my moodle 1.4 installation, not moodle 1.5 which works fine. Well, actually, with moodle 1.5 in the Insert Image window, graphics are not displayed in the preview window but they are eventually correctly displayed in the body of whichever resource it is I am editing, which better than nothing. Also I do not have the problem on my institution moodle 1.4 site.

However, yesterday I was suddenly able to display images again in moodle 1.4 in MSIE (but not using Mozilla!). This morning the problem reverted to what it was yesterday morning, i.e. images are displayed in moodle 15 but not in moodle 14...

Is this a problem with my Apache server? or the php config file(s) in my moodle 1.4 directory, I have no idea why the problem comes on and off in a seemingly random manner.

Urgent help needed and much appreciated,

Thanks,

Joseph_R

Anexo moodleImage14.gif
Média das avaliações:  -
Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Hi David.

Following your "recipe" and editing the header.html file in my chosen theme directory I have managed to customize my own courses... up to a point. Customization is still hampered by a number of problems:

  1. the pre-defined colors in the theme's config.php file: that problem can be solved by re-writing the theme's styles.php file to produce a true CSS file, i.e. replacing all the php references to the config.php file colors by the proper color references
  2. unfortunately, as mentioned by others in this forum, there remain a number of hard-coded font tags, assigning colors & sizes in various php modules; how I wish those font tags would disappear!
  3. after I thought I had finally managed to force my course to use my own styles.css file (posted to the root of my moodledata directory) I ran into a further problem. When displaying a resource which is NOT an uploaded file but either a text file or web file authored within Moodle (compose a web page...), the link to my own css file is not properly set... The reason is as follows:

In your workaround (posted 22 sept 2004) you write:

... And add a line
<link rel="stylesheet" type="text/css" href="<?php echo "$CFG->wwwroot/file.php/$course->id/style.css"; ?>" />

Your  solution relies on the current course's id being passed on to the header.html file in the $course->id variable. Unfortunately, when a resource such as a 'composed web page" or text page is viewed, no such variable is passed on to header.html...

I would be most grateful if someone who has experienced this problem can confirm it and if a further workaround can be found for this particular case...

All the best,

Joseph_R