Patrick

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Spaces in multi-select values #523153

    Patrick
    Full Member
    Post count: 17

    Thanks a ton! This seems to do the trick. Postman led me astray 🙂

    in reply to: Spaces in multi-select values #523092

    Patrick
    Full Member
    Post count: 17

    Here is a screenshot of the field settings. Note that I am experiencing this issue my all multi select fields and not only this particular one.

    in reply to: API to create or update cities and neighbourhoods #523065

    Patrick
    Full Member
    Post count: 17

    I’d like to be able to create a city or a neighborhood programatically. As far as I understand, this feature is not available. There is only a GET method on the locations endpoint.

    in reply to: Bug in badge code #484879

    Patrick
    Full Member
    Post count: 17

    Also, badges don’t work for addresses.

    A (partial, but sufficient) fix would be change line 736 from:

    if ($match_field && $match_field !== 'post_date')

    to:

    if ($match_field && $match_field !== 'post_date' && $match_field !== 'street') 
    in reply to: Attachments deleted when editing a listing #430371

    Patrick
    Full Member
    Post count: 17

    Alex, I’m the original poster in this thread. That’s not the issue. The background is all in this thread.

    Could you please answer my question?

    in reply to: Attachments deleted when editing a listing #430337

    Patrick
    Full Member
    Post count: 17

    Hello all,

    I’m still struggling with this issue. It’s awful. However I’m having a hard time zeroing in on an exact repro scenario which would facilitate investigations.

    Let me ask a simple question:

    Can you please give me a list of all lines of code that would DELETE an image file throughout your code base? I’ll proceed from there and add tracing. I can do my own search, but you know your code better than I do 🙂

    in reply to: Attachments deleted when editing a listing #427007

    Patrick
    Full Member
    Post count: 17

    Unfortunately, no. I had to put investigations on hold as the suggested next step was to disable all plugins, which is not acceptable in production.

    in reply to: Attachments deleted when editing a listing #426753

    Patrick
    Full Member
    Post count: 17

    I’ll set up a clone for future investigations, as this is a production web site. Thank you!

    in reply to: Attachments deleted when editing a listing #426747

    Patrick
    Full Member
    Post count: 17
    This reply has been marked as private.
    in reply to: Attachments deleted when editing a listing #426742

    Patrick
    Full Member
    Post count: 17
    This reply has been marked as private.
    in reply to: Attachments deleted when editing a listing #426722

    Patrick
    Full Member
    Post count: 17
    This reply has been marked as private.
    in reply to: Attachments deleted when editing a listing #426714

    Patrick
    Full Member
    Post count: 17

    Hello,

    Thanks for the response. I understand how GD works. The issue is that the underlying files are being deleted. The database data is preserved.

    Example of a broken place:
    https://loungereview.com/lounges/air-china-domestic-first-class-lounge-pek-t3c/
    (Screenshot attached – the pictures in the slider are all missing.)

    Here is the record in the database:

    SELECT * FROM

    wp_geodir_gd_place_detail

    WHERE post_id = 18712

    18712 Air China Domestic First Class Lounge – PEK T3C publish <snip>

    Here are the associated attachments in the database:

    SELECT * FROM

    wp_geodir_attachments

    WHERE post_id = 18712

    ID post_id user_id title caption content file mime_type menu_order is_featured is_approved metadata
    5980 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 1 0 1 NULL
    5981 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 2 0 1 NULL
    5982 18712 NULL PEK-air-china-domestic-first-class-lounge-pek-term… NULL NULL /2018/04/18712_PEK-air-china-domestic-first-class-… image/jpeg 3 0 1 NULL
    <snip>

    The issue is that the files are gone. Screenshot of FTP storage attached. As you can see all that’s left for ID 18712 is the resized images generated by WordPress for the main photo in the media library.

    This happens occasionally when I edit a place.

    in reply to: SEO Location Variables #420252

    Patrick
    Full Member
    Post count: 17
    This reply has been marked as private.
    in reply to: Geodirectory Framework support for PHP7 #416963

    Patrick
    Full Member
    Post count: 17

    Thanks a ton guys, I’m all set and it works. I appreciate your help.

    in reply to: Geodirectory Framework support for PHP7 #416837

    Patrick
    Full Member
    Post count: 17

    Actually, that’s by design 🙂 This is an empty folder for you to upload the theme files or zip. I’ll install on my wordpress instances manually. Thank you!

Viewing 15 posts - 1 through 15 (of 17 total)