Adding a place is not working

This topic contains 40 replies, has 3 voices, and was last updated by  Stiofan O’Connor 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #422284

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have made it so it will print the POST data to the screen when submitted, can u try again and then paste the info here.

    Thanks,

    Stiofan

    #422285

    Dirk
    Full Member
    Post count: 390

    Array ( [_wpnonce] => 50242d4988 [_wp_http_referer] => /wp-admin/post-new.php?post_type=gd_place [user_ID] => 1 [action] => editpost [originalaction] => editpost [post_author] => 1 [post_type] => gd_place [original_post_status] => auto-draft [referredby] => http://geodir.dirki.org/wp-admin/edit.php?post_type=gd_place [_wp_original_http_referer] => http://geodir.dirki.org/wp-admin/edit.php?post_type=gd_place [auto_draft] => [post_ID] => 50 [meta-box-order-nonce] => fa1889f06f [closedpostboxesnonce] => e634ecc2e4 [classic-editor] => [post_title] => Test with log [samplepermalinknonce] => 135baefa85 [content] => [wp-preview] => [hidden_post_status] => draft [post_status] => draft [hidden_post_password] => [hidden_post_visibility] => public [visibility] => public [post_password] => [mm] => 03 [jj] => 20 [aa] => 2018 [hh] => 13 [mn] => 06 [ss] => 35 [hidden_mm] => 03 [cur_mm] => 03 [hidden_jj] => 20 [cur_jj] => 20 [hidden_aa] => 2018 [cur_aa] => 2018 [hidden_hh] => 13 [cur_hh] => 13 [hidden_mn] => 06 [cur_mn] => 06 [original_publish] => Publish [publish] => Publish [tax_input] => Array ( [gd_place_tags] => [gd_placecategory] => Array ( [0] => 2 ) ) [newtag] => Array ( [gd_place_tags] => ) [geodir_post_attachments_noncename] => 019dffaa7f [post_images] => [geodir_post_info_noncename] => 019dffaa7f [cat_limit] => Array ( [gd_placecategory] => ) [default_category] => 2 [default_category_radio] => 2 [street] => 2121 Decatur St SE [zip] => 30303 [latitude] => 33.75327727980975 [longitude] => -84.3879824 [mapview] => ROADMAP [mapzoom] => [business_hours_f] => Array ( [active] => 0 [hours] => Array ( [Mo] => Array ( [open] => Array ( [0] => 09:00 ) [close] => Array ( [0] => 17:00 ) ) [Tu] => Array ( [open] => Array ( [0] => 09:00 ) [close] => Array ( [0] => 17:00 ) ) [We] => Array ( [open] => Array ( [0] => 09:00 ) [close] => Array ( [0] => 17:00 ) ) [Th] => Array ( [open] => Array ( [0] => 09:00 ) [close] => Array ( [0] => 17:00 ) ) [Fr] => Array ( [open] => Array ( [0] => 09:00 ) [close] => Array ( [0] => 17:00 ) ) ) ) [business_hours] => [excerpt] => [metakeyinput] => [metavalue] => [_ajax_nonce-add-meta] => 54c2fbe1dd [advanced_view] => 1 [comment_status] => open [post_name] => [post_author_override] => 1 )

    #422286

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It does not seem to be creating the entry in the details table for ur posts.
    I have tried everything i can think of to relicate on my test site with no luck.
    Can you give me that user login and FTP for the site and i’ll debug the code.

    Thanks,

    Stiofan

    #422287

    Dirk
    Full Member
    Post count: 390

    It has nothing to do with the user. I even cannot add with the GD user correctly (see my last test).
    I will get you the FTP credentials

    #422291

    Dirk
    Full Member
    Post count: 390
    This reply has been marked as private.
    #422293

    Dirk
    Full Member
    Post count: 390

    I will setup a XAMPP installation here in the meantime.

    #422299

    Dirk
    Full Member
    Post count: 390

    On my local installation with OSM I’m guessing that a script is overriding the address???

    #422346

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Dirk,

    I am not even sure what u are showing me above?
    Is it a backend add listing page? Do you have and browser extensions that are maybe altering stuff?

    Can you add a listing from your phone/tablet from backend (still can’t figure out why your submissions are not creating a table entry)

    Stiofan

    P.S. Thanks for your time on this, it is really appreciated!

    #422362

    Dirk
    Full Member
    Post count: 390

    Okay. I will test it. It is showing the backend “add place” page. In the debug section you can see that the original input field had a value with “Callowhill…”. But during loading your script is changing this to “Philadephia”.

    I will check if language settings are a source of the problem. I’m on windows with german language.

    Best,
    Dirk

    #422364

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The word “Callowhill” is not in any of our files, i am beginning to think its a browser plugin/extension changing things up?

    Stifoan

    #422365

    Dirk
    Full Member
    Post count: 390

    This is what I added (in the address field) before publish. But this is on my XAMPP system with OSM. And the pic is showing the result after publishing.

    #422368

    Dirk
    Full Member
    Post count: 390

    Okay. On the test server I was now able to add a place with location. I used MacOS and Safari on my laptop. Let me check my office PC (windows with chrome).
    Typically, I don’t have a lot of plugins installed on the browsers.
    Looks like it is a problem of my PC setup.

    #422369

    Dirk
    Full Member
    Post count: 390

    But I use this PC for maintaining my live site and I’m adding places on a GDv1 system every day…

    #422484

    Dirk
    Full Member
    Post count: 390

    Okay. On my server it is working.

    The difference what I can see is that the hoster is using different MySQL Version. As WP is running on the hoster database, do you have additional requirements on the database?

    Let me also check scheme and char settings on the MySQL Server of the hoster.

    #422501

    Dirk
    Full Member
    Post count: 390

    Really strange. I switched on debug information in WP. On the hosters page I’m getting a “Trying to get property of non-object”. With some additional print_r I can see that $gd_post is not existing.

Viewing 15 posts - 16 through 30 (of 41 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket