SimplePortal

Support => English Support => Topic started by: chahal on May 18, 2018, 09:01:20 AM

Title: Kindly solve the problem
Post by: chahal on May 18, 2018, 09:01:20 AM
Kindly solve the problem of simple portal
When I add some tags in the new add page. On clicking edit page button, browser shows the following message.


____________________________________________________

Forbidden

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.
Title: Re: Kindly solve the problem
Post by: Chen Zhen on May 18, 2018, 09:30:53 AM
chahal,

Please do not post the same topic in multiple boards and try to opt the correct one.
A single post in the English support board will suffice and this topic has been moved there.



I'll give the default advice for any 403 errors:
Turn off mod security if it is enabled or adjust its firewall settings if you can or know how.
This may also be a .htaccess or Apache/Nginx improper configuration.

ref.
https://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security 

ie. add the above linked code to your current .htaccess file in your public_html folder or create a .htaccess file if it does not exist.
Title: Re: Kindly solve the problem
Post by: chahal on May 18, 2018, 11:36:14 AM
Thanks a lot Sir,
It happens when I add html tags into add page option on simpleportal mode.
I  attach the photo. Kindly see and provide solution.

When I type the tags and then click on edit page, it gives following message.
------------------------------------------------------------------------------

Forbidden

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.
Title: Re: Kindly solve the problem
Post by: Chen Zhen on May 18, 2018, 12:35:47 PM
Here is proper HTML (XHTML for SMF 2.0 branch) although the image url you posted does not seem valid:
Code: [Select]
<div class="centertext">
<img src="http://master.com/ep1.jpg" alt="" />
</div>

403 errors have nothing to do with Simple Portal.
Your issue is due to firewall settings and/or permission/ownership for your forum path.
Please follow the instructions from the link I previously posted regarding disabling mod security via .htaccess.

SimplePortal 2.3.8 © 2008-2024, SimplePortal