Did anyone else try gmaps with php 5.3? I have some trouble with respect to the gmaps_content submodule. The input map does not show markers, static maps display only shows 0,0 or the default center point, although the correct values are stored.
I did not encounter any error messages thats why debugging seemed quite hard. To narrow down the problems, anyone else tried gmaps with php 5.3?
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | gmaps_php53_2.patch | 7.55 KB | lupus78 |
| #10 | gmaps_php53_1.patch | 8.02 KB | lupus78 |
Comments
Comment #1
xmarket commentedIt seems gmaps has php 5.3 incompatibility problems.
I'm marking this bug as a minor beacuse of the System requirements of D6.
Comment #2
price9001 commentedI'm also having 5.3 compatibility issues.
Would very much appreciate if someone could patch this or include a fix in the latest dev version!
Comment #3
josuealcalde commentedWe are also having problems with this.
It makes gmaps fail in 5.3 php and since drupal 6.14 already supports php 5.3, I think the priority should change.
Any way, it is not hard to correct and I will make a patch when I have time.
Comment #4
xmarket commentedComment #5
digi24 commented-- edit --
Comment #6
Yacko commentedI'm also having 5.3 compatibility issues.
Error in /admin/gmaps/map/x/edit :
warning: Parameter 2 to gmaps_map_form() expected to be a reference, value given in /media/Donnees/Programmation/www/nantes-energiologie/includes/form.inc on line 376.Comment #7
KhaledBlah commentedI have the same problem as #6 and I use PHP 5.3.2 on Ubuntu 10.04.
Comment #8
deepakgoyal commentedYup i am having the same problem and my error is
warning: Parameter 2 to gmaps_icon_form() expected to be a reference, value given in /opt/lampp/htdocs/fishshoppingcart/includes/form.inc on line 376.
look forward for the solution
Comment #9
joshuabud commentedI'm having this same issue. I had thought it was fixed but it's not.
Comment #10
lupus78 commentedI've managed to make Gmaps work under PHP5.3
Attached a patch, which is probably not full, as there can be a few other non compatible function calls. I haven't used static maps, and i thing those calls would still fail on php 5.3
The patch is made againts, the dev version.
I know the patch is not nicely formed, but i don't have CVS currently.
Comment #11
lupus78 commentedI've fixed the patch file, so it would apply more easily to dev version.
Comment #12
hansrossel commentedComment #13
IetC_development commentedPatch #11 worked fine for me.
Comment #14
itserich commentedI am trying Google Map Tools for the first time and am having some odd display issues.
When trying to configure GMaps Address as a CCK field, the GMaps settings field do not expand and collapse correctly (only one field will expand at a time, and it will not collapse).
When creating content the map displayed in the GMaps Address field is very short, not even the height of the control arrows.
I did recently upgrade to PHP 5.3 and am wondering if that is the cause of these issues.
Comment #15
xmarket commented"Parameter n to xy() expected to be a reference" bugs have been fixed in dev.
Comment #16
roball commentedThen the issue seems to be closed.