I have a very strange problem and cannot solve it. My Login Snippte worked like a charm but does not produce any more output. I do not think that anything has changed on my server but unfortunately the snippet doesn't return anything any more...
Strange! I'm using Modx. 2.1.1 here and the login Snippet 1.9.0
The only thing i notice is that i get this in the error log:
[2014-11-25 16:03:34] (ERROR @ /index.php) Attempted to redirect to an empty URL.
I have no clue what might cause the problem. Has anyone seen this before? Thanks for helping me!
Thanks - i tried both - basic and with a chunk.
Both worked. No nothing works...
I'm expecting a login form as usual with a field for username, a password field and a send button.
Odd. And have you tried clearing your cache? I know that you should always be calling the Login uncached (with the exclamation point preceding the word Login) but perhaps clearing the cache will free something up.
You're on a shared server I take it? Any chance that something has changed in your .htaccess file? The error code, along with the fact that it just stopped working randomly, makes me think it's a system level issue.
Yes - odd! I have cleared the cache already - even deleted the content of core/cache without effekt. I don't think that anything has changed on my server but cannot be sure - yes it's a shared hosting...
I'm downloading the page right now and will install it onto my localhost - maybe i can figure out the problem here...
MODX 2.1.1 is pretty old. Possibly your shared hosting updated their PHP and now something isn't working on the newer version of PHP? Can you get your PHP error logs, or the access logs, to see if there are any errors?
You might consider upgrading the site to 2.2.16, as Susan noted you are running an older version that may have some incompatibilities with the PHP version. The newer versions should resolve the problem.