Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Error 414 (Request-URI Too Large) when embedding (2.1.6)
jdfinch3
New
I am trying to embed vanilla into my site. I have gone through all the steps multiple times and keep getting the same results.
The forums work fine when not embedded, but when loading the page after embedding I just see a few squares (a loading image sequence) and then a blank page. I checked for js errors and found this:
GET long URL 414 (Request-URI Too Large)
I've searched google and the vanilla forums, but can't find a solution. Any help is appreciated!
Tagged:
0
Comments
don't know if you've seen this.
http://stackoverflow.com/questions/2891574/how-do-i-resolve-a-http-414-request-uri-too-long-error
https://wordpress.org/support/topic/error-414-request-uri-too-large
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
So it appears my options are to increase the size limit in apache (I don't appear to have access to changing apache config, so that's out), or figure out how to change from GET to POST. There's surely a simple solution...
The simple solution is to not embed or embed at a higher point in the web root.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Hmm..is there a medium level solution? lol
The problem, to clarify, is that vanilla is generating a url that is over 8,000 characters long. This can't be intended behavior.
HOLY MOTHER OF GOD
Mind sharing a link?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Empty site right now - but here's the link for the forums. http://jalexygames.com/forums/
is there some kind of infinite loop happening in the url. is it repeating itself.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
It looks like that's possibly the problem. If you go to the page and check the js console you can see the url.
now try to figure out why.
maybe some weird redirection occurs during building. I don't use it, so i can't advise.
or some variable is looping because it is empty.
easy to say,
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This may be the reason ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Check your htaccess file or post it here and also what config for rewrite URL and where is the main forum is it here ? coz that's bad..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thank you for your help. I don't quite understand your question, but I can post the htaccess info. I tried it in the original format and also modified as such (both with the same result):
ok the second part of the question was what do you have for rewrite url , look inside the config.php and find
$Configuration['Garden']['RewriteUrls']= TRUE;
If it is not there please put it in..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I don't have a config.php file at all...
Looking through the original downloaded files, I don't see it there either.
The config file gets generated when you install Vanilla. Please look inside the conf folder and find it. Otherwise reinstall it.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok, got it.
$Configuration['Garden']['RewriteUrls'] = TRUE;
is there.
Please give me the link to the actual forum.
Disable the embed from the dashboard.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Just a note, You can't use the same url for the link to the forum where you embedded as the forum.
If you installed the forum in yoursite/forums
and you have another site called yoursite/forums on the same domain or subdomain you will have problems
You need to make the url of the page where you embedded some other name like forum or forum2 but you can't use forums if that is the url of you main site .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Success - thank you! I was indeed embedding the forum in the actual location of the forum.