compta/facture: Access is denied

Good afternoon,

I have updated to version 9.0.2 (already happends with 9.0.1) and when I click on whetever filter and press button_search to filter rows, I’m redirected to an error page:
403 Forbidden Access to this resource on the server is denied!

The page when this happend is compta/facture/list.php?leftmenu=customers_bills

How can I solve this error? I need to filter regs.

Hi,

this is right problem on the files.
Where is Dolibarr installed ?

Dolibarr is installed in the cloud. The features of the server:
Apache version 2.4.39
PHP version 7.0.33
Web server LiteSpeed
Arquitecture x86_64
SO linux

Folders has permissions 775 and files 664

Problem is solved. I changed a security rule in my LiteSpeed webserver and fixed.

1 Like

Hello, I have the same problem, what change did you make, in .htacces?
from cpanel I do not have access to litespeed.
Thank you.

I’m facing the same issue. How did you change the .htaccess?
Please…share with us.
Thanks.

with this. put it in .htaccess

SecFilterEngine Off

Thank you for your kind reply

Is the .htaccess file’s directory inside together with dolibarr.log?
I’ve edited the file and became like this

order allow,deny
Allow from all
SecFilterEngine Off

but still, 403 forbidden on billing like filter of invoice and payment didn’t disappear.

Nevermind it works…great thanks…this issue has been haunted me from the whole previous month.

It didn’t work when I put it inside directory of Dolibarr’s document which inside have .htaccess and dolibarr.log
It didn’t work either when I tried to put it in .htaccess of Conf folders that inside of subdomain folder
but,
When I put it in .htaccess of main domain.
It works!

Thanks thanks
Thank you very much. :laugh: :laugh: :laugh:

Hi. :grinning:In this case, you can 1. Check Event Log for any Errors:
Step 1: Tap Win key + R to open the Run window. Now, type “eventvwr” and tap Enter.
Step 2: Hit Windows Logs as well as System.
Step 3: Find the errors if any! There will be a red exclamation mark at the end if there are any errors.
Step 4: Simply check the information in details.

Then start Command Prompt as Administrator:

  • Tap the Start button, go to All Programs, and tap Accessories.
  • Simply Right-click on Command prompt, and again tap on Run as administrator.
  • When the User Account Control box comes up, confirm it, and tap Continue.

Or you can Get Rid of Write Protection on Hard Drive:

  1. Go to Start and tap on the “Run” option.
  2. Type “regedit” into the command box.
  3. Now, go to this path: “ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies”
  4. After that, double click on the “WriteProtect” key and get the value changed to zero.

“Access is denied” may causes data loss, so I suggest you recover the data in advance. Many tools can do that. I have used one called Bitwar Data Recovery, which worked well in data recovery.

Good luck. :smiley:

Hi,
I’m Eshan from Sri Lanka. I like to learn to work with Dolibarr . Can you help me to installation process with litespeed .
thanks.