414 Request-URI Too Large - problem

zpasji
User w
User w
Posts: 6
Joined: Thu Mar 05, 2020 10:06 pm

414 Request-URI Too Large - problem

Post by zpasji »

Hello,
I'm just trying to integrate and I have this error, a long link is generated http://flo.micromedia.pl/forum
where did i make a mistake?

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

after a loop, when you open wp page-forum the url seem to be concatenated each time, so you have this:

Code: Select all

http://flo.micromedia.pl/forum/?w3=dzM9ZHpNOVpIcE5PVnBJY0U1UFZuQkpZMFUxVUZadVFrcFpNRlV4VlVaYWRWRnJjRnBOUmxWNFZsVmFZV1JXUm5KalJuQk9VbXhXTkZac1ZtRlpWMUpYVW01S2FsSnVRazlWYlhoWFRrWmFjMVp0UmxwV01VcFlWVzAxUzJGc1NuVlJhemxXWWxob1dGUnJXbUZqTVZwMFVteHdWMDFWY0ZsV1Z6QXhVekpHYzFOdVZsSmhlbXhYV1d4b2IxZEdVbkpYYlVacVRWWndNRlZ0ZUhkV01ERldZMFpzVjFaNlFYaFZla3BIWXpGT2RWWnNTbWhsYlhoWVYxZDRiMkl4WkVkVmJrcFlZbFZhY1ZSV1duZE5SbFowWlVoa1YwMUVSbGRaTUZwelZqRmFObEZZYUZabGEzQklXWHBHVDJSV1duTlRiV2hzWWxob1dWWXhaRFJpTWtsNFdrVmtWbUpyY0Z..............
etc etc that finally lead to the error, but why it come out i have not understand right now ...
If you remove the phpBB overall_header code, it is then fixed? Can you try?
p.s
If you can't access to phpBB because ever reload to wp forum page, and you setup phpBB recompile setting to NO, disable javascript on browser and point to phpBB admin, change the setting to recompile YES, and remove the code overall header

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

answering this morning to a pm, i've take a look into your post and clicking into your example link, i've been able to stop loop and see page code output ... ...
it seem to me you have not well read instructions (yeah yeah! my Eng is bad!) and where:

Code: Select all

var wordpress_url_page_f = 'http://flo.micromedia.pl/forum'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page
into overall_header.html and overall_footer.html code you added, you should set it with THE URL OF THE WP PAGE FORUM you created into WP,
AND NOT THE REAL PHPBB URL

which is the name of the page-forum you created into wordpress?
you need to setup the url of this page as value into overall_header.html and overall_footer.html js code
AND NOT the real phpBB url.

Look also that you DO NOT need to name this page, like the forum folder, if phpBB reside into same folder where wp is.

Test doing this please:

into plugin admin, where create/rebuild page-forum, setup as value forums (note that it is forums not forum), click create/rebuild page.
then create blank page into wordpress, just title it forums and save.

now into your overall_header.html js code, set values like this:

Code: Select all

var wordpress_url_page_f = 'http://flo.micromedia.pl/forums'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page
and into overall_footer.html, same value

Code: Select all

var wordpress_url_page_forum = 'http://flo.micromedia.pl/forums'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page
now all will work fine.

zpasji
User w
User w
Posts: 6
Joined: Thu Mar 05, 2020 10:06 pm

Re: 414 Request-URI Too Large - problem

Post by zpasji »

thank you very much for the answer, I was wrong, I created page-forums.php and changed the paths in footer and header files on domain.pl/forums/ and something started, but there is still a problem because the main page is displayed in the forum
https://ibb.co/mGmzXpq

Code: Select all

http://flo.micromedia.pl/forums/

I also have a problem displaying the user list, if the plugin is enabled the list does not appear, previously there was a transfer from phpbb to wordpress

Code: Select all

http://flo.micromedia.pl/florysci/

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

And what setting have you put into plugin admin, where URL setting?

Code: Select all

http://flo.micromedia.pl/forum
i hope?

zpasji
User w
User w
Posts: 6
Joined: Thu Mar 05, 2020 10:06 pm

Re: 414 Request-URI Too Large - problem

Post by zpasji »

I just didn't, I missed it, thx
now, unfortunately, the page loops when logging in

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

you have not read instructions where it is specified that you have to setup the path of the phpBB cookie, to be available overall the domain, so you need to setup it as
/
a single slash
AND NOT
/forum/
like it is now

Done this, may reset all session to all users into acp, so they'll be forced to relogin
NOTE: if cookie setting changed to be available over all domain because it was not, then all phpBB users may need to re-login using new board’s cookie settings: in this case, you may would like to force all phpBB users to re-login in case they saved their session cookie with a ‘remember me login’. This can be done by accessing phpBB ACP main page: check for option
Purge all sessions
Purge all sessions. This will log out all users by truncating the session table.
Click the Run now button.
Be sure that the cookie setting is correct before to execute these steps, or you’ll be logged out by your board until you’ll not reset to the correct cookie domain!
as explained and linked into install procedure:
https://www.axew3.com/w3/2016/02/config ... ll-domain/

zpasji
User w
User w
Posts: 6
Joined: Thu Mar 05, 2020 10:06 pm

Re: 414 Request-URI Too Large - problem

Post by zpasji »

In fact, I missed it even though I read about it, the current connection looks ok, but there are still a few problems
I attach a video of how it looks http://flo.micromedia.pl/bridge.mp4

I have a problem with iframe height - it's fixed height

Code: Select all

<iframe id="w3all_phpbb_iframe" style="width: 1px; min-width: 100%; border: 0px; overflow: hidden; height: 4146px;"
Redirection from the forum admin panel does not work, links from the last topics widget also do not work and opening the link in a new window does not work, message: Something goes wrong with your URL request, please leave this page.

After enabling the w3all plugin, I stop seeing the list of users http://flo.micromedia.pl/florysci/, in the original it looks like this https://ibb.co/LdBNB3Q (was the transfer of users from phpbb to wp)

have you encountered such cases?

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

I have a problem with iframe height - it's fixed height
why never you modified adding fixed height to iframe element?
You should in case change the heightcalculation method.
Redirection from the forum admin panel does not work, links from the last topics widget also do not work and opening the link in a new window does not work, message: Something goes wrong with your URL request, please leave this page.
of course it do not work, you choose as fancy url a single letter i
which is reserved wordpress variable, and used into page forum to detect a var i.
You can't use i, nor any of other reserved vars names.
After enabling the w3all plugin, I stop seeing the list of users http://flo.micromedia.pl/florysci/, in the original it looks like this https://ibb.co/LdBNB3Q (was the transfer of users from phpbb to wp)
into original, if wordpress users where ok about this list, there is no reason why after, if you transfer users from phpBB to wp or viceversa, it should not work. In fact an existent wp user, isn't transferred into wordpress, if exists, and nothing changed/updated, except password in case.
Instead, may the question is another: into a wordpress, i transferred phpBB users, and i expected to see them into this list, which is generated by what? An external plugin? May an external plugin that to work, add data in some way about users, but not when a wp_insert_user action executed?

User avatar
axew3
w3all User
w3all User
Posts: 1932
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 414 Request-URI Too Large - problem

Post by axew3 »

p.s about heightcaluculation method:
reset the line into page-forum you wrongly edited adding a fixed height as value for the iframe (beside the fact that it will never work because overwritten by js resizer library) into what was, or rebuild page-forum,
then follow this instead:
viewtopic.php?f=2&t=1511

Post Reply