Biała strona: Fatal Error z modelu dodatkowego czyli non-object
widok jak widać pobrał
(teraz eksperymenty lecą na com_test)
czyli widok Test z komponentu test : TestViewTest extend JView
object(TestViewTest)#222 (13) {
["_name"]=>
string(4) "test"
["_models"]=>
array(1) {
["test"]=>
&object(TestModelTest)#223 (4) {
["_name"]=>
string(4) "test"
["_db"]=>
&object(JDatabaseMySQL)#11 (18) {
["name"]=>
string(5) "mysql"
["_nullDate"]=>
string(19) "0000-00-00 00:00:00"
["_nameQuote"]=>
string(1) "`"
["_sql"]=>
string(111) "SELECT template FROM jos_templates_menu WHERE client_id = 0 AND (menuid = 0 OR menuid = 0) ORDER BY menuid DESC"
["_errorNum"]=>
int(0)
["_errorMsg"]=>
string(0) ""
["_table_prefix"]=>
string(4) "jos_"
["_resource"]=>
resource(24) of type (mysql link)
["_cursor"]=>
resource(93) of type (Unknown)
["_debug"]=>
int(0)
["_limit"]=>
int(1)
["_offset"]=>
int(0)
["_ticker"]=>
int(0)
["_log"]=>
array(0) {
}
["_utf"]=>
bool(true)
["_quoted"]=>
array(0) {
}
["_hasQuoted"]=>
bool(false)
["_errors"]=>
array(0) {
}
}
["_state"]=>
object(JObject)#224 (2) {
["_errors"]=>
array(0) {
}
["task"]=>
string(0) ""
}
["_errors"]=>
array(0) {
}
}
}
["_basePath"]=>
string(76) "/var/www/sites/*/subdomains/www/html/components/com_test"
["_defaultModel"]=>
string(4) "test"
["_layout"]=>
string(7) "default"
["_layoutExt"]=>
string(3) "php"
["_path"]=>
array(2) {
["template"]=>
array(2) {
[0]=>
string(96) "/var/www/sites/*/subdomains/www/html/templates/mbc_smart/html/com_test/test/"
[1]=>
string(93) "/var/www/sites/*/subdomains/www/html/components/com_test/views/test/tmpl/"
}
["helper"]=>
array(1) {
[0]=>
string(85) "/var/www/sites/*/subdomains/www/html/components/com_test/helpers/"
}
}
["_template"]=>
NULL
["_output"]=>
NULL
["_escape"]=>
string(16) "htmlspecialchars"
["_charset"]=>
string(5) "UTF-8"
["_errors"]=>
array(0) {
}
["baseurl"]=>
string(0) ""
}