shawn bright
2008-Mar-15 09:09 UTC
[Ym4r-user] my keys to google maps api only work in webrick
Hey there all,. i am developing three sites that run on the same code, just different logos, different companies, etc.. i have a config file that i believe is how it should be and it works on webrick, but i get application errors when i try to move it to the apache FCGI . looks like this development: ABQIAAAA8GzGL0c5HitzfNKYM4nk_BQODDn4SSK1uiT7GyxROHR1XtTV_RTBQrvsTtfZDFeAH2vzkOtXunHV9g test: www.mydomain.com : ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQaeqaw49lXc0oaHHYcxTFTjWleXY7LH-N3IAp9ruoqiU43w www.myotherdomain.com : ABQIAAAA8GzGL0c5HitzfNKYM4nk_BSx99h9tasdeYb1j2b-U66PBTfMSIiQIhjRfzcStCKrQcYDJnCCw www.mythirddomain.com : ABQIAAAA2ia3EuhQ0s_YuXVoYLIpURQxypaeasfwuc86W-RYF4VMBTVPXFhnHov2wbNF9ue4itpxH6g9A production: www.mydomain.com : : ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQXfahRKLczKzlJSy9lXc0okdasadTFTjWleXY7LH-N3IAp9ruoqiU43w www.myotherdomain.com : ABQIAAAA8GzGL0c5HitzfNKYM4nk_BSx99h9t8Gp-7jw1NYb1j2b-U6asdfaIiQIhjRfzcStCKrQcYDJnCCw www.mythirddomain..com : ABQIAAAA2ia3EuhQ0s_YuXVoYLIpURQxypXxk2Sasdfe86W-RYF4VMBTVPXFhnHov2wbNF9ue4itpxH6g9A if i run it in production mode i get application error. if i run it in development mode, it tells me that this key is registered to another website and i need to get an api key at /google/apis/maps webrick does everything right any ideas? thanks
shawn bright
2008-Mar-15 13:08 UTC
[Ym4r-user] my keys to google maps api only work in webrick
another hint, the error in the production.log is ActionView::TemplateError (texaspivot.com,pivotrac.com,ontracbyreinke.com) on line #1 of app/views/group/map_main_layout.rhtml: 1: <%= GMap.header %> 2: <script src="/javascripts/markerGroup.js" type="text/javascript"></script> 3: <%= @map.to_html %> 4: <%= @map.div(:width => 1000, :height => 600) %> hope this helps shawn On Sat, Mar 15, 2008 at 4:09 AM, shawn bright <nephish at gmail.com> wrote:> Hey there all,. i am developing three sites that run on the same code, > just different logos, different companies, etc.. > i have a config file that i believe is how it should be and it works > on webrick, but i get application errors when i try to move it to the > apache FCGI . > > looks like this > > development: > ABQIAAAA8GzGL0c5HitzfNKYM4nk_BQODDn4SSK1uiT7GyxROHR1XtTV_RTBQrvsTtfZDFeAH2vzkOtXunHV9g > > test: > www.mydomain.com : > ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQaeqaw49lXc0oaHHYcxTFTjWleXY7LH-N3IAp9ruoqiU43w > www.myotherdomain.com : > ABQIAAAA8GzGL0c5HitzfNKYM4nk_BSx99h9tasdeYb1j2b-U66PBTfMSIiQIhjRfzcStCKrQcYDJnCCw > www.mythirddomain.com : > ABQIAAAA2ia3EuhQ0s_YuXVoYLIpURQxypaeasfwuc86W-RYF4VMBTVPXFhnHov2wbNF9ue4itpxH6g9A > > > production: > www.mydomain.com : : > ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQXfahRKLczKzlJSy9lXc0okdasadTFTjWleXY7LH-N3IAp9ruoqiU43w > www.myotherdomain.com : > ABQIAAAA8GzGL0c5HitzfNKYM4nk_BSx99h9t8Gp-7jw1NYb1j2b-U6asdfaIiQIhjRfzcStCKrQcYDJnCCw > www.mythirddomain..com : > ABQIAAAA2ia3EuhQ0s_YuXVoYLIpURQxypXxk2Sasdfe86W-RYF4VMBTVPXFhnHov2wbNF9ue4itpxH6g9A > > if i run it in production mode i get application error. > if i run it in development mode, it tells me that this key is > registered to another website and i need to get an api key at > /google/apis/maps > webrick does everything right > > > any ideas? > > thanks >