Joomla - 未捕获的异常,错误500 - 减少阻止

时间:2013-07-15 22:59:24

标签: joomla less

我已将Joomla网站迁移到新服务器,更新了configuration.php文件,我收到了以下错误:

Fatal error: Uncaught exception 'RuntimeException' with message 'Less Parse Error: parse error: unclosed block' in
/var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php:1141 Stack trace: #0
/var/www/websites/alwaysevolving/templates/rt_cerulean/features/styledeclaration.php(45): Gantry->addLess('mediaqueries.le...') #1
/var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php(415): GantryFeatureStyleDeclaration->init() #2
/var/www/websites/alwaysevolving/libraries/gantry/gantry.php(289): Gantry->initTemplate() #3
/var/www/websites/alwaysevolving/libraries/gantry/gantry.php(439): gantry_template_initialize() #4
/var/www/websites/alwaysevolving/templates/rt_cerulean/lib/gantry/gantry.php(21): include('/var/www/websit...') #5
/var/www/websites/alwaysevolving/templates/rt_cerulean/index.php(15): require_once('/var/www/websit...') #6
/var/www/websites/alwaysevolving/libraries/joomla/document/html/html.php(531): require('/var/www/websit...') #7
/var/www/websites/alwaysevolving/libraries/joomla/do in /var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php on line 1141

看起来解析其中一个较少的文件时出现问题,但是:

  1. 我无法确定哪个文件较少有问题

  2. 其他服务器上的文件较少

  3. 该网站似乎很好,所以此模板中的某些内容似乎与我的新服务器不同。

  4. 思想??

    谢谢!

2 个答案:

答案 0 :(得分:0)

错误消息是堆栈跟踪,但是看一下,看起来Gantry框架正在解析名为less的{​​{1}}文件。

答案 1 :(得分:0)

我坚信你忘了关闭大括号}。请务必检查行号以帮助您解决问题。