Forums have disappeared

Forums have disappeared

by Simon Bryan -
Number of replies: 7
When we visit any forum at the moment we are presented with a blank screen, eg the url http://kirk.olmc.nsw.edu.au/mod/forum/view.php?f=14 is just a blank screen - no discussions, no header nothing. However if I visit the list of Forums they are shown and the correct number of discussions is also shown. This may have started to appear at about the same time ai started having trouble with the CVS update, at the conclusion of the the update I get:
cvs update: authorization failed: server cvs.sourceforge.net rejected access to  for user anonymous
cvs update: used empty password; try "cvs login" with a real password
 and I am not sure if it has updated.
At the same time I started to get error messages about the glossary and the HotPotatoes Modules, I eventually got the Hot Potattoes installed again OK, but the Glossary persists in displaying "<<<<<<< glossary.php ======= >>>>>>> 1.57.2.3" at the top of most pages.
Not sure if these are related but all started at about the same time.
Average of ratings: -
In reply to Simon Bryan

Re: Forums have disappeared

by Penny Leach -
It sounds like you have some conflict markers somewhere.

Do you have any local changes to moodle you care about? In forum?

If you're happy about upgrading and overriding local changes, type

cvs up -C mod/forum

Edit - same goes for glossary, where you also clearly have conflict markers.
In reply to Penny Leach

Re: Forums have disappeared

by Simon Bryan -
Thank you Penny - you are my hero!
Worked for the forums, but not for the Glossary, still behaving the same. I get <<<<<<< glossary.php ======= >>>>>>> 1.57.2.3 at the top of most pages and that is all I get if I want to visit the admin page. I am happy to live without the Glossary for now, but if I delete it, it comes back whenever I visit the admin page.
In reply to Simon Bryan

Re: Forums have disappeared

by Penny Leach -
I know! It's glossary.php in your language pack.

try

cvs up -C lang/whatever/glossary.php

where whatever is your language code (en?)

This will OVERWRITE local changes.

In reply to Penny Leach

Re: Forums have disappeared

by Simon Bryan -
You are good!
That got rid of the error message (had to move glossary.php out of the way first as the update could not overwrite it for some reason).
Still get a blank page when I go to http://my.site/admin/
In reply to Simon Bryan

Re: Forums have disappeared

by Penny Leach -
ok, lets see if I can solve all your problems! wink

Can you answer for me the following questions:

* What version of moodle are you running? (type "cat version.php" in the root direcotry of moodle and paste it here to give me the exact version number)

* Do you have any local changes that you care about? If no, you can just type cvs up -C in the root directory of your moodle installation.

* Do you have access to the error log of your webserver? If you're using linux of some sort and apache, it's probably something like /var/log/apache/error_log or /var/log/httpd/error_log or something... If so, type:

tail -f /path/to/error.log * and then visit admin/index.php in your browser, that'll give you the most recent errors. Paste them here.

* Sorry if you know this & it's teaching you to suck eggs, but for completeness: tail is a program to display the last lines of a file, -f means keep printing it as new stuff gets written to the end of the file. You need to hit ctrl-c to break out of it once you're happy that you've seen the errors you want to see.
In reply to Penny Leach

Re: Forums have disappeared

by Simon Bryan -
 $version = 2005060230;  // YYYYMMDD   = Moodle 1.5 Date
                           //         X  = Moodle 1.5 Point release (0,1,2...)
                           //          Y = Interim incrementer

   $release = '1.5.3+';    // Human-friendly version name

What do you mean by 'local changes'?

 PHP Warning:  main(/var/www/moodle/blocks/marking/lib.php)
: failed to open stream: No such file or directory in /var/www/moodle/blocks/mar
king/block_marking.php on line 3, referer: http://kirk.olmc.nsw.edu.au/
[client 10.192.0.254] PHP Fatal error:  main(): Failed opening required '/var/ww
w/moodle/blocks/marking/lib.php' (include_path='.:/usr/include/php/inc') in /var
/www/moodle/blocks/marking/block_marking.php on line 3, referer: http://kirk.olm
c.nsw.edu.au/

That was it!! Forgot I tried to install the Marking Block sad Have deleted the folder from the blocks directory and all is good and peaceful in the world!

Thanks Penny