Adding a place is not working
This topic contains 40 replies, has 3 voices, and was last updated by Stiofan O’Connor 6 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 20, 2018 at 1:05 pm #422284
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
March 20, 2018 at 1:07 pm #422285Array ( [_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 )
March 20, 2018 at 1:31 pm #422286It 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
March 20, 2018 at 1:37 pm #422287It 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 credentialsMarch 20, 2018 at 1:48 pm #422291This reply has been marked as private.March 20, 2018 at 1:50 pm #422293I will setup a XAMPP installation here in the meantime.
March 20, 2018 at 2:22 pm #422299On my local installation with OSM I’m guessing that a script is overriding the address???
March 20, 2018 at 5:05 pm #422346Hi 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!
March 20, 2018 at 6:46 pm #422362Okay. 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,
DirkMarch 20, 2018 at 6:51 pm #422364The word “Callowhill” is not in any of our files, i am beginning to think its a browser plugin/extension changing things up?
Stifoan
March 20, 2018 at 6:51 pm #422365This 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.
March 20, 2018 at 6:58 pm #422368Okay. 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.March 20, 2018 at 6:58 pm #422369But I use this PC for maintaining my live site and I’m adding places on a GDv1 system every day…
March 21, 2018 at 8:19 am #422484Okay. 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.
March 21, 2018 at 10:13 am #422501Really 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket