modxcms / Redirector

Handles all your site redirects in MODx Revolution.
https://docs.modx.com/current/en/extras/redirector/index
8 stars 21 forks source link

Revo 2.31 Compatible? #32

Closed bmilton closed 9 years ago

bmilton commented 10 years ago

I've been using 2.04 since there seem to be some problems with regex rules in 2.05. Now that we've updated to Revo 2.31, 2.05 is the only option for install. Uninstalled the redirector and then installed 2.05 in Revo 2.31. I can't create even a basic rule now without an error message of "An error occurred while trying to save the redirect.".

This extra has always been the best option around for 301 management in modx, something I think is a critical piece of functionality for the user base. There are no 3rd party paid solutions out there. I really hope this extra is not abandoned.

bmilton commented 10 years ago

More details on the error in 2.05. I am trying to add a simple page redirect rule for a specific context. Error follows:

[2014-08-23 09:43:22](ERROR @ /assets/components/redirector/connector.php) Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'modRedirect.triggered' in 'field list' )

[2014-08-23 09:44:06](ERROR @ /assets/components/redirector/connector.php) Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'modRedirect.triggered' in 'field list' )

[2014-08-23 09:44:06](ERROR @ /assets/components/redirector/connector.php) Error 42S22 executing statement: INSERT INTO modx_redirects (pattern, target, context_key, triggered, active) VALUES ('test123', 'faq.html', 'SepticSystems', 0, 1) Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'triggered' in 'field list' )

vierkantemeter commented 9 years ago

We have had the same problem in 2.3.3, but got it fixed. This error pops up because when you install a newer version of redirector, it sees that the table modx_redirects already exists, and so it doesn't create the table, which is different from older versions of redirector.

What you need to do:

bertoost commented 9 years ago

Update is coming! Above patch not needed anymore with 2.0.6