I recently upgraded to 4.3.0 and it was not without issue. Now the content is displayed correctly and the Archives work, but both the Search and Log-In are broken! When I click on "Log in", the q=user page is simply reloaded. This happens will all accounts, whether the username or password is correct or not. I've tried from multiple browsers on multiple machines .

I tried adding 'print_r($edit)' to user.module:user_login() and it prints out an empty Array() on the reloaded log-in page. Can anyone recommend what else I can try to debug (or fix :)) this problem?

Comments

dries’s picture

Looks like you can't post data; can you add nodes or comments?

tbarker’s picture

I had a similar problem and it was because I had missed the www. from my $base_path [in includes/config.php]. This screws up the POST functions, but leaves the links working.

vagary’s picture

You guys were right, POST wasn't working because of frame URL redirect (duh!). (Although why did q=archive work?) Using the IP I can get the POST data to show up in $_REQUEST and q=user now responds correctly for wrong username or password -- however it still just reloads if the information is correct! (q=search also works correctly.)

Using the db_queryd function, the only query using the form data is a SELECT statement on the access table, which is empty. Is the problem that my access table is empty or that no query is being made on the user table?

dries’s picture

As pointed out by tbarker, double check your $base_url setting. Your access table can be empty; that is no problem.