delete function did not work

Laraship QuestionsCategory: Technicaldelete function did not work
goldendatawm asked 6 years ago

Hello Dear

When I want delete every thing such as blog post user role page and any thing, when I click on delete button It does not work.

nao replied 6 years ago

Hello.
I’m the very customer who Laraship support says.

In my case, rental server has Web Application Firewall(WAF) as standard function.
Because WAF is enable, action to delete is blocked.
In control panel of rental server, I saw the log of WAF, and I inserted code “SiteGuard_User_ExcludeSig Foo-Bar” into .htaccess file.
When action to delete is executed, Foo-Bar shows in log of WAF. Please substitute Foo-Bar as your actual code.
Finally, I could delete data.

So how about checking about WAF?
If your case isn’t caused by WAF, my experience can’t help you. I’m sorry.

goldendatawm replied 6 years ago

Yes I am using Comodo WAF. Do you meen utils.log under /var/log/CWAF by log file? How did you find Foo-bar?

nao replied 6 years ago

I don’t know which rental server you use and the location of WAF log file.
Would you contact support center of your using rental server, and you ask about WAF log file and the avoidance of blocking by WAF?

laraship Staff replied 6 years ago

Hello,

Server problems are not within our experience, sorry

1 Answers
laraship Staff answered 6 years ago

Hello,

A prevous customer had the same case with direct admin, please check console requests and you will same error you have with product listing

goldendatawm replied 6 years ago

Excuse me
I think this problem because of code. When Iwant to delete user with ticking user and delete it by action on the top I can delete.
Thank you

laraship Staff replied 6 years ago

No It’s not code related, the requests are different, your server is blocking “DELETE” request, the bulk delete is using “POST” request