Apr200922

Fatal error: Unsupported operand types in email_registration.module on line 61

You will get this error if you have logintoboggan and email_registration installed within Drupal 5 and visit the site as an anonymous user with the user login block enabled.  This is caused by the modifications made to the user login block by the logintoboggan module.

You can fix this without hacking the email_registration.module file.

Read the rest of this entry »

Apr200921

Command prompt and regedit fail to open and restart explorer.exe

On a Windows XP SP2 machine I have had, both the command prompt (cmd.exe) and regedit (regedit32.exe) failed to load and just restarted explorer.exe which closed all open windows and brought you back to the desktop. This also brought up the Restore Active Desktop message on the desktop and the Restore button failed with a script error.

On most start ups, explorer didn’t load at all, but could be manually by bringing up the task manager (Ctrl + Alt + Delete) and going to File –> Run and typing ‘explorer.exe’ (without the quotes).

I don’t know where the malware came from, but there were traces from Limewire, so one could hazard a guess that this was likely the cause.

Read the rest of this entry »

Apr200920

“HTTP request status” in Drupal 6.x on localhost

I just set up XAMPP on my Vista x64 PC and found that after installing Drupal 6 that the status report was throwing up an error.

HTTP request status

Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.

It took a while to find the solution, but I eventually found it on drupal.org. The solution was posted by mrSjoerd.

  1. Open up the hosts file which is located at C:\Windows\System32\drivers\etc in notepad
  2. You should find a line like the following at the bottom:
    ::1             localhost
  3. Add a # in front of it to make it look like this:
    #::1             localhost
  4. Save the file and close notepad.
  5. Refresh the status page in Drupal and the error should be gone.  This should work without a restart, but if it doesn’t work without a restart it is worth a try.