Archive for April, 2008

Enable telnet client in Windows Vista.

April 15, 2008

By default, Telnet client. is not enabled in Windows Vista. . You can enable it by the following steps:

1. Click Start then select Control Panel.
2. Select Programs and Features.
3. Select Turn Windows features on or off.
4. Select the Telnet Client option.
5. Click OK.
6. A dialog box will appear to confirm installation. The telnet command should now be available.


Error “unknown system variable ‘names’” after installing SMF

April 14, 2008

On servers with MySQL 4.0.x, after a fresh installation of smf using Fantastico, while accessing forum, you might see “unknown system variable ‘names’”

It appears to be caused by this code in SMF:

// Most database systems have not set UTF-8 as their default input charset.
if (isset($db_character_set) && preg_match(’~^\w+$~’, $db_character_set) === 1)
SET NAMES $db_character_set”, __FILE__, __LINE__);

The simple fix for this is to open your Settings.php file and remove the following line from the end of the file: $db_character_set = ‘utf8′;