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
tanboxer
New
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.
0
Comments
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} (.+)
RewriteRule ^index\.php - [E=X_REWRITE:1,E=!REDIRECT_X_REWRITE,E=X_PATH_INFO:%1,E=!REDIRECT_X_PATH_INFO,L]
</IfModule>
<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"
</FilesMatch>
</IfModule>
That is all default, try putting your domain in here and see what it says.
https://www.redirect-checker.org/
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.
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
Backtrace:
Variables in local scope:
Additional information for support personnel:
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
https://open.vanillaforums.com/search?adv=&search=Fullname&author=&within=1+day&date=
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:-
Could not find file 'custom_default.css' in folder ''.InfoCould not find file 'plugins/embedvanilla/local.js' in folder 'dashboard'.