+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: And on the Upteenth Day Old Listing Came back to Life.

  1. #11
    I found a new problem when i was looking to find an answer/reason and solution for my previous post and thread.
    Upgrade_listing.inc.php line #47 and EditListing.php line #161
    There is no checking for trash status, so a smart user can easily edit trash listings, if they know listing id.
    I thought, i found the reason and solution for this thread, but it seems, it does not change status to active, so still i am looking to find the answer.
    Last edited by Bahram Soltanirad; June 17, 2018 at 07:32 PM.

  2. #12
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Again I had about a dozen listing come back to life and the trash box was long empty ? really strange this happening.

  3. #13
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Quote Originally Posted by Bahram Soltanirad View Post
    I found a new problem when i was looking to find an answer/reason and solution for my previous post and thread.
    Upgrade_listing.inc.php line #47 and EditListing.php line #161
    There is no checking for trash status, so a smart user can easily edit trash listings, if they know listing id.
    I thought, i found the reason and solution for this thread, but it seems, it does not change status to active, so still i am looking to find the answer.
    Hello Bahram and Pete,

    Could you give some steps to reproduce this behaviour?
    I mean how a user can restore deleted listing
    Last edited by Rudi; August 22, 2018 at 07:16 AM.

  4. #14
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Rudi View Post
    Hello Bahram and Pete,

    Could you give some steps to reproduce this behaviour?
    I mean how a user can restore deleted listing
    At this stage I am still unsure how this is happening and what triggers this in any way, all I know now is that it may not be directly related to the trash box but may be connected to something else, but exactly what that is I am unsure.

    as I find more / work it out will advise.

    Pete

  5. #15
    Quote Originally Posted by Rudi View Post
    Hello Bahram and Pete,

    Could you give some steps to reproduce this behaviour?
    I mean how a user can restore deleted listing
    Rudi, i am not sure, if the user do this, but i recommend to modify mentioned files Upgrade_listing.inc.php line #47 and EditListing.php line #161

    Quote Originally Posted by Pete Young View Post
    At this stage I am still unsure how this is happening and what triggers this in any way, all I know now is that it may not be directly related to the trash box but may be connected to something else, but exactly what that is I am unsure.

    as I find more / work it out will advise.

    Pete
    Pete, i recommend the following changes and then wait to happen again.

    Upgrade_listing.inc.php line #47

    Find:
    Code:
    Only registered members can view the code.
    Replace to:
    Code:
    Only registered members can view the code.
    EditListing.php line #161

    Find:
    Code:
    Only registered members can view the code.
    Replace to:
    Code:
    Only registered members can view the code.

+ Reply to Thread