MyBB Community Forums

Full Version: Strange Error, Max URL Tag Only 3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello community..

I have a strange problem in my forum..

In every new thread I tried to post, seems like if I have and url tag more than 3, I will get error..
If i am not mistaken, error is either 403 or 404, do not have access to newthread.php..

BUT, if my url tag is lower than 3, lets say exactly 3, I can post the new thread...

What caused it and how to solved it?

Thank you very much..
URL?? I'm not sure what you mean bu a 'url tag'...
if i put this in my thread / post, it will show error
[url=http://www.domain1.com]text1[/url]
[url=http://www.domain2.com]text2[/url]
[url=http://www.domain3.com]text3[/url]
[url=http://www.domain4.com]text4[/url]

As you see, there are 4 url tag.. But if i just put 3 url tag only, it just normal
[url=http://www.domain1.com]text1[/url]
[url=http://www.domain2.com]text2[/url]
[url=http://www.domain3.com]text3[/url]

Please advice
You probably have a plugin that limits the number of uses of URL MyCodes in a post.
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.
Hi Josh..

I have done exactly as you told...

But the problem is still there..

Please advice what I should do..

Thank you
Have you edited any files?? There will be something different about your files or server setup if adding more than 3 URL tags causes a 403 or 404; 403 and 404 errors come from the server, so something is triggering it somewhere.
uhm, i am not sure..

But when i try to compare my newthread.php with the original one, all are the same.. no difference at all...

bumpie
Can you check your server error logs and see if it says what's causing the error?? There's not much we can do about it, something on your server is triggering this, MyBB itself doesn't run any code that's going to give a 403 error when you use to many URL tags.
Pages: 1 2