delahaye / dlh_googlemaps

Google Maps Extension für Contao
20 stars 26 forks source link

Class DlhGooglemapsModel not found ! #37

Closed tibisi closed 9 years ago

tibisi commented 10 years ago

Hi,

i working on Contao 3.3.2. I downloaded your extensions but i've got an error. Class DlhGooglemapsModel not found.

What did i do ? 1 - Downlaod & install (no pbm) 2 - Create two maps with extensions (no pbm) 3 - Add a map to an article : PROBLEM -> Administration no display to let the php error appear

I searched in all files of your extensions but i haven't find any solutions yet. Do you have any ideas to resolve this problem ?

Realy thanks Romain

delahaye commented 10 years ago

Are you sure that everything is installed? You'll need the dlh_geocode also.

tibisi commented 10 years ago

All is installed

katgirl commented 10 years ago

Kann ich bestätigen, wenn der Name nicht in deutsch eingegeben wird. Weil in Zeile https://github.com/delahaye/dlh_googlemaps/blob/master/dca/tl_dlh_googlemaps.php#L620 hart de steht. Die Backendsprache kann man aber leider auch nicht nehmen, da wenn jemand erst englisch arbeitet und dann ein anderer Redakteur auf deutsch gehts auch wieder schief. Auf das Problem bin ich bei meiner Erweiterung gestoßen und habe auch noch keine gültige Lösung.

delahaye commented 10 years ago

Für das Geocoding muss doch nur irgendeine Sprache angegeben werden. Welchen "Namen" meinst Du denn?

katgirl commented 10 years ago

Köln schreiben wir auf deutsch, ein englischsprachiger schreibt Cologne. Damit ist Google bei mir nicht klar gekommen, wenn ich fest de übergebe.

delahaye commented 10 years ago

Werden dann Fehler ausgeworfen, oder findet er nur keine Koordinaten? Werden Koordinaten gefunden, wenn man eine englische Adresse (London z.B.) wie in England geschrieben eingibt?

delahaye commented 10 years ago

Sorry, I can't reproduce this. Tried different combinations of addresses and countries. Did you select the country next to the address field? Please post the PHP error or some more information how to reach the error.

Balindil commented 9 years ago

Same problem here. Fresh Installation Contao 3.3.7, dlh_googlemaps 2.0.9.9003. If I try to select type 'Google Map' as content element or module there is the error: 'Fatal error: Class 'DlhGooglemapsModel' not found in /XXX/system/modules/core/library/Contao/Model/Collection.php on line 146'. I have installed dlh_googlemaps with composer. Is this the problem?

[EDIT] Same error with extension repository installation.

[EDIT2] This is a conflict between 'dlh_googlemaps' and 'foundation-to-contao'. After deinstallation of foundation-to-contao dlh_googlemaps works as expected.

delahaye commented 9 years ago

There was a problem with the Contao models at this time. Should be gone.