2013-08-17 72 views
0

我用AJAX創建了一個組件,點擊提交按鈕後我得到jos-Error: Unable to load renderer class錯誤。我的猜測是,控制器無法找到視圖:jos-Error:無法加載渲染器類

public function savex() 
{ 
    JRequest::setVar('view', 'komentarai'); 

    parent::display(); 
} 

但我不確定這是否正確。

還有些其他錯誤,我得到(約合控制器更具體)

JController -> execute() @ C:\xampp\htdocs\components\com_siena\siena.php:20 
SienaController -> savex() @ C:\xampp\htdocs\libraries\joomla\application\component\controller.php:761 
JController -> display() @ C:\xampp\htdocs\components\com_siena\controller.php:26 

錯誤信息的完整列表:

jos-Error: Unable to load renderer class 

JSite -> dispatch() @ C:\xampp\htdocs\index.php:42 
JComponentHelper :: renderComponent() @ C:\xampp\htdocs\includes\application.php:197 
JComponentHelper :: executeComponent() @ C:\xampp\htdocs\libraries\joomla\application\component\helper.php:351 
require_once() @ C:\xampp\htdocs\libraries\joomla\application\component\helper.php:383 
JController -> execute() @ C:\xampp\htdocs\components\com_siena\siena.php:20 
SienaController -> savex() @ C:\xampp\htdocs\libraries\joomla\application\component\controller.php:761 
JController -> display() @ C:\xampp\htdocs\components\com_siena\controller.php:26 
JController -> getView() @ C:\xampp\htdocs\libraries\joomla\application\component\controller.php:677 
JError :: raiseError() @ C:\xampp\htdocs\libraries\joomla\application\component\controller.php:903 
JError :: raise() @ C:\xampp\htdocs\libraries\joomla\error\error.php:251 
JError :: throwError() @ C:\xampp\htdocs\libraries\joomla\error\error.php:176 
call_user_func_array() @ C:\xampp\htdocs\libraries\joomla\error\error.php:214 
JError :: handleCallback() 
call_user_func() @ C:\xampp\htdocs\libraries\joomla\error\error.php:765 
plgSystemRedirect :: handleError() 
JError :: customErrorPage() @ C:\xampp\htdocs\plugins\system\redirect\redirect.php:109 
JDocumentError -> render() @ C:\xampp\htdocs\libraries\joomla\error\error.php:798 
JDocumentError -> _loadTemplate() @ C:\xampp\htdocs\libraries\joomla\document\error\error.php:107 
require_once() @ C:\xampp\htdocs\libraries\joomla\document\error\error.php:135 
Gantry -> displayModules() @ C:\xampp\htdocs\templates\gantry\error.php:40 
GantryModulesRenderer :: display() @ C:\xampp\htdocs\libraries\gantry\core\gantry.class.php:867 
GantryFeatureDropdownMenu -> render() @ C:\xampp\htdocs\libraries\gantry\core\renderers\gantrymodulesrenderer.class.php:65 
JDocument -> loadRenderer() @ C:\xampp\htdocs\templates\gantry\features\dropdownmenu.php:50 
JError :: raiseError() @ C:\xampp\htdocs\libraries\joomla\document\document.php:926 
JError :: raise() @ C:\xampp\htdocs\libraries\joomla\error\error.php:251 
+0

我發現有什麼問題...在視圖文件夾文件view.html.php必須重命名爲view.raw.php ... – user1876234

+1

創建一個答案和acc儘可能讓人們知道它已經解決了 – Lodder

回答

0

我發現了什麼是錯誤的......在意見文件夾文件view.html.php必須重命名爲view.raw.php