May 23, 2012, 10:59:26 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check your Page Rank, Backlinks, or Link Popularity in our tools section.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Check your Page Rank, Backlinks, or Link Popularity in our tools section.
Pages: [1]
  Print  
Author Topic:

Forum Error Log - a lot of them due SEO4SMF

 (Read 5459 times)
0 Members and 1 Guest are viewing this topic.
IKShadow
Jr. Member
**

Points: 0
Offline Offline

Posts: 23


« on: December 12, 2006, 11:23:26 »

I have bunch of errors there:

http://www.mydomain.com/index.php?action=printpage;topic=7.0
Apply Filter: Only show the errors with the same message
8: Undefined index: name
File: /srv/www/web25/web/Sources/Subs.php
Line: 4419

code:
Code:
function create_description()
{

    global $context, $modSettings;
    if (isset($context['description_']))
    return 'meta name="description" content="'.$context['description_'].'" /';
    if (!isset($context['current_board']) && !isset($context['current_topic'])) //we are on root
    {
$description=$modSettings['seo4smf_description_content_index'];
    }
    else
    {
if (!isset($context['board_description']))
{
    switch ($modSettings['seo4smf_description_content_boards'])
    {
[b]4419[/b]     case 1: $description=$context['name']; break;
    case 2: $description=$context['description']; break;
    case 3: $description=$context['name'].' '.$context['description']; break;
    case 4: $description=$context['name'].' '.$modSettings['seo4smf_description_content_index']; break;
    case 5: $description=$context['name'].' '.$modSettings['seo4smf_description_content_index'].' '.$context['description']; break;
    }
}
else
{
    switch ($modSettings['seo4smf_description_content_boards'])
    {
    case 1: $description=$context['first_message_body'].' '.$context['board_name']; break;
    case 2: $description=$context['first_message_body'].' '.$context['page_title']; break;
    case 3: $description=$context['first_message_body'].' '.$context['page_title'].' '.$context['board_name']; break;
    case 4: $description=$context['first_message_body'].' '.$context['board_name'].' '.$context['page_title']; break;
    case 5: $description=$context['first_message_body'].' '.$context['board_description']; break;
    case 6: $description=$context['first_message_body']; break;
    case 7: $description=$context['page_title'].' '.$context['board_name']; break;
    case 8: $description=$context['page_title']; break;

    }

}
    }

And another:
http://www.razprave.com/index.php?action=post2;board=31;preview;xml
Apply Filter: Only show the errors with the same message
8: Undefined index: name
File: /srv/www/web25/web/Sources/Subs.php
Line: 4350

Code:
function create_keywords()
{
    global $context, $modSettings;
    $stop_words =  array("i","a","about","an","are","as","at","be","by","com","de","en","for","from","how","in","is","it","la","of","on","or","that","the","thi ","to","was","what","when","where","who","will","with","and","und", "www","dont","find","your","you","but", "hi","if","don","t","we","don\'t","do","won\'t","i'm");
    if (isset($context['keywords_']))
    return 'meta name="keywords" content="'.$context['keywords_'].'" /';
    if (!isset($context['current_board']) && !isset($context['current_topic'])) //we are on root
    {
$keywords=$modSettings['seo4smf_description_content_index'];
    }
    else
    {
if (!isset($context['board_description']))
{
    switch ($modSettings['seo4smf_keywords_content_boards'])
    {
[b]4350[/b]     case 1: $keywords=$context['name']; break;
    case 2: $keywords=$context['description']; break;
    case 3: $keywords=$context['name'].' '.$context['description']; break;
    case 4: $keywords=$context['name'].' '.$modSettings['seo4smf_description_content_index']; break;
    case 5: $keywords=$context['name'].' '.$modSettings['seo4smf_description_content_index'].' '.$context['description']; break;
    }
}
else


(I added bold line nr. just to see)

If anyone know how can I solve (get rid of it) this I would realy appriciate it.
Logged


TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: December 13, 2006, 02:00:10 »

Thanks for warning ... The new version will contain the necessary updates to remove this warnings !

Regaerds
Logged

IKShadow
Jr. Member
**

Points: 0
Offline Offline

Posts: 23


« Reply #2 on: December 13, 2006, 05:34:24 »

Thanks for warning ... The new version will contain the necessary updates to remove this warnings !

Regaerds

On new release, please put some instructions how to manualy update existing mod.
I relay dont wont to risk uninstall and reinstall due few mods that are installed after it.
Logged
IKShadow
Jr. Member
**

Points: 0
Offline Offline

Posts: 23


« Reply #3 on: December 13, 2006, 12:53:31 »

Thanks for help TheGodFather.

p.s. I still have same errors in forum log file (Seo4SMF 0.2 RC10), but the line nr. did change  Grin
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #4 on: December 13, 2006, 13:21:56 »

Hmmm ... I need to look at that ... In my forum the error log is empty ...

Regards
Logged

Nite
Jr. Member
**

Points: 0
Offline Offline

Posts: 55



WWW
« Reply #5 on: December 14, 2006, 10:04:58 »

There is a menu for seo4smf inside the admin menu ... be sure that you active the mod by ticking it off ...
Logged

IKShadow
Jr. Member
**

Points: 0
Offline Offline

Posts: 23


« Reply #6 on: December 14, 2006, 12:59:27 »

There is a menu for seo4smf inside the admin menu ... be sure that you active the mod by ticking it off ...

rofl
Logged
Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #7 on: December 15, 2006, 13:03:45 »

me too I have a lot of error in errors log when someone does a search on my forum

http://www.site.com/smf/index.php?action=search2
8: Undefined index: subject
Fichier: /public_html/smf/Sources/Subs.php
Ligne: 3714

line 3714 :
$subject=remove_signs($topic['subject']);
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #8 on: December 15, 2006, 13:24:35 »

I will need to disable description and keyword for all those pages.

Regards
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #9 on: December 15, 2006, 13:30:58 »

another one when a moderator move a topic

http://www.site.com/smf/index.php?action=movetopic;topic=84246.0
8: Undefined index: last_post
Fichier: /public_html/smf/Sources/Subs.php
Ligne: 4016

Line 4016 :
   if ($board['last_post']['topic']==$topic_id)
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #10 on: December 15, 2006, 13:32:16 »

Thanks
Logged

Sakuragi
Full Member
***

Points: 0
Offline Offline

Posts: 104



« Reply #11 on: December 15, 2006, 13:51:12 »

glad to help you with this great mod!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!