Could not find GoogleMapsAPIKey in Web.config

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/19/2008 4:56:59 AM
Nux
Gravatar
Total Posts 183

Could not find GoogleMapsAPIKey in Web.config

Hey,

I'm having problems with the blogcomments.
When I try to enter a comment, no comment was added and I get the message: "Could not find GoogleMapsAPIKey in Web.config".

I found GoogleMapsAPIKey in de web.config, only it's value is empty.
I hope I don't have to create such a key, since I don't want to use Google Maps.

Bug or wrong setting from me?

Thanks
Stef
 

11/19/2008 7:02:45 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

Hi Stef,

Seems strange, are you using the latest code?

I removed my google map key and I cannot produce this problem.

In your blog post did you add something for the location setting? That indicates it should show a map so leave it blank if you don't intend to do it.

Whether you choose to actually use a google map feature, its trivial and free to get a key, just enter your site url on this page:

http://code.google.com/apis/maps/signup.html

Note that having it in the Web.config is the last chance lookup for the google map key, it looks first in sitesettings so you can enter a key there without touching web.config

If the problem persists, please try to produce it on the demo site so I can see it.

Best,

Joe

11/20/2008 7:08:11 AM
Nux
Gravatar
Total Posts 183

Re: Could not find GoogleMapsAPIKey in Web.config

Joe,

I checked everything, still the same.
So I went to the site for a key and putted that in the sitesettings ... still that error.
I have put the key in de web.config, now I got the error: location not found.
Nothing to see in the log file.

I have a beta version of my site, and a live site. The live site is 1 build higher.
Both sites have these errors.

Stef


 

11/20/2008 7:59:14 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

Are you sure your blog posts don't have something entered for the location field? If they do clear them out. Location is only for putting an address to show on a google map.

11/20/2008 8:39:23 AM
Nux
Gravatar
Total Posts 183

Re: Could not find GoogleMapsAPIKey in Web.config

Joe,

check the demo version please: http://demo.mojoportal.com/sqdf-sdqf.aspx
Click on the button to add a comment, you will also see that "location not found" error.

Just added a new page, put a blog module on it, added a post.
Did nothing on the settings....

Stef
 

11/20/2008 8:44:06 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

Hi Stef,

Ok, I see it now and will investigate. It does work correctly if the user solves the captcha, but if they don't it is a bug to show the location not found message, it also seems to show the comments are closed message at the bottom.

Thanks,

Joe

11/20/2008 9:15:21 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

This is now fixed in svn trunk.

Thanks,

Joe

11/20/2008 9:20:40 AM
Nux
Gravatar
Total Posts 183

Re: Could not find GoogleMapsAPIKey in Web.config

That was quick :D

Don't know if this is the correct place to ask, but would it be possible to make those comments as a stand alone module/control?
I'm thinking of making a news module, but I do like the comment functions, and it would be pitty to make it again.

I haven't found the time to check how this is really working, but I guess it is not a control in the page.
And it would be nice if this can be a control, with certain properties, that can be placed in more than just the blog module.

Just a thought.

Thanks again Joe

11/20/2008 9:34:21 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

In retrospect, it was a mistake to implement tagging and comments inside the blog feature because its not re-usable. If you look at the roadmap, I have plans to make tagging and comments a core infrastructure service so it can be implemented/utilized easier from within any feature. Then I will replace the current comment and tagging in the blog with the new versions.

Best,

Joe

11/20/2008 10:08:42 AM
Nux
Gravatar
Total Posts 183

Re: Could not find GoogleMapsAPIKey in Web.config

Joe,

I think these are THE things indeed that needs to be done to make this cms complete.
Must say that I really do believe in your product, specially now seeing your roadmap.

So I say it again: if I can help you with something, please don't hesitate to ask me.

Stef


 

 

11/20/2008 10:36:28 AM
Gravatar
Total Posts 18439

Re: Could not find GoogleMapsAPIKey in Web.config

If there is something you want to work on just let me know. As long as the scope of it is fairly contained its easier for me to coordinate your efforts. ie, if you want to make additional improvements to the blog and I agree to your proposal and you keep the scope of your work in the blog so that its a limited number of files where you will make modifications that will make it much easier for me to find time to coordinate your efforts. I have limited capacity for it so I need people who can get good results with limited assistance from me. Keep in mind that any required schema changes for existing features have to be implemented for all data layers before it can be put in the repository. I can generally implement the other layers if you implement the MS SQL changes, but its important that you keep any db work to straightforward crud so its easy to translate to other db platforms. Also try and code in a style consistent with existing code. If you do these things and if I find your code to generally meet my approval over time my confidence and trust in your work will grow and it will be easier for you to do more.

There is one project I have in mind that I think would be a huge boost to the popularity and that is making a WinForms appalication to install mojoPortal. The idea would be to use a regular WinForms app instead of the built in MSI installer project type stuff so that it could also be enahanced later to work on linux and install mojoportal in apache on linux machines. Phase one would be just getting it to work on windows. It needs to be able to setup IIS web site unzip the mojo release files, install them, set some config settings, set folder permissions. Ideally it will be enhanced over time so you can select the db platform and it will install the right data dlls for the selected db.

If you have any interest in that project or if you have something else that interests you more, let me know. There are tons of things that could be done as new features, like an FAQ feature would be nice.

Best,

Joe

11/21/2008 4:08:53 AM
Nux
Gravatar
Total Posts 183

Re: Could not find GoogleMapsAPIKey in Web.config

Joe,

I will first install mojoportal on my pc, so I can run it in debug mode and see how everything is programmed.
Find my way in the project. But I guess that will not be a problem. Would you mind if I look at what should happen to make the comments as a standalone component? I will not change code, just have a look, and contact you to tell you how I would do it.
You can give comment or (dis)approve my way of working.
I have send you a mail on you gmail account with more info.

Stef
 

You must sign in to post in the forums. This thread is closed to new posts.