Error 500: Default layout nou found - Joomla! Forum - community, help and support
i try implement first mvc component joomla 2.5.
so far, started component in
http://docs.joomla.org/developing_a_mod ... he_backend
and i'm trying change name "hello word" "reserves" name chose new component.
i thing might strange going report. thing is, after having replaced every ocurrence of "helloworld" "reserves", "helloworld" "reserves", , "helloworld" "reserves" everywhere in folder directory , contents of files, including language ones, , both views "reserves" , "reservess", , so, can't understant why...
1. if in component, in backend, try add new message, fall error, since without having given new message, clicking on "cancel", leads me error.
2. both components same, number of times "helloworld" appears in 1 component, in upper , lower cases same "reserves" in other. every other thing same (at least, have been checking 2 days).
furthermore, when error raised, in url of browser
http://localhost/esospelillos/administr ... w=reserves
and if add "s" end, goes has go. somehow, seems form action in edit view not constructed, , flow goes unexistent layout.
more accurately, don't understand why if put next echo line
{
// set default view if not set
jrequest::setvar('view', jrequest::getcmd('view', 'helloworlds'));
echo '# '.jrequest::getvar('view').' #';
// call parent behavior
parent::display($cachable);
}
in display function of main controller, helloworld component works ok, shows word "hellowords" when first list shown, , "helloword" when cancelling or saving item.
how possible echo gives me "helloword" if set view "helloworlds".
please, highly appreciated. time.
carles
i workin xampp 1.8.0 , php 5.4.4 on windows 7.
a dump of error follows.
call stack
# function location
1 jadministrator->dispatch() c:\xampp\htdocs\esospelillos\administrator\index.php:46
2 jcomponenthelper::rendercomponent() c:\xampp\htdocs\esospelillos\administrator\includes\application.php:153
3 jcomponenthelper::executecomponent() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\helper.php:351
4 require_once() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\helper.php:383
5 jcontroller->execute() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\reserves.php:17
6 reservescontroller->display() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\controller.php:761
7 jcontroller->display() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\controller.php:26
8 reservesviewreserves->display() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\controller.php:722
9 jview->display() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\views\reserves\view.html.php:46
10 jview->loadtemplate() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\view.php:205
11 jerror::raiseerror() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\view.php:660
12 jerror::raise() c:\xampp\htdocs\esospelillos\libraries\joomla\error\error.php:251
so far, started component in
http://docs.joomla.org/developing_a_mod ... he_backend
and i'm trying change name "hello word" "reserves" name chose new component.
i thing might strange going report. thing is, after having replaced every ocurrence of "helloworld" "reserves", "helloworld" "reserves", , "helloworld" "reserves" everywhere in folder directory , contents of files, including language ones, , both views "reserves" , "reservess", , so, can't understant why...
1. if in component, in backend, try add new message, fall error, since without having given new message, clicking on "cancel", leads me error.
2. both components same, number of times "helloworld" appears in 1 component, in upper , lower cases same "reserves" in other. every other thing same (at least, have been checking 2 days).
furthermore, when error raised, in url of browser
http://localhost/esospelillos/administr ... w=reserves
and if add "s" end, goes has go. somehow, seems form action in edit view not constructed, , flow goes unexistent layout.
more accurately, don't understand why if put next echo line
{
// set default view if not set
jrequest::setvar('view', jrequest::getcmd('view', 'helloworlds'));
echo '# '.jrequest::getvar('view').' #';
// call parent behavior
parent::display($cachable);
}
in display function of main controller, helloworld component works ok, shows word "hellowords" when first list shown, , "helloword" when cancelling or saving item.
how possible echo gives me "helloword" if set view "helloworlds".
please, highly appreciated. time.
carles
i workin xampp 1.8.0 , php 5.4.4 on windows 7.
a dump of error follows.
call stack
# function location
1 jadministrator->dispatch() c:\xampp\htdocs\esospelillos\administrator\index.php:46
2 jcomponenthelper::rendercomponent() c:\xampp\htdocs\esospelillos\administrator\includes\application.php:153
3 jcomponenthelper::executecomponent() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\helper.php:351
4 require_once() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\helper.php:383
5 jcontroller->execute() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\reserves.php:17
6 reservescontroller->display() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\controller.php:761
7 jcontroller->display() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\controller.php:26
8 reservesviewreserves->display() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\controller.php:722
9 jview->display() c:\xampp\htdocs\esospelillos\administrator\components\com_reserves\views\reserves\view.html.php:46
10 jview->loadtemplate() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\view.php:205
11 jerror::raiseerror() c:\xampp\htdocs\esospelillos\libraries\joomla\application\component\view.php:660
12 jerror::raise() c:\xampp\htdocs\esospelillos\libraries\joomla\error\error.php:251
Comments
Post a Comment