Gmlib 1.5.3 Google Maps Script Error - gmlib

GMLib 1.5.3 stopped working today :( , maybe 3-4 hours ago . When I try to zoom out , or move something I receive an error .
Is there a solutions for this ? Or any hope that it will be fixed soon ? ( if one may ask :) )
Thank you very much.

I had errors since last week on GMLib 1.5.3.
I resolved thanks to these 3 actions :
1 : Download the last 1.5.3 version like Cadetill says to inject an Google Api Gmap key
2 : I received a 404 error on page https://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js => In fact Google migrate it to https://cdn.rawgit.com/jacopotarantino/google-maps-utility-library-v3/master/styledmarker/src/StyledMarker.js . Ok but where I could change this URL? It's on gmmapres.res files inside component directory. It's a ressource file, so you must edit with a resource editor. ANd change URL. ANd it work. On my solution, I integrated all content of this StyledMarked.js inside the file gmmapres.res. (Inside node). This secure my solution on futur url modification.
3 : After corrected these 2 previous steps, My gmap component still not working. In fact it was caused by an endless loop. I corrected exactly like Telecetera explain on this post : Endless Loop
And it's now working perfectly.
Hope this experience help some others persons.

Related

Woocommerce Checkout page error SyntaxError: Unexpected token '<', "

Hi I've been facing an issue on my website avcpetstore.com
-theme used in this is (Porto ecommerce theme)
I've tried the following steps already.
disabling all plugins (doesn't workout)
disabling current theme and activation other 2 themes (doesn't workout)
Php memory limit increased already- permalinks setup multiple times (did't workout)
all other things in terms of debug did't workout.console showing
Browser's console showing this error
Unable to fix malformed JSON
checkout.min.js?ver=7.0.0:1 ---------- Unable to fix malformed JSON
Probably in your checkout page file while copy-paste code you miss clicked and remover or added symbol like '<' so you should review code from end to start looking for unintended content. Also you could try disabling (commenting) all the hooks to that file one by one, maybe there is mistake in them.
Also you can try using the default woocommerce template file to see if it start working again and trying adding your custom code on top of your fresh default file.

Need tip how to make easiest .CSHTML autocomplete

I tried many methodes of making autocomplete in cshtml but no luck. In my project which I need to do names of diagnosis from (MS database), I got a task to do autocomplete but it always displays this error when I try my method of using jquery and ajax: error 404 for /Autocompletecontroller/GetSearch with this as an error also: When I open the jquery-1.8.0.js:8214 it shows me this xhr.send( ( s.hasContent && s.data ) || null ); So I think I'm kinda starting to give up this point, so if anyone can help me somehow it would mean the world to me. FYI I cant do .aspx files with web forums because other people are in this project as well so I can't just simply change that.

Firefox Addon : parse/save loaded jsons as HAR or text file

I'm trying out to build my first firefox addon, to solve a problem that I have at work :
I'm trying to automate a part of my daily work on a website I'm using (not developping). I have to crawl several lists on the website, dig an item in the list, to check some values, and do it again and again ...
Im used to developping in Powershell and python, not with a web browser. I have limited rights on the machine I'm working on. The only solution I can easily deploy is a firefox addon on a firefox portable. I'd like to use this to catch the json answers of the website (all of them), parse the answers for some values, and automate some kind of popup "Hey, This item in the list is between 90 and 100 !"
The network console allows me to see the jsons, and I know how to parse it well (I'm actually using a powershell script for this, but I can't connect it to the network console AFAIK)
I found a way to trigger the work at the right time :
function logJson(requestDetails) {
console.log("Chargement : " + requestDetails.url);
}
browser.webRequest.onCompleted.addListener(
logRequests,
{urls: ["*://*.crappywebsi.te/*"],
types: ["xmlhttprequest"]
}
);
This code logs the url at the right moment (every time a json is loaded)
Is it possible to catch the json on the fly, to parse it, look for specific values in a path, calculate something, and popup the result ?
Or just save the json somewhere ?
How ?
I dont want to add a button on the webpage. I want a signal that some values are right. a popup or console log is an good solution for me.
Thanks for your help !

Android Studio Gradle error: Missing project_info object

basically opening this question again because the answer is outdated, as the link now redirects to Firebase:
Gradle fails building with "Missing project_info object"
I want to attach the google-services.json file to my Android Studio project, and every time I try to download it from the developers API from Google, it gives me a json file with a large name that does't correspond to the tutorial's simple "google-services" and renaming it won't work because of this error.
Downloading it creating a new project doesn't seem possible for me now as it the page gives me another error when I click Configure a Project (I already did that before but left the project there without downloading the json file directly from there, which seems to be the problem).
Where can I safely get this file, and should I rename it or? Thanks in advance.
Apparently the solution is just following the link and creating the project with Firebase:
Then create or select a project and fill it with your app data that shoul look like this (the SHA-1 key should be found in your console log when clicking the button in the image:
Then add the lines of code that should be in your build.gradle(app level one and project level one), editing them with notepadd. Finally you need to sync these Gradle files, in Android Studio : File->Sync project with Gradle Files
The tutorial is very self explatanory, but for beginners like me, this could help.

Getting started with google gadgets

i am still trying to get my first gadget working....
so i followed the help,
openend my site, openend the scripts, added a script, made a html-type ui, published for each semicomma i changed a version since otherwise there seems no way to test the script prior to publishing it, in the exe window it looks ok, so now i wanted to embed it into the site....
and ,,, it doesn't appear ....
added "by URL"
well so i pasted the exes page URL into it, and i get a
Unsupported feature: org.apache.shindig.common.xml.XmlException: The element type "meta" must be terminated by the matching end-tag "". At: (1383,5)
so i am stuck... how do i get my gadget onto the page???
URL is https://script.google.com/macros/s/AKfycbwbTcSDuGZLy1eNlAHjrewkmOm5ZHkDQsze3CPP4-M/dev
ciao
Bruno
The url of a gadget on a web page looks like this :
https://sites.google.com/macros/exec?service=AKfycbxLvE49lcgdQlvw3ouxLnjEvYwgdiOPH5ecNYClzw
The script has to be saved with a version and published (deployed) before it can be inserted.
Could you tell us if you have the script shown in the list of available scripts in 'manage this site' (see below)
and then when you try to insert the gadget you should have the very same list like this :
if none of these steps are ok then I suggest you re-create a new script by copy/pasting the code, publish it from the script editor of the site and retry... this is a pretty staightforward procedure and I don't know what could go wrong if you follow every step of it...
good luck ;)
in the insert menu there are 2 possibilities to insert gadgets (and the logic of that escapes me, that why it took so long to find...) the first one are public gadgets and the second one is the one i searched the whole time, with the local gadgets...
so problem solved,
sorry for the inconveninence....
Bruno