+ Reply to Thread
Results 1 to 7 of 7

Thread: When deleting an ad the image folder is not deleted !!!

  1. #1
    Senior Member
    Join Date
    Jun 2016
    Posts
    108

    When deleting an ad the image folder is not deleted !!!

    Hello,

    i have a probem, When i deleting an ad the image folder is not deleted !!!

    This consumes more and more space and my supplier warns me that I will soon change subscription.

    How to delete the image folder at the same time as the ad ?

    Thank you

  2. #2
    Hello Acte Immo,

    In file: ftp://includes>>classes>>rlListings.class.php exist method: deleteListingData
    into the method you can find line:
    PHP Code:
    Only registered members can view the code
    System cannot remove files or folders if permissions are limited.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Jun 2016
    Posts
    108
    Hello VIKTOR

    When i found
    Code:
    Only registered members can view the code.
    what should I do ?

    The permissions on the image files of the ads is "755", is good ?

  4. #4
    Hello Acte Immo,

    Yes it is good but may be folders has another owner. I suggest you create a new ticket or contact with your hosting and discuss about owner for folders.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Senior Member
    Join Date
    Jun 2016
    Posts
    108
    And about this code I have to do what or change what ?
    Code:
    Only registered members can view the code.

  6. #6
    hello Acte Immo,

    Yes you can contact with the hosting and show this code and ask: "why this php code cannot remove folder from ftp". They can check it and solve the problem.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Senior Member
    Join Date
    Jun 2016
    Posts
    108
    Hi Viktor,

    Thank you.

+ Reply to Thread