Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    What version of JM are you on now?

    Thread Starter mattrin

    (@mattrin)

    I am using listify.
    I m on their latest version release.

    Plugin Author Mike Jolley

    (@mikejolley)

    WP Job Manager version – I added WP ALL IMPORT support in 1.19, but you need to ensure you set the _job_location meta data for it to work.

    Thread Starter mattrin

    (@mattrin)

    Hi Mike, my version is 1.19.0
    I checked _job_location is being filleed out.
    It is also getting migrated but geocoding is not happenign. Do I need to provide any API key or sth anywhere.

    In fact if I go to front end, click on edit listing and I am not making any changes but just saving, the geocoding is happening, but not happenign from back end…

    Kindly guide.

    Plugin Author Mike Jolley

    (@mikejolley)

    After import, go to the ‘custom fields’ section of the job. Screenshot me what fields are there (before saving).

    Thread Starter mattrin

    (@mattrin)

    Hi Mike, here is the output from the logfile during import:
    =============
    Record #15
    ACTION: pmxi_before_post_import …
    Combine all data for post mycity Bana
    Find corresponding article among previously imported for post mycity Bana
    Duplicate post wasn’t founded with unique key mycity Bana - 15
    CREATING mycity Bana Listing
    Associate post mycity Bana with current import …
    CUSTOM FIELDS:
    – Custom field _job_location has been updated with value 12/153A2, Near Itimad Ud Daulah, Nunihai Road, Yamuna Expressway, Kuberpur, mycity, India for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field _phone has been updated with value +91 9808121777, +91 9808120777 for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocation_formatted_address has been updated with value 12/153A2, Near Itimad Ud Daulah, Nunihai Road, Yamuna Expressway for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocation_city has been updated with value for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocation_state_long has been updated with value mycity for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocation_country_short has been updated with value IN for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocation_country_long has been updated with value India for post mycity Bana
    – ACTION: pmxi_update_post_meta
    – Custom field geolocated has been updated with value 1 for post mycity Bana
    – ACTION: pmxi_update_post_meta
    IMAGES:
    – Importing image https://mycdn.com/2e691b7264aeab06773a99b32d6b965e_200_thumb.jpg for mycity Bana
    – Image https://mycdn.com/2e691b7264aeab06773a99b32d6b965e_200_thumb.jpg will be saved with name xxxxxrstimg54.jpg
    – Downloading image from https://mycdn.com/2e691b7264aeab06773a99b32d6b965e_200_thumb.jpg
    – Image https://mycdn.com/2e691b7264aeab06773a99b32d6b965e_200_thumb.jpg has been successfully downloaded
    – Creating an attachment for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg54.jpg
    – ACTION: pmxi_gallery_image
    – Attachment has been successfully created for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg54.jpg
    – Importing image https://mycdn.com/4db29167a4726ed4827f0fe82d27ba67_200_thumb.jpg for mycity Bana
    – Image https://mycdn.com/4db29167a4726ed4827f0fe82d27ba67_200_thumb.jpg will be saved with name xxxxxrstimg55.jpg
    – Downloading image from https://mycdn.com/4db29167a4726ed4827f0fe82d27ba67_200_thumb.jpg
    – Image https://mycdn.com/4db29167a4726ed4827f0fe82d27ba67_200_thumb.jpg has been successfully downloaded
    – Creating an attachment for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg55.jpg
    – ACTION: pmxi_gallery_image
    – Attachment has been successfully created for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg55.jpg
    – Importing image https://mycdn.com/1234344e281f2b04ac8088d0787eeb_200_thumb.jpg for mycity Bana
    – Image https://mycdn.com/1234344e281f2b04ac8088d0787eeb_200_thumb.jpg will be saved with name xxxxxrstimg56.jpg
    – Downloading image from https://mycdn.com/1234344e281f2b04ac8088d0787eeb_200_thumb.jpg
    – Image https://mycdn.com/1234344e281f2b04ac8088d0787eeb_200_thumb.jpg has been successfully downloaded
    – Creating an attachment for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg56.jpg
    – ACTION: pmxi_gallery_image
    – Attachment has been successfully created for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg56.jpg
    – Importing image https://mycdn.com/3f18d22feee275382c5c87b7b7960b22_200_thumb.jpg for mycity Bana
    – Image https://mycdn.com/3f18d22feee275382c5c87b7b7960b22_200_thumb.jpg will be saved with name xxxxxrstimg57.jpg
    – Creating an attachment for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg57.jpg
    – ACTION: pmxi_gallery_image
    – Attachment has been successfully created for image https://xxxxx.co/wp-content/uploads/2015/01/xxxxxrstimg57.jpg
    TAXONOMIES:
    – Importing taxonomy job_listing_region
    – Auto-nest enabled with separator >
    – Attempted to create parent Listing job_listing_region India, duplicate detected. Importing Listing to existing India job_listing_region, ID 1239, slug india
    – Attempted to create child Listing job_listing_region mycity, duplicate detected. Importing Listing to existing mycity job_listing_region, ID 1240, slug mycity
    – Creating child Listing job_listing_region for mycity named Kuberpur
    – Importing taxonomy job_listing_category
    – Attempted to create parent Listing job_listing_category North bhartiy, duplicate detected. Importing Listing to existing North bhartiy job_listing_category, ID 1149, slug north-bhartiy
    – Attempted to create parent Listing job_listing_category Chinese, duplicate detected. Importing Listing to existing Chinese job_listing_category, ID 1120, slug chinese
    – Attempted to create parent Listing job_listing_category Continental, duplicate detected. Importing Listing to existing Continental job_listing_category, ID 1121, slug continental
    – Attempted to create parent Listing job_listing_category dakshin bhartiy, duplicate detected. Importing Listing to existing dakshin bhartiy job_listing_category, ID 1154, slug dakshin-bhartiy
    – Importing taxonomy job_listing_type
    – Attempted to create parent Listing job_listing_type Casual Dining, duplicate detected. Importing Listing to existing Casual Dining job_listing_type, ID 1163, slug casual-dining
    – Importing taxonomy job_listing_tag
    – Attempted to create parent Listing job_listing_tag Home Delivery, duplicate detected. Importing Listing to existing Home Delivery job_listing_tag, ID 1248, slug home-delivery
    – Attempted to create parent Listing job_listing_tag Dine-In Available, duplicate detected. Importing Listing to existing Dine-In Available job_listing_tag, ID 1243, slug dine-in-available
    – Attempted to create parent Listing job_listing_tag Serves Non Veg, duplicate detected. Importing Listing to existing Serves Non Veg job_listing_tag, ID 1244, slug serves-non-veg
    – Attempted to create parent Listing job_listing_tag Bar Not Available, duplicate detected. Importing Listing to existing Bar Not Available job_listing_tag, ID 1249, slug bar-not-available
    – Attempted to create parent Listing job_listing_tag Air Conditioned, duplicate detected. Importing Listing to existing Air Conditioned job_listing_tag, ID 87, slug air-conditioned
    CREATED mycity Bana Listing (ID: 1376)
    ACTION: pmxi_saved_post
    ACTION: pmxi_after_post_import
    =========================

    As you can see the Custom field _job_location has been updated with right address value during upload. Yet, during import it is not getting geocoded auomatically.

    Please let me know your email address where I can send you the screenshots…

    Plugin Author Mike Jolley

    (@mikejolley)

    I can see you’ve set geolocated = 1 in the above log. If that field is set, no geolocation is done.

    Hi.. I’m having the same problem.. sometimes it chooses to geolocate and sometimes it does not.. I have around 300,000 listings which need to be imported and it doesn’t make sense to go and hit update on each listing..

    Ive set geolocated to 0, to 1, and it just doesn’t make sense that neither works.

    please help..

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    @noob101: Please create your own thread per the Forum Welcome policy:

    https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    @noob101 – just wondering if you created your own thread or if you were able to resolve this. I’m having the same issue too.

    The issue seems to be with wp-job-manager. While the Listify WP Import All add-on does geocoding, wp-job-manager does it’s own geocoding to get the address (not just the lat/lng).

    Wp-job-manager doesn’t support an API key, and when I looked at the data coming from their API call I got:

    [error_message] => Requests to this API must be over SSL.

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    For what it’s worth, we do support keys, but you need to add it via a filter:

    https://gist.github.com/mikejolley/65b30187d377e7cee517

    Hi, I had same error, but api key didn’t solve my problem.
    The strange stuff is that geocoding worked for old address (about 1600), but it didn’t work for new ones. All ok instead on fresh wordpress install… very strange for me.

    I did in this way:

    class: class-wp-job-manager-geocode.php
    method: get_location_data
    row: 126
    solution: i changed the url from http to https and it works (“https://maps.googleapis.com/maps/api/geocode/json?address=”) also if my website isn’t over https.

    if it works also for other situations, could you update the code?

    Thanks

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    Submitted a pull request here to change it:

    https://github.com/Automattic/WP-Job-Manager/pull/585

    Not sure if that’s really what the fix was to be honest, but it can’t hurt. ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Geocoding not working while doing mass import through WP ALL Import’ is closed to new replies.