• Resolved Bangassou

    (@bangassou)


    I installed older Version (0.6.1) on a different site before without any problem. Now I am about to install the 1.0.5 and now I am facing trouble:

    After clicking “START USING PLUGIN” I receive

    “DataTables warning (table id = ‘gmpMapsListTable’): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error”

    and

    “DataTables warning (table id = ‘gmpTableMarkers’): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.”

    The plugin interface is available but does not allow to save anything (Map, Marker group, plugin setting). Seems to be idle.

    Ralph

    https://wordpress.org/plugins/google-maps-ready/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author google-maps-plugin

    (@google-maps-plugin)

    Hello.
    I think there are some error on server when trying to get list of maps and markers. Please activate console (in Chrome), go to google maps admin page again, there will be 2 server requests in console – can you send me response for them?

    Thread Starter Bangassou

    (@bangassou)

    Thanks. Sorry for being late. Didn’t get a notification.

    CHROME:
    Following your hint, I am getting dozens of

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    POST https://localhost:26143/skypectoc/v1/pnr/parse net::ERR_CONNECTION_REFUSED

    even if Skype is closed. Probably the MOZILLA result at end of this text is better

    l.cors.a.crossDomain.send     jquery-2.1.0.min.js:28
    o.extend.ajax     jquery-2.1.0.min.js:28
    PNR.findNumbers      pnr.js:43
    (anonymous function)     contentscript.js:323
    parseContent     contentscript.js:299
    processMutations     contentscript.js:214
    MutationSummary.observerCallback     mutation-summary.js:1622
    (anonymous function)     mutation-summary.js:1416

    HEADERS

    Remote Address:173.194.70.95:443
    Request URL:https://maps.googleapis.com/maps/gen_204?target=api&ev=api_viewport&cad=host:localhost%3A8080,v:17,vr:1,r:1,mt:m,c:6.850243%2C0,sp:158.69677x360.00000,size:1242x430,relsize:0.41,token:8ppkuf4xvu,src:apiv3,ts:e98qux
    Request Method:GET
    Status Code:204 No Content
    Request Headers
    :host:maps.googleapis.com
    :method:GET
    :path:/maps/gen_204?target=api&ev=api_viewport&cad=host:localhost%3A8080,v:17,vr:1,r:1,mt:m,c:6.850243%2C0,sp:158.69677x360.00000,size:1242x430,relsize:0.41,token:8ppkuf4xvu,src:apiv3,ts:e98qux
    :scheme:https
    :version:HTTP/1.1
    accept:image/webp,*/*;q=0.8
    accept-encoding:gzip,deflate,sdch
    accept-language:en-US,en;q=0.8
    referer:http://localhost:8080/wordpress/wp-admin/admin.php?page=ready-google-maps&tab=gmpAddNewMap
    user-agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
    Query String Parametersview sourceview URL encoded
    target:api
    ev:api_viewport
    cad:host:localhost:8080,v:17,vr:1,r:1,mt:m,c:6.850243,0,sp:158.69677x360.00000,size:1242x430,relsize:0.41,token:8ppkuf4xvu,src:apiv3,ts:e98qux
    Response Headers
    alternate-protocol:443:quic
    cache-control:no-cache, must-revalidate
    content-length:0
    content-type:image/gif
    date:Wed, 09 Jul 2014 06:17:38 GMT
    expires:Fri, 01 Jan 1990 00:00:00 GMT
    pragma:no-cache
    server:mafe
    status:204 No Content
    version:HTTP/1.1
    x-frame-options:SAMEORIGIN
    x-xss-protection:1; mode=block

    with MOZILLA console:

    SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead load-scripts.php:1
    Error: http://localhost:8080/wordpress/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,json2&ver=3.6 is being assigned a //# sourceMappingURL, but already has one
    "Clear" ceceppaml.js:17
    Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.
    Plugin Author google-maps-plugin

    (@google-maps-plugin)

    Hello.
    Ok, I see, this is good, but I need responce for server requests for get maps list or get markers list, they are like:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    http://YOUR_SITE_PATH/wp-admin/admin-ajax.php?page=gmap&action=getListForTable&reqType=ajax&pl=gmp&sEcho=1&iColumns=6&sColumns=&iDisplayStart=0&iDisplayLength=10&mDataProp_0=id&mDataProp_1=title&mDataProp_2=description&mDataProp_3=list_html_options&mDataProp_4=list_markers&mDataProp_5=operations&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=true&bSortable_1=true&bSortable_2=true&bSortable_3=true&bSortable_4=true&bSortable_5=true&_=1404901546831

    Can you provide me with responces for it?

    Thread Starter Bangassou

    (@bangassou)

    Thanks a lot

    Apparently it works now. I found the warning

    “Fatal error: Call to undefined function wp_get_current_user() in D:\Program Files\xampp\htdocs\wp-includes\user.php on line 254”

    and found a solution for it. I followed the instructions under
    http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_current_user-4?replies=32

    So opening capablities.php and adding require_once(‘pluggable.php’); right after the opening <?php tag at the top of the file solved the problem.

    Yesterday I was installing Google-Maps-Ready-Plugin and Ceceppa Multilingua. They might have caused the problem!

    Thank You for Your support!

    Thank you very much!

    Ralph

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘After Installation: DataTables warning (table id = 'gmpMapsListTable')’ is closed to new replies.