• Resolved jensinii

    (@jensinii)


    Hi there,

    “I just installed and configured the w3all plugin(s) to sync with my WordPress installation. Everything was working fine until I edited the footer and header files. It was then that I encountered an error that I was trying to solve. The error message I received was “414 Request-URI Too Long – The requested URL’s length exceeds the capacity limit for this server.” As far as I know, this means that the requested URL has exceeded the limit of 8k characters. I tried to reverse the editing process, but it didn’t work. I also tried to reverse some of the steps to see if it had any impact on the error but…”

    –It did not ⊙﹏⊙∥

    I’ve never encountered a 414 server error before, so I’m asking for help on the W3all support site to see if anyone has come across it during configuration.

    ….help!

    EDIT

    I might add two more things just to clarify how things are rolling here ;D The header and footer files I have edited are
    board/styles/prosilver/template/overall_footer.html
    board/styles/prosilver/template/overall_header.html
    I might have done that part wrong tho(?)

    In my root dir, I have 2 folders and one .htaccess file. One folder with “wp-site” and one with “phpbb”, now – the htaccess file in my root folder is rewriting url’s and looks like this:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www.)?mydomain.com$
    RewriteCond %{REQUEST_URI} !^/wp-folder/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /wp-folder/$1
    RewriteCond %{HTTP_HOST} ^(www.)?mydomain.com$
    RewriteRule ^(/)?$ wp-folder/index.php [L]
    </IfModule>

    …just so I don’t get any 404 thrown at me for pointing to other installations on my wp-site.

    • This topic was modified 10 months, 3 weeks ago by jensinii.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author axew3

    (@axewww)

    Hello. Look, if the wordpress and phpBB installations are working fine, maybe there is no need to check for those problems into htaccess.

    You speak about the iframe integration, done using the page-forum?

    You get the error anyway you try to access the wp page (this that display with the phpBB iframe inside) or only in some circumstance?

    phpBB is with plain default phpBB urls or rewrite links for some Seo?

    Can you try to substitute the page-forum.php (or whatever you named it) with the one here? (but i do not have understand if you get the error ever or in some case only, like on redirect, then i do not know if it will solve the issue)

    https://www.axew3.com/w3/forums/viewtopic.php?p=6143#p6143

    Thread Starter jensinii

    (@jensinii)

    Hello. Look, if the wordpress and phpBB installations are working fine, maybe there is no need to check for those problems into htaccess.

    • I just added the htacces file “config” in case it was relevant for how the integration was working, but as I figure, that has nothing to do with it.

    You speak about the iframe integration, done using the page-forum?

    • Yes, the w3all_phpBB_WordPress_extension_2.0.2 and wp-w3all-phpbb-integration.2.7.8

    You get the error anyway you try to access the wp page (this that display with the phpBB iframe inside) or only in some circumstance?

    • Only the phpbb site – after I edited the header and footer files. The WP site works as normal.

    phpBB is with plain default phpBB urls or rewrite links for some Seo?

    • Plain default phpbb urls no SEO rewritings

    Can you try to substitute the page-forum.php (or whatever you named it) with the one here? (but i do not have understand if you get the error ever or in some case only, like on redirect, then i do not know if it will solve the issue)

    • I can see if that will bring the page out of 414 error

    –EDIT–

    • The new page-forum.php din’t bring the phpbb out of 414 error
    • BUT what I did was to re-upload the default “PROSILVER” files to the styles folder -seems to do the trick – but I would have to re-configure the iFrame again I believe…
    • This reply was modified 10 months, 3 weeks ago by jensinii.
    Thread Starter jensinii

    (@jensinii)

    Alright, let me clarify what happened. Initially, I configured the board using “The (awesome) iframe template integration using shortcode” I did the placeholder configuration and shortcodes token part before I moved the page-board.php to the WP-themes child-theme folder.

    Meanwhile, I also mistakenly configured the “WP_w3all phpBB embedded on WordPress Template” as well. So, after doing two configurations, editing the header and footer files, and moving the iframeResizer.contentWindow.min.js”, “iframeResizer.contentWindow.map” to the phpBB root folder, and copying the “wp_w3all_phpbb_iframe_short.php” over to the WP-themes child-theme folder, things went haywire.

    As soon as I moved the “wp_w3all_phpbb_iframe_short.php” to the WP-themes child-theme folder and rebuilt the template in phpbb ACP, the 414 error occurred.

    I guess I made a mistake by trying to configure both options. I will try again and stick to one of the configuration options.

    Plugin Author axew3

    (@axewww)

    Hello:

    both the shortcode and the integration by page-forum can run together (as it is at axew3.com as example, the phpBB in the home is a shortcode, while the link forum is the page-forum) .

    both require the same code added into the overall_footer.html then overall_header.html if you want to point to the iframe phpBB into WP, any request to the real phpBB url.

    Follow each step and you should be up and running in short (read all hints)

    https://www.axew3.com/w3/2020/01/phpbb-wordpress-template-integration-iframe-v5/

    https://www.axew3.com/w3/2022/02/the-awesome-iframe-template-integration-using-shortcode/

    • This reply was modified 10 months, 3 weeks ago by axew3.
    Thread Starter jensinii

    (@jensinii)

    Hi there,

    I always end up with a 414 error no matter what I do or in which order I do it. I am not sure if it is because of the theme I am using (AVADA), but I can’t understand how that could be the case. I could have PHPBB in the “board” folder and just link it to the menu, but it would have been great if I only could wrap my head around this problem and have the integration you have made working as intended. I will have to revisit this problem at a later point, but for now, I need to finish up the page I am working on. Thank you for your help and patience.”

    Plugin Author axew3

    (@axewww)

    2.7.9 has been released. Still in trouble?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘414 Request-URI Too Long’ is closed to new replies.