Code Context
$OffersArray = Xml::toArray(Xml::build($OffersArrayXML));
if($OffersArray['resultlist']['resultlistEntries']['@numberOfHits']!=0){
$viewFile = '/home/webubgedh/html/app/View/Offer/region.ctp'
$dataForView = array(
'OffersArrayXML' => '
<common:messages xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0">
<message>
<messageCode>ERROR_AUTHENTICATION_REQUIRED</messageCode>
<message>An error occured. Reference number: 7dc28d8c-3cff-4a46-985a-a5c372b6506e</message>
</message>
</common:messages>
',
'RegionArrayXML' => '{"region.regions":[{"region":[{"name":"Düsseldorf","geoCodeId":1276010012,"amount":0},{"name":"Düsseldorf - Pempelfort","geoCodeId":1276010012050,"amount":0},{"name":"Düsseldorf - Derendorf","geoCodeId":1276010012006,"amount":0},{"name":"Düsseldorf - Bilk","geoCodeId":1276010012004,"amount":0},{"name":"Düsseldorf - Oberkassel","geoCodeId":1276010012047,"amount":0},{"name":"Düsseldorf - Düsseltal","geoCodeId":1276010012007,"amount":0},{"name":"Düsseldorf - Friedrichstadt","geoCodeId":1276010012016,"amount":0},{"name":"Düsseldorf - Unterbilk","geoCodeId":1276010012064,"amount":0},{"name":"Düsseldorf - Flingern Nord","geoCodeId":1276010012012,"amount":0},{"name":"Düsseldorf - Stadtmitte","geoCodeId":1276010012010,"amount":0},{"name":"Düsseldorf - Hafen","geoCodeId":1276010012022,"amount":0},{"name":"Düsseldorf - Golzheim","geoCodeId":1276010012020,"amount":0},{"name":"Düsseldorf - Altstadt","geoCodeId":1276010012001,"amount":0},{"name":"Düsseldorf - Oberbilk","geoCodeId":1276010012046,"amount":0},{"name":"Düsseldorf - Niederkassel","geoCodeId":1276010012044,"amount":0},{"name":"Düsseldorf - Grafenberg","geoCodeId":1276010012021,"amount":0},{"name":"Düsseldorf - Carlstadt","geoCodeId":1276010012035,"amount":0},{"name":"Düsseldorf - Flingern Süd","geoCodeId":1276010012014,"amount":0},{"name":"Düsseldorf - Gerresheim","geoCodeId":1276010012019,"amount":0},{"name":"Düsseldorf - Kaiserswerth","geoCodeId":1276010012033,"amount":0},{"name":"Düsseldorf - Benrath","geoCodeId":1276010012003,"amount":0},{"name":"Düsseldorf - Mörsenbroich","geoCodeId":1276010012042,"amount":0},{"name":"Düsseldorf - Lörick","geoCodeId":1276010012040,"amount":0},{"name":"Düsseldorf - Hamm","geoCodeId":1276010012023,"amount":0},{"name":"Düsseldorf - Eller","geoCodeId":1276010012009,"amount":0},{"name":"Düsseldorf - Wersten","geoCodeId":1276010012063,"amount":0},{"name":"Düsseldorf - Stockum","geoCodeId":1276010012054,"amount":0},{"name":"Düsseldorf - Unterrath","geoCodeId":1276010012015,"amount":0},{"name":"Düsseldorf - Flehe","geoCodeId":1276010012011,"amount":0},{"name":"Düsseldorf - Volmerswerth","geoCodeId":1276010012062,"amount":0},{"name":"Düsseldorf - Heerdt","geoCodeId":1276010012026,"amount":0},{"name":"Düsseldorf - Rath","geoCodeId":1276010012045,"amount":0},{"name":"Düsseldorf - Himmelgeist","geoCodeId":1276010012029,"amount":0},{"name":"Düsseldorf - Wittlaer","geoCodeId":1276010012005,"amount":0},{"name":"Düsseldorf - Urdenbach","geoCodeId":1276010012060,"amount":0},{"name":"Düsseldorf - Holthausen","geoCodeId":1276010012030,"amount":0},{"name":"Düsseldorf - Angermund","geoCodeId":1276010012002,"amount":0},{"name":"Düsseldorf - Vennhausen","geoCodeId":1276010012061,"amount":0},{"name":"Düsseldorf - Ludenberg","geoCodeId":1276010012039,"amount":0},{"name":"Düsseldorf - Kalkum","geoCodeId":1276010012034,"amount":0},{"name":"Düsseldorf - Lohausen","geoCodeId":1276010012038,"amount":0},{"name":"Düsseldorf - Lierenfeld","geoCodeId":1276010012037,"amount":0},{"name":"Düsseldorf - Unterbach","geoCodeId":1276010012057,"amount":0},{"name":"Düsseldorf - Itter","geoCodeId":1276010012032,"amount":0},{"name":"Düsseldorf - Hassels","geoCodeId":1276010012025,"amount":0},{"name":"Düsseldorf - Lichtenbroich","geoCodeId":1276010012036,"amount":0},{"name":"Düsseldorf - Reisholz","geoCodeId":1276010012052,"amount":0},{"name":"Düsseldorf - Garath","geoCodeId":1276010012018,"amount":0},{"name":"Düsseldorf - Hubbelrath","geoCodeId":1276010012031,"amount":0},{"name":"Düsseldorf - Hellerhof","geoCodeId":1276010012027,"amount":0}]}]}',
'oImmocaster' => object(Immocaster_Sdk) {
oDataStorage => object(Immocaster_Data_Mysql) {}
[private] _sImmocasterApplication => 'SDK'
[private] _sImmocasterVersion => '1_1_x'
[private] _oService => object(Immocaster_Immobilienscout_Rest) {}
[private] _instances => array(
[maximum depth reached]
)
},
'Region_id' => '1276010051',
'sort' => 'Immobilienscout',
'title_for_layout' => 'Immobilienscout Kaufobjekte; Neubau, Massivhaus, Hausbau, Einfamilienhaus, bauen, Fertighaus, Massivhaus, Kaarst, Neuss',
'company' => array(
'name' => 'IZ-Haus',
'description' => 'Massivhaus/Massivhäuser für Normalverdiener im unteren Preissegment',
'keywords' => 'Neubau, Massivhaus, Hausbau, Einfamilienhaus, bauen, Fertighaus, Massivhaus, Kaarst, Neuss'
),
'info' => array(
'title' => 'Dipl.-Ing. Architekt AKNW',
'owner' => 'Zbigniew Iwaniuk',
'address' => 'Jungfernweg 35',
'zipcode' => '41564',
'city' => 'Kaarst',
'phone' => '02131 / 1333971',
'fax' => '02131 / 1333973',
'opening_time' => 'Montag - Freitag 9:00 - 17:00 Uhr'
),
'eMail' => array(
'HR' => 'info@tc-architekt.de',
'contact' => 'Info@IZ-Haus.de'
),
'doc_type' => array(
(int) 1 => 'Unverbindliches Angebot',
(int) 2 => 'Kalkulation',
(int) 3 => 'Vertrag'
),
'extra_unit' => array(
'price' => array(
(int) 0 => '€',
(int) 1 => '€',
(int) 2 => '€/m<sup>2</sup>',
(int) 3 => '€/m'
),
'factor' => array(
(int) 0 => 'Keine',
(int) 1 => 'Stück',
(int) 2 => 'm<sup>2</sup>',
(int) 3 => 'lfm'
)
),
'extra_type' => array(
(int) 0 => 'Normal',
(int) 1 => 'Garage',
(int) 2 => 'Keller',
(int) 3 => 'Freistehend'
),
'house_side' => array(
(int) 1 => 'Links',
(int) 2 => 'Rechts',
(int) 3 => 'Freistehend'
),
'house_type' => array(
(int) 1 => 'A',
(int) 2 => 'B',
(int) 3 => 'C'
),
'house_pic_type' => array(
(int) -10 => 'Grundriss: Besucher',
(int) -3 => 'Grundriss: Erdgeschoss mit Keller',
(int) -2 => 'Grundriss: Seitenansicht mit Keller',
(int) -1 => 'Grundriss: Keller',
(int) 0 => 'Hausansicht',
(int) 1 => 'Grundriss: Erdgeschoss',
(int) 2 => 'Grundriss: erster Stock',
(int) 3 => 'Grundriss: zweiter Stock',
(int) 4 => 'Grundriss: dritter Stock',
(int) 5 => 'Grundriss: Seitenansicht ohne Keller'
),
'level' => array(
(int) 0 => 'Webmaster',
(int) 1 => 'Admin',
(int) 2 => 'Verkäufer',
(int) 3 => 'Bauleiter'
),
'current_user' => null
)
$OffersArrayXML = '
<common:messages xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0">
<message>
<messageCode>ERROR_AUTHENTICATION_REQUIRED</messageCode>
<message>An error occured. Reference number: 7dc28d8c-3cff-4a46-985a-a5c372b6506e</message>
</message>
</common:messages>
'
$RegionArrayXML = '{"region.regions":[{"region":[{"name":"Düsseldorf","geoCodeId":1276010012,"amount":0},{"name":"Düsseldorf - Pempelfort","geoCodeId":1276010012050,"amount":0},{"name":"Düsseldorf - Derendorf","geoCodeId":1276010012006,"amount":0},{"name":"Düsseldorf - Bilk","geoCodeId":1276010012004,"amount":0},{"name":"Düsseldorf - Oberkassel","geoCodeId":1276010012047,"amount":0},{"name":"Düsseldorf - Düsseltal","geoCodeId":1276010012007,"amount":0},{"name":"Düsseldorf - Friedrichstadt","geoCodeId":1276010012016,"amount":0},{"name":"Düsseldorf - Unterbilk","geoCodeId":1276010012064,"amount":0},{"name":"Düsseldorf - Flingern Nord","geoCodeId":1276010012012,"amount":0},{"name":"Düsseldorf - Stadtmitte","geoCodeId":1276010012010,"amount":0},{"name":"Düsseldorf - Hafen","geoCodeId":1276010012022,"amount":0},{"name":"Düsseldorf - Golzheim","geoCodeId":1276010012020,"amount":0},{"name":"Düsseldorf - Altstadt","geoCodeId":1276010012001,"amount":0},{"name":"Düsseldorf - Oberbilk","geoCodeId":1276010012046,"amount":0},{"name":"Düsseldorf - Niederkassel","geoCodeId":1276010012044,"amount":0},{"name":"Düsseldorf - Grafenberg","geoCodeId":1276010012021,"amount":0},{"name":"Düsseldorf - Carlstadt","geoCodeId":1276010012035,"amount":0},{"name":"Düsseldorf - Flingern Süd","geoCodeId":1276010012014,"amount":0},{"name":"Düsseldorf - Gerresheim","geoCodeId":1276010012019,"amount":0},{"name":"Düsseldorf - Kaiserswerth","geoCodeId":1276010012033,"amount":0},{"name":"Düsseldorf - Benrath","geoCodeId":1276010012003,"amount":0},{"name":"Düsseldorf - Mörsenbroich","geoCodeId":1276010012042,"amount":0},{"name":"Düsseldorf - Lörick","geoCodeId":1276010012040,"amount":0},{"name":"Düsseldorf - Hamm","geoCodeId":1276010012023,"amount":0},{"name":"Düsseldorf - Eller","geoCodeId":1276010012009,"amount":0},{"name":"Düsseldorf - Wersten","geoCodeId":1276010012063,"amount":0},{"name":"Düsseldorf - Stockum","geoCodeId":1276010012054,"amount":0},{"name":"Düsseldorf - Unterrath","geoCodeId":1276010012015,"amount":0},{"name":"Düsseldorf - Flehe","geoCodeId":1276010012011,"amount":0},{"name":"Düsseldorf - Volmerswerth","geoCodeId":1276010012062,"amount":0},{"name":"Düsseldorf - Heerdt","geoCodeId":1276010012026,"amount":0},{"name":"Düsseldorf - Rath","geoCodeId":1276010012045,"amount":0},{"name":"Düsseldorf - Himmelgeist","geoCodeId":1276010012029,"amount":0},{"name":"Düsseldorf - Wittlaer","geoCodeId":1276010012005,"amount":0},{"name":"Düsseldorf - Urdenbach","geoCodeId":1276010012060,"amount":0},{"name":"Düsseldorf - Holthausen","geoCodeId":1276010012030,"amount":0},{"name":"Düsseldorf - Angermund","geoCodeId":1276010012002,"amount":0},{"name":"Düsseldorf - Vennhausen","geoCodeId":1276010012061,"amount":0},{"name":"Düsseldorf - Ludenberg","geoCodeId":1276010012039,"amount":0},{"name":"Düsseldorf - Kalkum","geoCodeId":1276010012034,"amount":0},{"name":"Düsseldorf - Lohausen","geoCodeId":1276010012038,"amount":0},{"name":"Düsseldorf - Lierenfeld","geoCodeId":1276010012037,"amount":0},{"name":"Düsseldorf - Unterbach","geoCodeId":1276010012057,"amount":0},{"name":"Düsseldorf - Itter","geoCodeId":1276010012032,"amount":0},{"name":"Düsseldorf - Hassels","geoCodeId":1276010012025,"amount":0},{"name":"Düsseldorf - Lichtenbroich","geoCodeId":1276010012036,"amount":0},{"name":"Düsseldorf - Reisholz","geoCodeId":1276010012052,"amount":0},{"name":"Düsseldorf - Garath","geoCodeId":1276010012018,"amount":0},{"name":"Düsseldorf - Hubbelrath","geoCodeId":1276010012031,"amount":0},{"name":"Düsseldorf - Hellerhof","geoCodeId":1276010012027,"amount":0}]}]}'
$oImmocaster = object(Immocaster_Sdk) {
oDataStorage => object(Immocaster_Data_Mysql) {}
[private] _sImmocasterApplication => 'SDK'
[private] _sImmocasterVersion => '1_1_x'
[private] _oService => object(Immocaster_Immobilienscout_Rest) {}
[private] _instances => array(
'is24' => object(Immocaster_Sdk) {}
)
}
$Region_id = '1276010051'
$sort = 'Immobilienscout'
$title_for_layout = 'Immobilienscout Kaufobjekte; Neubau, Massivhaus, Hausbau, Einfamilienhaus, bauen, Fertighaus, Massivhaus, Kaarst, Neuss'
$company = array(
'name' => 'IZ-Haus',
'description' => 'Massivhaus/Massivhäuser für Normalverdiener im unteren Preissegment',
'keywords' => 'Neubau, Massivhaus, Hausbau, Einfamilienhaus, bauen, Fertighaus, Massivhaus, Kaarst, Neuss'
)
$info = array(
'title' => 'Dipl.-Ing. Architekt AKNW',
'owner' => 'Zbigniew Iwaniuk',
'address' => 'Jungfernweg 35',
'zipcode' => '41564',
'city' => 'Kaarst',
'phone' => '02131 / 1333971',
'fax' => '02131 / 1333973',
'opening_time' => 'Montag - Freitag 9:00 - 17:00 Uhr'
)
$eMail = array(
'HR' => 'info@tc-architekt.de',
'contact' => 'Info@IZ-Haus.de'
)
$doc_type = array(
(int) 1 => 'Unverbindliches Angebot',
(int) 2 => 'Kalkulation',
(int) 3 => 'Vertrag'
)
$extra_unit = array(
'price' => array(
(int) 0 => '€',
(int) 1 => '€',
(int) 2 => '€/m<sup>2</sup>',
(int) 3 => '€/m'
),
'factor' => array(
(int) 0 => 'Keine',
(int) 1 => 'Stück',
(int) 2 => 'm<sup>2</sup>',
(int) 3 => 'lfm'
)
)
$extra_type = array(
(int) 0 => 'Normal',
(int) 1 => 'Garage',
(int) 2 => 'Keller',
(int) 3 => 'Freistehend'
)
$house_side = array(
(int) 1 => 'Links',
(int) 2 => 'Rechts',
(int) 3 => 'Freistehend'
)
$house_type = array(
(int) 1 => 'A',
(int) 2 => 'B',
(int) 3 => 'C'
)
$house_pic_type = array(
(int) -10 => 'Grundriss: Besucher',
(int) -3 => 'Grundriss: Erdgeschoss mit Keller',
(int) -2 => 'Grundriss: Seitenansicht mit Keller',
(int) -1 => 'Grundriss: Keller',
(int) 0 => 'Hausansicht',
(int) 1 => 'Grundriss: Erdgeschoss',
(int) 2 => 'Grundriss: erster Stock',
(int) 3 => 'Grundriss: zweiter Stock',
(int) 4 => 'Grundriss: dritter Stock',
(int) 5 => 'Grundriss: Seitenansicht ohne Keller'
)
$level = array(
(int) 0 => 'Webmaster',
(int) 1 => 'Admin',
(int) 2 => 'Verkäufer',
(int) 3 => 'Bauleiter'
)
$current_user = null
$regionarray = array(
(int) 1276010010 => 'Duisburg',
(int) 1276010012 => 'Düsseldorf',
(int) 1276010017 => 'Gelsenkirchen',
(int) 1276010027 => 'Krefeld',
(int) 1276010029 => 'Leverkusen',
(int) 1276010034 => 'Mönchengladbach',
(int) 1276010037 => 'Neuss (Rhein-Kreis)',
(int) 1276010051 => 'Viersen (Kreis)',
(int) 1276010053 => 'Wesel (Kreis)',
(int) 1276010054 => 'Wuppertal',
(int) 1276010031 => 'Mettmann',
(int) 1276010043 => 'Remscheid',
(int) 1276010048 => 'Solingen',
(int) 1276010011 => 'Düren',
(int) 1276010021 => 'Heinsberg'
)
$regionnumarray = array(
(int) 0 => (int) 1276010010,
(int) 1 => (int) 1276010012,
(int) 2 => (int) 1276010017,
(int) 3 => (int) 1276010027,
(int) 4 => (int) 1276010029,
(int) 5 => (int) 1276010034,
(int) 6 => (int) 1276010037,
(int) 7 => (int) 1276010051,
(int) 8 => (int) 1276010053,
(int) 9 => (int) 1276010054,
(int) 10 => (int) 1276010031,
(int) 11 => (int) 1276010043,
(int) 12 => (int) 1276010048,
(int) 13 => (int) 1276010011,
(int) 14 => (int) 1276010021
)
$OffersArray = array(
'messages' => array(
'message' => array(
'messageCode' => 'ERROR_AUTHENTICATION_REQUIRED',
'message' => 'An error occured. Reference number: 7dc28d8c-3cff-4a46-985a-a5c372b6506e'
)
)
)
include - APP/View/Offer/region.ctp, line 6
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108