Problem Text under Banner

Problem Text under Banner

- Stephen Wilkinson の投稿
返信数: 3

I've recently updated our Moodle Site to v.1.5.2+ together with the latest version of the quiz and books modules.

SInce the update we have had floating text under the main banner on almost every page. The text reads:

Main directory'; $string['fileordir'] = 'File or directory'; ?>

The text does not appear on pages without bocks (i.e. Course Categories, New account pages etc.).

If you view source for the main page the HTML reads as other Moodle sites until you get to:

<table id="layout-table">
  <tr>
  Main directory';
$string['fileordir'] = 'File or directory';

?>

The HTML then continues with <td ... as it should be.

Any ideas where this text is coming from? We thought it would be a corruption in one of the PHP files in /lib or /course and so have uploaded these again, but to no avail.

Suggestions would be most gratefully received!

(The site is at www.tascampus.org.uk if you should want to look.)

Stephen Wilkinson への返信

Re: Problem Text under Banner

- Helen Foster の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators
Hi Stephen,

The text that's appearing looks like it comes from the Book module language pack. Perhaps you could try replacing book.php in moodle/lang/en with the attached latest version.
Helen Foster への返信

Re: Problem Text under Banner

- Stephen Wilkinson の投稿

Thankyou so much!

Problem now solved.