On my localhost on the settings page admin/structure/openlayers I keep getting the Javascript error "Error making request to server."

This wasn't happening before. I used variations of the following in the OpenLayers Source:

Nothing seems to get rid of the error. All of these are 2.11 versions, though I wonder if there's been some change since a 2.12RC is now out.

Files: 
CommentFileSizeAuthor
#5 openlayers-non_clean_url_version_check-1533546-5.patch680 bytesfriedjoff
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

Comments

Category:bug» support

Hi @mgifford. Just a formality, please default to "support request" unless a bug has been identified already.

More information is needed here. In Chrome or Firefox, there are network tools which should help you locate what file is giving that error.

Maybe on the support request. Certainly since it hasn't been verified as a bug with the coding.

This was with Firefox. Don't think it was a network thing either as the maps were working fine, just the Javascript on the config page was reporting an error.

You can actually see it here - http://drupal.org/node/1481374 - as I was running into it when editing the D7 docs.

I was able to replicate the error (which is only visible after saving it) with the dev version specified on the Mac with FF, Chrome, Opera & Safari.

Again, it's the Javascript tool which is aiming to verify that it's 2.11

Issue tags:+clean URL

Most likely it is a "Clean URL" issue.

I've experienced the same problem, but found the solution here:
http://drupal.org/node/1375156

and a related problem and solution also:
http://drupal.org/node/1333134

Category:support» bug
Status:Active» Needs review
Issue tags:-clean URL
StatusFileSize
new680 bytes
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

This is indeed a "Clean URL" issue. I think it's save to always include the "?q=" url part (see attached patch).

Status:Needs review» Reviewed & tested by the community

Seems like a simple enough patch. Applies nicely.

Status:Reviewed & tested by the community» Fixed

Committed, thanks.

Automatically closed -- issue fixed for 2 weeks with no activity.