Missing files for Google maps?

johnohod
Offline
Last seen: 1 year 2 months ago
Sun, 09/24/2017 - 05:18
#1
Missing files for Google maps?

I get these errors in the console of the browser:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (awe-background.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.min.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.nanoscroller.min.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (docs.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (main.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (swiper.min.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (gmaps.min.js.map, line 0)
[Error] Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messag...

I can't find the files in the template. There is no "/maps"-folder in /css.

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Tue, 09/26/2017 - 10:19

Hi,

Please try to change the js script embeded link http://maps.google.com/maps/api/js?sensor=true

to

 //maps.google.com/maps/api/js?key=AIzaSyCXi6x5-3bVVXUnF7TNZtCOCigNPeNgnsw

If the problem is not solved, please send us the screenshot

johnohod
Offline
Last seen: 1 year 2 months ago
Tue, 09/26/2017 - 16:30

It still doesn't work. I think there are files/folders missing from the package I downloaded. I don't really need Google maps, so if I can disable it all together that would solve it for me.

Tried adding a screenshot to this forum post, but it looks like the image uploader is broken. I'll try and send it with mail.

johnohod
Offline
Last seen: 1 year 2 months ago
Sun, 10/29/2017 - 03:19

Would be nice to have an answer :)

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Mon, 10/30/2017 - 11:58

Hi,

We have not received your screenshots. You can send us via email ([email protected])
and please send us your site url and admin account also

johnohod
Offline
Last seen: 1 year 2 months ago
Tue, 10/31/2017 - 01:18

Uploading files here don't work. But I've put the screenshot here: http://cymbaler.no/screen.jpg

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Tue, 10/31/2017 - 11:09

Hi,

Please go to _site\css: 

and scroll down to bottom and remove
/*#> 

johnohod
Offline
Last seen: 1 year 2 months ago
Tue, 10/31/2017 - 15:03

I apologise, I don't understand what you mean by "_site\css:", are you talking about a specific file in the css-folder?

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Wed, 11/01/2017 - 10:05

Hi,

Please ignore the above comment. Please go to folder \hosoren-source\_site\css and open file main.css

and scroll down to bottom and remove 

/*# sourceMappingURL=maps/main.css.map */
johnohod
Offline
Last seen: 1 year 2 months ago
Wed, 11/01/2017 - 15:44

I have done that, and it makes no difference. /**/ means that the line is commented out anyway.

I still get 6 javascript errors beacuse of files that are missing. I have checked the folder structure, and the files are just missing, I didn't get then when I bought the design template. I have no "site/css/maps" folder and no "site/js/vendor/jquery.min.map" file. You can just go to http://c.kanting.no, to see the errors. 

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Wed, 11/01/2017 - 16:40

Hi,

We check and see no error

Please see https://1drv.ms/i/s!ArRPkgVQNPYZgg-tNN2YS64mjjrm

johnohod
Offline
Last seen: 1 year 2 months ago
Wed, 11/01/2017 - 16:49

That is very strange. I get this: http://cymbaler.no/fullscreen.jpg but it's in Safari.

Are the files that Safari lists as missing supposed to be in the template?

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Thu, 11/02/2017 - 12:16

Hi,

Please open files:

http://c.kanting.no/css/docs.css

http://c.kanting.no/css/awe-background.css

http://c.kanting.no/js/plugins/swiper.min.js

http://c.kanting.no/js/plugins/jquery.nanoscroller.min.js

http://c.kanting.no/js/vendor/jquery-1.11.3.min.js

 and remove the last line

/*# sourceMappingURL=maps/docs.css.map */

and upload file favicon.ico to folder which contains file index.html 

johnohod
Offline
Last seen: 1 year 2 months ago
Fri, 11/03/2017 - 03:05

Thank you for your advice! I'm now down from 6 errors to 4 errors:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (awe-background.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (docs.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (swiper.min.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.nanoscroller.min.js.map, line 0)

cindy
cindy's picture
Offline
Last seen: 2 days 8 hours ago
Fri, 11/03/2017 - 09:35

Hi,

You have to remove the code in all 5 files listed above

johnohod
Offline
Last seen: 1 year 2 months ago
Fri, 11/03/2017 - 20:17

Yes, but that is the problem that I have been trying to tell you. I don't have those files! I can't remove anything from http://c.kanting.no/js/plugins/maps/swiper.min.js.map, because I have no "maps" folder at all under plugins. 

http://cymbaler.no/files.jpg

Neo
Offline
Last seen: 1 year 2 months ago
Sat, 11/04/2017 - 11:08

hi John,

You don't need .map files (and you don't have it), it's for our development only. Our mistake did not remove those line from files. Please open those files:

css/docs.css
css/awe-background.css
js/plugins/swiper.min.js
js/plugins/jquery.nanoscroller.min.js

and scroll to bottom, find: 

/*# sourceMappingURL=

and remove that line.

Log in or register to post comments