Content deletion error

Support Forums Blanco – Laravel Script Content deletion error

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6559
    ARTSPY
    Participant

    Hello, I noticed a problem.
    When deleting a post, if the picture does not exist, it will not be deleted and an error will be reported.
    Simple replication method: After installation, delete “installed” and install again. Each post will have a duplicate post. After deleting one, the other cannot be deleted.
    To replace the file in the background, if the previous file does not exist, the same problem will be reported.
    At the same time, I noticed a buyer’s comment a month ago, which may be the same as mine.

    #6560
    CreaboxThemes
    Keymaster

    Hi,

    if you delete the file ‘installed’, you have to empty the database, or delete it and create it again. If not, there will be errors because the script install the database again.

    Regards

    #6561
    ARTSPY
    Participant

    This is just a way to reproduce the problem. You can also modify two posts in the database to call the same file, which can reproduce the problem.If the attachment (picture, video…) of the post does not exist when deleting the post, an error will be reported.

    #6562
    CreaboxThemes
    Keymaster

    Of course an error will happen. But, that case is imposible if you use the script in a normal situation. You have modified the database.

    When an user upload an image or video, it will have a unique name. There will not two file with the same name. And of course, a regular user won’t delete the file ‘installed’. That case would happen if you want to reinstall the database, so you would have to empty the database too.

    What I want to explain is that the errors in the script are when you make a normal use of the script.

    Regards

    #6563
    ARTSPY
    Participant

    Yes. It’s my problem.

    I was just wondering if it would be better to display this error when the debug is false. But I thought again, maybe few people can see this error.

    Now, I have no problem.

    #6568
    CreaboxThemes
    Keymaster

    Hi again. Anyway, I will try to find a possible solution to avoid this error. Regards and thanks.

    #6569
    ARTSPY
    Participant

    OK. That’s great.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.