Error 404 Forbidden in simple machines SMF - php

Please I need your help on this. I have a site hosted using SMF, when I try login, this is the error I see. Please what may be the cause? Below is the error that display as I login in.
Forbidden
You don't have permission to access /government/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

An error telling you that you aren't allowed to use this file means, that you need to change the permissions of this file, because the web service can not open it. Make sure you have all necessary permissions.
You can change permissions on a Linux based system with chmod.

Related

Drupal access denied error while try to login

I am trying to access my website administrator in drupal but it is showing me access denied error. Here is my website URL http://www.virginiamoca.org/
I tried to login via
http://www.virginiamoca.org/admin and http://www.virginiamoca.org/administrator
Try this:
1) Find base_url in settings.php file
2) it will better to configure your site in virtual host in php configuration
As per my experience on Drupal 7, http://www.virginiamoca.org/admin will give you access denied by default as you are not logged in, So instead try to hit http://www.virginiamoca.org/user/login. This page will give you login form, But you website have some issue to render this page might be some code issue. Have a look at DBlog or apache error log, you will get some help from there

Linked php files give error

I'm using a shared hosting service for my sites and there is a strange situation.
When any php page is accessed from a link (like Google search results page, etc), the page will not open.
The following error is shown:
"Forbidden you don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
If the same url is input directly into the browser, the page displays fine.
The situation is not the same for html extension pages, which open properly from links too.
I am not using any .htaccess file.
Permission for files is 644 (I've never changed anything).
This situation is something new, there was not such a problem in the past.
Any advice is welcome.

wordpress setup given forbidden error

Installing fresh wordpress-4.2.2 setup on server after fill up form of database details then next
Given Error of
Forbidden
You don't have permission to access /wp/wp-admin/install.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have also check the permission of folder and .htaccess
Same wordpress setup working on local server.
Is this any suggestion
Thanks.
I solve this issue goes to in parent Wordpress install plugin of 'All in One WP Security' that would be effected.
Thanks.

Error 403, Access Denied

How can i fix this? i just hosted my site at byethost33.com for free, because this is my project and in need to host it.
I am getting problems with a page that says 403 access denied. how will i fix it? i dont have the error log since this is just free hosting. I don't know what to do because this is my first time hosting awebsite, i fixed database connections and stuff. but still it says 403 access denied.
and i have other problems, when logging in it wont load the page, just the header, because in my index.php i have a condition that would only change the header if logged in but will store the session. how can i fix this? thank you
Just try to examine your code for resolving URLs, since you may direct some visits to wrong places.

How can I resolve the access permission problems with fckeditor?

I have website where I can login , trying to edit the records .. as soon as it displays like this,
Forbidden
You don't have permission to access /backoffice/processfaculty.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I am trying to save data from fckeditor and i don't have any htaccess file on the root ... i also checked permission (755 , tried 777)...
If I edit and save with simple texts , it works fine.. but if i do it with fckeditor data, it does not.
Please check you server configuration, you need to have PHP enabled on your server. Look into the error log of your server it will have more information.
This looks like you have a web-firewall installed on your webserver. Temporarily disable it to test if it is causing the issue.
Here is what i think you should look into:
what is the mask value?
umask();
The umask() function changes the file permissions for files.

Categories