I have updated my site to have clean URLs yesterday and to Drupal 4.7.4 today. After that, I really don´t know which update maked the mistake, but the Node Links in Node Map are not shown anymore.
The Node map link is http://www.inforo.com.ar/map/node.
Is this a bug after the update or maybe I have made any mistake during update?
All other things seems to be working ok up to now.
Thanks in advance for your support.
Gustavo

Comments

wmostrey’s picture

Hey Gustavo,

Since the problem still exists when you access the site without the clean url (http://www.inforo.com.ar/?q=map/node) I'm afraid this is a 4.7.4 issue.

wmostrey

adminfor@inforo.com.ar’s picture

Category: support » bug

Thank you Wim. You are right, the problem is still happening also with "non" clear URLs.

I´ve not so much experience in this kind of coding but, as far as I could see, markers appear in the source code of the generated page, in the form of:

"clusterer.AddMarker(createGMarker(new GLatLng(-34.605166,-58.392193),'

Does someone experimented the same problem or knows how to fix that?
Thanks in advance.

adminfor@inforo.com.ar’s picture

No solution up to now, but more information. Whenever I tried to open the node map, 2 new entries of "page not found" appeared in the watchdog, codehaus and acme java scripts.
Is both cases generated source is as follows (a slash is making the mistake before the http:\\):

"

"
"

"
"

@import "/modules/minutes/minutes.css";

"
"

"
"

"
"

"
"

"
"

"

Any idea?

adminfor@inforo.com.ar’s picture

missed the code... (how may I post a piece of code without making trouble?)

... script type="text/javascript" src="/http://www.acme.com/javascript/Clusterer2.js" ....
... script type="text/javascript" src="/http://dist.codehaus.org/geoserver/gmaps-geoserver_scripts/wms-gs-1_0_1.js"....

adminfor@inforo.com.ar’s picture

Priority: Normal » Critical

Well, again, I´m not a experienced PHP coder.
I discovered that the problem is not in Gmap module because drupal_add_js added an unnecessary slash at the begging of the URL when calling the codehaus and acme´s js.
I´m not 100% sure, but, after downloading this scripts in the misc folder the drupal_add_js is not called and the node map works fine. This is only a workaround to solve the problem in the meantime.
I guess, the drupal_add_js is used also for other purposes and this may cause another problems.
Now, I ask the help of an experienced coder to confirm this bug, may we have to change its category.
Again, thanks

webgeer’s picture

Priority: Critical » Normal

I have a feeling that there is a security concern about using remotely hosted javascript. (One hacked or malicious site could bring down a number of Drupal sites)

I would suggest is that you copy these js files to your misc directory. (The script will always look there first and if it finds it there, will load the local version).

In the meantime I will be commenting out these lines so they wont cause that problem, but obviously wms and clusterer wont work until these are locally hosted. I wont call this a fix (yet), but I am going to move it to non-critical.

adminfor@inforo.com.ar’s picture

I agree with you about the threatness of external js. May be the download to a local copy of this two js could be part of the installation instructions and all set.
Thank you very much for your attention,
Regards
Gustavo

bdragon’s picture

Status: Active » Closed (fixed)

The 5.x version uses locally hosted copies...