Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I was doing some maintenance on a few of my sites and while checking the admin watchdog, there was a huge amount of login attempts by the following username:
EPCMFxSzvuRSy
He/she/bot is coming from random IP addresses, so I haven't worked out a way of banning the hacker/bot from my server.
Is there any API function to get the active/selected language in Drupal 6? There are different ways to negotiate the language in D6 (e.g. url prefix, $user->language, fallback language, ...), but how can I get the active language in a module? Checking $user->language is apparently not sufficient because one can override this with a url prefix (e.g. language switcher block). I couldnt find an API call like i18n_get_lang() (from i18n module) in Drupal 6.
I'm new to Drupal, after reading and seeing what Drupal can do, who can resist trying it?
I've installed Drupal 6.x and I am now trying out the different modules and settings of Drupal.
I am using drupal 6 and am a complete noob at drupal.
I imported a second language (Swedish) and then I went and set it as default language and now I can no longer get english back as my default language. English simply dissapered from the place where you set default language.
I have tried with most of the stuff I can think of but I simply can't think of anything else, anyone have any ideas?
It should be said that the language pack was for drupal 5 and i am running drupal 6.