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.