TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 01:24:57 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 180
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 170
  • Total: 170

Wierd text over a new installation of SMF 1.1.2 - Please Help

Started by yeshaib, July 06, 2007, 05:36:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yeshaib

SMF Version: SMF 1.1.2
After a fresh install there is this text over the site (after that the site is fine)

Only happened after TP installation
Link to the new installation
http://www.krazykartoons.com/hebsmf/

// Since we use "or db_fatal_error();" this is needed... return false; } ?> && $db_show_debug === true) { $cache_hits[$cache_count] = array('k' => $key, 'd' => 'get'); $st = microtime(); } $key = md5($boardurl . filemtime($sourcedir . '/Load.php')) . '-SMF-' . $key; // Okay, let's go for it memcached! if (isset($modSettings['cache_memcached']) && trim($modSettings['cache_memcached']) != '') { // Grab the memcached server. if (!is_resource($memcached) && $memcached !== '0') get_memcached_server(); if (!$memcached) { // '0' means ignore me for the rest of this page view. $memcached = '0'; return null; } if (!fwrite($memcached, 'get ' . $key . "\r\n")) { $memcached = fclose($memcached); return null; } $response = fgets($memcached); if (substr($response, 0, 3) != 'END' && substr($response, 0, 5) != 'VALUE') { // Bad response, junk time. $memcached = fclose($memcached); return null; } if (substr($response, 0, 5) == 'VALUE' && preg_match('~(\d+)$~', trim($response), $match) != 0) $value = substr(fread($memcached, $match[1] + 2), 0, -2); fread($memcached, 5); } // Again, eAccelerator. elseif (function_exists('eaccelerator_get')) $value = eaccelerator_get($key); // The older, but ever-stable, Turck MMCache... elseif (function_exists('mmcache_get')) $value = mmcache_get($key); // This is the free APC from PECL. elseif (function_exists('apc_fetch')) $value = apc_fetch($key . 'smf'); // Zend's pricey stuff. elseif (function_exists('output_cache_get')) $value = output_cache_get($key, $ttl); if (isset($db_show_debug) && $db_show_debug === true) { $cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st)); $cache_hits[$cache_count]['s'] = isset($value) ? strlen($value) : 0; } if (empty($value)) return null; // If it's broke, it's broke... so give up on it. else return @unserialize($value); } function get_memcached_server($level = 3) { global $modSettings, $memcached, $db_persist; $servers = explode(',', $modSettings['cache_memcached']); $server = explode(':', trim($servers[array_rand($servers)])); // Don't try more times than we have servers! $level = min(count($servers), $level); // Don't wait too long: yes, we want the server, but we might be able to run the query faster! if (empty($db_persist)) $memcached = @fsockopen($server[0], empty($server[1]) ? 11211 : $server[1], $err, $err, 0.15); else $memcached = @pfsockopen($server[0], empty($server[1]) ? 11211 : $server[1], $err, $err, 0.15); if (!$memcached && $level > 0) get_memcached_server($level - 1); elseif ($memcached) { @socket_set_timeout($memcached, 1); @set_file_buffer($memcached, 0); } } ?>File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#16' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file

Nikki Sixx

What color is your Web server? There is a great chance that is the contributing problem. :P

QuoteCharacter set '#16' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file

The encoding from the server is "windows-1255" which may also be the MySQL charset you are attempting to use. Change the database and all the tables to the "utf8_unicode_ci" collation and see if it resolves this. Does this happen if you revert the forum's default language to English?

yeshaib

What do you mean by server color?

I can't log into the system to try and change to English

Nikki Sixx

Quote from: yeshaib™ on July 06, 2007, 08:16:53 PM
What do you mean by server color?

Ignore that. I like to throw in humorous remarks sometimes.

So you are unable to log in to your forum as admin?

Edit:
"Template Parse Error!" What did you attempt to do?

yeshaib

ok

Now it's working fine after changing the Collation in the SQL to LATIN1_swedish_ci

But the default template causes Template Parse Error!

This works
http://www.krazykartoons.com/hebsmf/index.php?theme=3