MyBB Community Forums

Full Version: You don't have permission to access /mybb/newthread.php on this server.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
You don't have permission to access /mybb/newthread.php on this server.


This just stared today. It seems that I can't post or edit posts over a certain length. If I just type one or two words in the post it seems to work.


Any Ideas on what may have caused this and how to fix?


forum url: http://eyeofthevortexonline.com/mybb/
Can you please create a test account? Thanks
Have you installed any plugins recently? Try disabling the most obvious ones (posts/thread related) and see if it works.
To rule out plugins as a cause of this issue, please try the following. In ./inc/init.php, find the code:

define("TIME_NOW", time());

After this code, add this:

define("NO_PLUGINS", 1);

Then save and/or reupload this edited version of the file so the forum will run the new code.

This edit will stop plugins being run when a page on the forum is loaded; it will not edit, delete or reset any content the plugin has added or changed, it will just temporarily stop the plugins being loaded, so some features on your forum may be temporarily missing or broken whilst this code is in place. When you remove this code, plugins will work again exactly as they were before. This change helps us to see if a plugin is the cause of a problem, without you having to manually deactivate every single plugin, which would mean you may lose data from them.

If your issue is fixed when this code is added, then the cause of your issue is a plugin; please post a list of your plugins and we will try and help you find which one it may be. If the problem still happens with this code added, then it is unlikely a plugin is the cause, in which case we will investigate the issue further.

Thank you.
Nope no new plugins recently...everything was fine last night this just started for me.
Still, would you mind doing what AJS suggested above? I'm really not sure what else could be causing the issue.

Also, re-upload newthread.php from a fresh download.
Also make sure that it has the correct chmod settings.
If it's just started happening and it only happens for long posts it sounds like your host has some weird setting somewhere. Is there anything in your server error log??
(2011-05-19, 08:26 PM)MattRogowski Wrote: [ -> ]If it's just started happening and it only happens for long posts it sounds like your host has some weird setting somewhere. Is there anything in your server error log??

Here is the error the server throws: [Thu May 19 21:59:44 2011] [error] [client 166.188.170.4] File does not exist: /home/tyn10n/public_html/403.shtml, referer: http://eyeofthevortexonline.com/mybb/new...php?fid=15
[Thu May 19 21:57:22 2011] [error] [client 66.249.72.228] File does not exist: /home/tyn10n/public_html/404.shtml


here is the actual error given when you try to make new thread:

Forbidden

You don't have permission to access /mybb/newthread.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
(2011-05-18, 10:34 PM)AJS Wrote: [ -> ]To rule out plugins as a cause of this issue, please try the following. In ./inc/init.php, find the code:

define("TIME_NOW", time());

After this code, add this:

define("NO_PLUGINS", 1);

Then save and/or reupload this edited version of the file so the forum will run the new code.

This edit will stop plugins being run when a page on the forum is loaded; it will not edit, delete or reset any content the plugin has added or changed, it will just temporarily stop the plugins being loaded, so some features on your forum may be temporarily missing or broken whilst this code is in place. When you remove this code, plugins will work again exactly as they were before. This change helps us to see if a plugin is the cause of a problem, without you having to manually deactivate every single plugin, which would mean you may lose data from them.

If your issue is fixed when this code is added, then the cause of your issue is a plugin; please post a list of your plugins and we will try and help you find which one it may be. If the problem still happens with this code added, then it is unlikely a plugin is the cause, in which case we will investigate the issue further.

Thank you.



Still Caused the error Sad
1. Do you have any .htaccess files in the mybb folder or in your root folder? If you do can you post the contents here?

2. Go to AdminCP >> Tools & Maintenance >> View PHP Info
and search for post_max_size and post here what value its set at.

3. Does it only happen with newthread.php or does it also happen when you do new reply or PM?
Pages: 1 2