Advertisement:

Author Topic: forbidden you dont have permission  (Read 411 times)

Offline clickspk

  • Newbie
  • *
  • Posts: 4
forbidden you dont have permission
« on: January 12, 2018, 05:49:50 AM »
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

this message each time coming when i try to edit any .php file please guide me thanks

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,849
Re: forbidden you dont have permission
« Reply #1 on: January 12, 2018, 05:52:00 AM »
how are you trying to modify the files?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,313
    • StoryBB/StoryBB on GitHub
Re: forbidden you dont have permission
« Reply #2 on: January 12, 2018, 05:55:45 AM »
Sounds like mod_security.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 8,253
  • 'Tis the gift to be simple (duh)
Re: forbidden you dont have permission
« Reply #3 on: January 12, 2018, 12:40:06 PM »
Looks like this.

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,479
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #5 on: January 12, 2018, 04:17:35 PM »
how are you trying to modify the files?

i am trying from admin panel then configuration/themes and layout /modify theme/Browse the templates and files in this theme

in this page when i click on browse the templates and files in this theme there all templates are giving the same error when i try to modify them 

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,313
    • StoryBB/StoryBB on GitHub
Re: forbidden you dont have permission
« Reply #6 on: January 12, 2018, 04:20:26 PM »
Ask your host to turn off mod_security, or edit the files with FTP.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #7 on: January 12, 2018, 04:48:46 PM »
oke let me ask to hosting ... thank you to all for guiding me

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #8 on: January 16, 2018, 08:53:53 AM »
It is possible to disable the Mod_security module for your cPanel account, but please, be informed that mod_security module increases security level of your hosting account greatly, blocks known exploits and provides protection from a range of attacks against web applications. So, if it is disabled, your websites will be more vulnerable. However it is possible to re-enable the mod_security module for your account in any moment if it is needed. To turn the mod_security module on it will be needed to start a chat conversation, to update this ticket or to create a new one and ask us to enable the mod_security module for your account.

this reply by my hosting company so what i should do now
because i am unable to add add cods etc

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,479
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: forbidden you dont have permission
« Reply #9 on: January 16, 2018, 09:20:16 AM »
Disable mod_security
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro