Jason

Deleting All Images From Front End Listings Not Working

Version 8.9.7 DT From front end listings, when having multiple images and try to delete most or all, it seems to only delete a few each time. I know works flawlessly from backend but subscribers (Listing Authors) don't have access to backend. Example, 5 or 10 images uploaded via frontend and then try to delete either 5 or 8 or all of them, it only removes a few each time and Listing Author needs to keep EDITING LISTING until all are gone. Who else knows about this and has this issue. This is tested from full clean install.

Created: August 21, 2018 at 10:11 pm
  • In: Directory Theme
  • Started by: JasonJason
  • 3 members left 28 comments
  • Last reply from: JamesDJamesD

  • Jason
    Jason
    August 21, 2018 at 10:12 pm

    Thanks

  • Jason
    Jason
    August 21, 2018 at 10:34 pm

    Was all good in ,

  • Jason
    Jason
    August 22, 2018 at 9:58 am

    is the problem, always has been and never fixed

  • Adnan
    Adnan
    August 22, 2018 at 11:34 am

    @Jason: What PHP version are you using?

    As I upgraded to I made a diff between and As far as I remember, there are two or three syntax changes. I changed only these files and I don’t have this problem. I use php7.

  • Jason
    Jason
    August 22, 2018 at 12:47 pm

    I have a on php7 and all works fine.

    I have a on php7 that does not work, cannot delete all images at same time, always leaves few images remaining taking several edits to remove all images.

  • Adnan
    Adnan
    August 22, 2018 at 12:56 pm

    I think you need to analyse your php log files. There should be some errors/warnings …

  • Adnan
    Adnan
    August 22, 2018 at 1:14 pm

    Jason, these are the changes:

    #diff -qr
    Files and differ
    Files and differ
    Files and differ

    If you make a diff for & , you will see the changes and its minor syntax changes. So, you can turn back to at your own risk 🙂

    for example diff for
    # diff
    312c312
    < define(“THEME_VERSION”, “#8221;);

    > define(“THEME_VERSION”, “#8221;);
    314c314
    < define(“THEME_VERSION_DATE”, “14th Sep, 2016”);

    > define(“THEME_VERSION_DATE”, “19th May, 2017”);
    4254c4254
    < if(!array($recent)){ $recent = array(); }

    > if(!is_array($recent)){ $recent = array(); }
    4266a4267
    >

    The only important change here is using is_array() instead of array()

    I hope this helps.

  • Jason
    Jason
    August 22, 2018 at 1:27 pm

    Far out.

    This install was a clean fresh download from PP before they were no longer available, I’m lost here, You saying all these changes should have be done by Mark Fail correct.

    Lil lost on this:

    Are you able to snap a few screen shots on these sections on files pls so I know where and what ?

    Cheers

  • Jason
    Jason
    August 22, 2018 at 1:40 pm

    theres no numbers like you showed in yr reply:

    What blows me is, I asked Mark Fail about this several time in last year, he said it was a WordPress thing, when I know its not, I neeeeed this bug fixed and I’m pretty sure, if this was the last of the downloads, then everyone who has that copy has the same issue

  • Adnan
    Adnan
    August 22, 2018 at 1:57 pm

    Jason, this is the output of the linux command: diff

    4266a4267 means the difference is at line 4266 and 4267.

  • Adnan
    Adnan
    August 22, 2018 at 2:00 pm

    “<” is for version
    “>” is for version

  • Jason
    Jason
    August 22, 2018 at 2:08 pm

    Yarrrrr, I see in , but what am I doing in functions file ?

  • Jason
    Jason
    August 22, 2018 at 2:19 pm

    This is

    This is

  • Adnan
    Adnan
    August 22, 2018 at 2:58 pm

    Unfortunately, I have a lot of custom changes in functions file. The output will not help you. You need to compare the original files.


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