Parse Error in Smarty.class.php

Parse Error in Smarty.class.php

von Fazel Naghdy -
Anzahl Antworten: 1

We have been running moodle  for about a year with no problem. Today, when I called moodle I received the following error:

Parse error: parse error in /xx/www/xx/moodle/lib/smarty/Smarty.class.php on line 1313

Fatal error: Cannot instantiate non-existent class: smarty in /xx/www/xx/moodle/lib/setup.php on line 105

There has been no changes to Moodle or operating system according to the system administrator. Can somebody please help as the work of our campus is halted and I cannot undertand what is wrong?

Fazel

Als Antwort auf Fazel Naghdy

Re: Parse Error in Smarty.class.php

von Iñaki Arenaza -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
There is a syntax error around line 1313 of the file /xx/www/xx/moodle/lib/smarty/Smarty.class.php. If no one has changed it, then it somehow has become corrupt. Putting a fresh copy of that file in place should fix it.

Saludos. Iñaki.