HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Upgraded 2.0.1 to latest download but ERR_TOO_MANY_REDIRECTS

Hi there, I thought it seemed to easy when my upgrade screen said completed. :-(

I don't know where to start but would love some help to fix this as I love vanilla forums.

I appreciate any help offered and can supply addition information is needed.


  • Can you post the content of your .htaccess file?

  • Hi there, thank you kindly for taking the trouble to reply to my cry for help!!!

    Here is the content of the file from my /forums root directory:-

    # Original

    # If you modify this file then change the above line to: # Modified

    <IfModule mod_rewrite.c>

      RewriteEngine On


      # Certain hosts may require the following line.

      # If vanilla is in a subfolder then you need to specify it after the /.

      # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)


      #RewriteBase /forums/

      # Make sure that / doesn't try to go to index.php without a rewrite :)

      DirectoryIndex disabled


      # Deny access to certain directories that SHOULD NOT be exposed.


      RewriteRule (^|/)\.git - [L,R=403]

      RewriteRule ^cache/ - [L,R=403]

      RewriteRule ^cgi-bin/ - [L,R=403]

      RewriteRule ^uploads/import/ - [L,R=403]

      RewriteRule ^vendor/ - [L,R=403]


      # Prevent access to any php script by redirecting the request to /index.php

      # You can add an exception by adding another RewriteCond after this one.

      # Example: RewriteCond %{REQUEST_URI} !^/yourscriptname.php$

      # You can comment out this section if it causes you problems.

      # This is just a nice to have for security purposes.


      RewriteCond %{REQUEST_URI} !/index.php$

      RewriteRule (.+\.php) [E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]


      # Redirect any non existing file/directory to /index.php


      RewriteCond %{REQUEST_FILENAME} !-f

      RewriteRule (.*) index.php [E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]


      # Add the proper X_REWRITE server variable for rewritten requests.


      RewriteCond %{ENV:REDIRECT_X_REWRITE} .+

      RewriteCond %{ENV:REDIRECT_X_PATH_INFO} (.+)



    <IfModule mod_headers.c>

      <FilesMatch "(?<!embed)\.(css|js|woff|ttf|eot|svg|png|gif|jpeg|jpg|ico|swf)$">

       Header set Cache-Control "max-age=315360000"

       Header set Expires "31 December 2037 23:59:59 GMT"



  • That is all default, try putting your domain in here and see what it says.


  • Ah just noticed you will need to uncomment the #RewriteBase /forums/ so that it is

    RewriteBase /forums/

  • Hi there, thank you very much. It did resolve that error to reveal a not so helpful error message:-

    Something has gone wrong.

    We've run into a problem and are unable to handle this request right now.

    Please check back in a little while.

    I assume something has gone wrong with my upgrade.

  • Add

    $Configuration['Debug'] = true; to your /conf/config.php file and refresh the page

    You should get a more detailed description of the error.

  • tanboxertanboxer New
    edited October 2020

    Hi, thank you again. Got quite a long list of errors:-

    Fatal Error in PHP.gdn_ErrorHandler();

    Unknown column 't.FullName' in 'field list'

    The error occurred on or near: /****/forums/library/database/class.database.php

    403:                 // If we get here then the pdo statement prepared properly.
    404:                 break;
    406:             } catch (Gdn_UserException $uex) {
    407:                 trigger_error($uex->getMessage(), E_USER_ERROR);
    408:             } catch (Exception $ex) {
    409:                 list($state, $code, $message) = $pDO->errorInfo();
    411:                 // If the error code is consistent with a disconnect, attempt to retry


    [/homepages/****/forums/library/database/class.database.php:407] PHP::trigger_error();
    [/homepages/****/forums/library/database/class.sqldriver.php:1707] Gdn_Database->query();
    [/homepages/****/forums/library/database/class.sqldriver.php:664] Gdn_SQLDriver->query();
    [/homepages/****/forums/applications/dashboard/models/class.tagmodel.php:314] Gdn_SQLDriver->get();
    [/homepages/****/forums/applications/vanilla/settings/class.hooks.php:726] TagModel->joinTags();
    [/homepages/****/forums/applications/vanilla/settings/class.hooks.php:726] VanillaHooks->base_render_before();
    [/homepages/****/forums/library/Garden/EventManager.php:278] PHP::call_user_func_array();
    [/homepages/****/forums/library/core/class.pluginmanager.php:810] Garden\EventManager->fire();
    [/homepages/****/forums/library/core/class.pluginmanager.php:773] Gdn_PluginManager->callEventHandler();
    [/homepages/****/forums/library/core/class.pluggable.php:205] Gdn_PluginManager->callEventHandlers();
    [/homepages/****/forums/applications/vanilla/controllers/class.discussionscontroller.php:228] Gdn_Pluggable->__call();
    [/homepages/****/forums/library/core/class.dispatcher.php:872] DiscussionsController->index();
    [/homepages/****/forums/library/core/class.dispatcher.php:289] Gdn_Dispatcher->dispatchController();
    [/homepages/****/forums/index.php:29] Gdn_Dispatcher->dispatch();

    Variables in local scope:

    [sql] 'select td.DiscussionID as `DiscussionID`, t.TagID as `TagID`, t.Name as `Name`, t.FullName as `FullName`
    from `GDN_TagDiscussion` `td`
    join `GDN_Tag` `t` on t.TagID = td.TagID
    where `td`.`DiscussionID` in (\'12\')'
    [inputParameters] array (
    [options] array (
      'Type' => 'select',
      'Slave' => NULL,
      'ReturnType' => 'DataSet',
    [returnType] 'DataSet'
    [tries] 2
    [try] 0
    [pDO] array (
    [pDOStatement] false
    [state] '42S22'
    [code] 1054
    [message] 'Unknown column \'t.FullName\' in \'field list\''
    [uex] array (

  • Additional information for support personnel:

    • Application: Vanilla
    • Application Version: 3.3
    • PHP Version: 7.3.23
    • Operating System: Linux
    • Server Software: Apache
    • Referer: http://www.****.org.uk/
    • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 OPR/71.0.3770.284
    • Request Uri: /forums/
    • Controller: PHP
    • Method: gdn_ErrorHandler

  • R_JR_J Ex-Fanboy Munich Admin

    Looking at discussions from others with that same problem, I guess you haven't followed the normal upgrade instructions and you still have run /utility/structure


  • That directed me to here:- forums/entry/signin?Target=utility%2Fstructure

    I got a list of errors again.

    Would it be easier to do a clean install and then import the old data?

    I thought I followed the plan properly and went through the upgrade paths.

    The shortened summary of errors is:-

    The addon with key HtmLawed could not be found and will not be started.
    The addon with key Debugger could not be found and will not be started.
    Canonical URL http://****/forums/entry/sign-in !== http://****/forums/entry/signin.

    Could not find file 'custom_default.css' in folder ''.InfoCould not find file 'plugins/embedvanilla/local.js' in folder 'dashboard'.

    Use of undefined constant PATH_LOCAL_CACHE - assumed 'PATH_LOCAL_CACHE' (this will throw an Error in a future version of PHP)
    Use of undefined constant PATH_LOCAL_CACHE - assumed 'PATH_LOCAL_CACHE' (this will throw an Error in a future version of PHP)

Sign In or Register to comment.