An Arror Message [GoogleBot???]

Started by c a g a t a y, June 18, 2008, 07:17:19 AM

Previous topic - Next topic

c a g a t a y

Hi all

I have two error mesages...Any idea?

Regards

8: Undefined index: response_prefix
File: .../public_html/forum/Sources/Display.php
Line: 533




From 529 to 541

// For quick reply we need a response prefix in the default forum language.
if (!isset($context['response_prefix']) && !($context['response_prefix'] = cache_get_data('response_prefix')))
{
if ($language === $user_info['language'])
$context['response_prefix'] = $txt['response_prefix'];
else
{
loadLanguage('index', $language, false);
$context['response_prefix'] = $txt['response_prefix'];
loadLanguage('index');
}
cache_put_data('response_prefix', $context['response_prefix'], 600);
}




Undefined index: ob_googlebot_stats_lastvisit
File: ../public_html/forum/Themes/dilbermc/index.template.php
Line: 1013


From 1009 to 1020
// Show the load time?

if (isset($context['ob_googlebot_stats']))
echo '
<br /><br /><span class="smalltext">', $txt['ob_googlebot_stats_lastvisit'], timeformat($context['ob_googlebot_stats']['Googlebot']['lastvisit']), '</span>';

if ($context['show_load_time'])

echo '

<span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';


tatore

For the second error you should missing some of the following strings in your Modification.your_language.php.
I just report the strings in english.

// OB - Googlebot - Begin
// Boardindex Strings
$txt['ob_googlebot_modname'] = 'Googlebot & Spiders';
$txt['ob_googlebot_spider'] = 'Spider';
$txt['ob_googlebot_spiders'] = 'Spiders';
$txt['ob_googlebot_spiders_last_active'] = 'Spiders active in past ' .
$modSettings['lastActive'] . ' minutes';
// ModSettings
$txt['ob_googlebot_count_all_instances'] = 'Count all instances of same
spider';
$txt['ob_googlebot_display_all_instances'] = 'Display all instances of
same spider <div class="smalltext">("' .
$txt['ob_googlebot_count_all_instances'] . '" must be
selected)</div>';
$txt['ob_googlebot_display_agent'] = 'Display agent instead of name';
$txt['ob_googlebot_display_own_list'] = 'Display spiders in its own
list';
$txt['ob_googlebot_count_most_online'] = 'Count in "Most Online"';
$txt['ob_googlebot_redirect_phpsessid'] = 'Redirect PHPSESSID URLs';
// Stats
$txt['ob_googlebot_stats_lastvisit'] = 'Google visited last this page
';
// Permissions
$txt['permissiongroup_googlebot'] = $txt['ob_googlebot_modname'];
$txt['permissionname_googlebot_view'] = 'View Googlebot & Spiders';
// OB - Googlebot - End


For the first one you're missing the following string in your Index.your_language.php:
$txt['response_prefix'] = 'Re: ';

Can you compare the language files you have in your [forum's root]/Themes/default/Languages , with some fresh language pack? Don't change any, but try to compare if some string is missing (as I assume).
*Salvo*




Quote from: RumbaarI wont jump to conclusion, but you might be hacked?

c a g a t a y

Thnx Tatore

it is solved those errors

Advertisement: