TinyPortal

Development => International => Topic started by: dj_juan on September 21, 2008, 07:15:06 PM

Title: 2 errors: 8: Undefined variable: first //// 8: Undefined index: online (Phobos)
Post by: dj_juan on September 21, 2008, 07:15:06 PM
Hola, estoy teniendo estos dos errores que no sé como solucionarlos:

8: Undefined variable: first
/Foro/Themes/phobos114/Display.template.php (eval?)
Línea: 77

/* Each board in each category's boards has:
new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
children (see below.), link_children (easier to use.), children_new (are they new?),
topics (# of), posts (# of), link, href, and last_post. (see below.) */
foreach ($context['boards'] as $board)
{
echo '
<tr class="windowbg2">' , !$first ? '<td colspan="6"><hr /></td></tr><tr>' : '' , '
<td class="windowbg" width="6%" align="center" valign="top">
<a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';



8: Undefined index: online
Foro/Themes/phobos114/Display.template.php (eval?)
Línea: 263

// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" rowspan="2" width="25%">
' , $message['member']['online']['is_online'] ?
$settings['greenbox1'] . '<b style="display: block; overflow: hidden;">'. $message['member']['link']. '</b> ' . $settings['greenbox2'] :
$settings['greenbox3'] . '<b style="display: block; overflow: hidden;">'. $message['member']['link']. '</b> ' . $settings['greenbox4'] , '

' . $settings['greybox1'] . '<div class="smalltext" style="text-align: center;">';


Theme: Phobos
Web: www.deejayparadise.com.ar

Muchas gracias y saludos!




by Google:
   
Hi, I'm taking these two mistakes I do not know how to fix them:

8: Undefined variable: first
/Foro/Themes/phobos114/Display.template.php (eval?)
Line: 77

/* Each board in each category's boards has:
new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
children (see below.), link_children (easier to use.), children_new (are they new?),
topics (# of), posts (# of), link, href, and last_post. (see below.) */
foreach ($context['boards'] as $board)
{
echo '
<tr class="windowbg2">' , !$first ? '<td colspan="6"><hr /></td></tr><tr>' : '' , '
<td class="windowbg" width="6%" align="center" valign="top">
<a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';



8: Undefined index: online
Foro/Themes/phobos114/Display.template.php (eval?)
Line: 263

// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" rowspan="2" width="25%">
' , $message['member']['online']['is_online'] ?
$settings['greenbox1'] . '<b style="display: block; overflow: hidden;">'. $message['member']['link']. '</b> ' . $settings['greenbox2'] :
$settings['greenbox3'] . '<b style="display: block; overflow: hidden;">'. $message['member']['link']. '</b> ' . $settings['greenbox4'] , '

' . $settings['greybox1'] . '<div class="smalltext" style="text-align: center;">';





Link to my site: http://www.deejayparadise.com.ar.com
SMF version: SMF ver.  1.1.6
TP version: TP ver. 0.983
Theme name and version: Theme name Phobos 1.1.4
Mods installed: Mods listed

1.     SMF Gallery Lite      1.8.2       [ Desinstalar ]  [ Listar archivos ]  [ Borrar ]
2.    Global Headers Footers    1.3    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
3.    Users Online Today Mod    1.4.0    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
4.    Invite    1.14    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
5.    TinyPortal    0.983    [ Listar archivos ] [ Borrar ]
6.    ed2k links support    3.1.1    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
7.    Clipfish BBC Tag (XHTML Compliant)    1.3    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
8.    Eliana Mod    2.0    [ Aplicar Mod ] [ Listar archivos ] [ Borrar ]
9.    The Bar Of Experience    1.2    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
10.    Country Flags    1.0.1    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
11.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
12.    Global Announcements    1.0    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
13.    K-Detection    2.2    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
14.    Member Color Link    3.0.3    [ Listar archivos ] [ Borrar ]
15.    Force Topic Read On Login Mod    1.0    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
16.    TopicCountOnDispla    1.1.5    [ Aplicar Mod ] [ Listar archivos ] [ Borrar ]
17.    Googlebot & Spiders Mod    2.0.3    [ Desinstalar ] [ Listar archivos ] [ Borrar ]
18.    Hide Tag    1.7.1    [ Listar archivos ] [ Borrar ]
19.    Remove SMF Logo    1.0

Related Error messages: Error message

8: Undefined variable: first
/Foro/Themes/phobos114/Display.template.php (eval?)
Línea: 77

8: Undefined index: online
Foro/Themes/phobos114/Display.template.php (eval?)
Line: 263



Thank you very much and greetings!
Title: Re: 2 errors: 8: Undefined variable: first //// 8: Undefined index: online (Pho
Post by: G6Cad on September 21, 2008, 07:24:03 PM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: 2 errors: 8: Undefined variable: first //// 8: Undefined index: online (Phobos)
Post by: dj_juan on September 21, 2008, 07:42:38 PM
So okay?
Title: Re: 2 errors: 8: Undefined variable: first //// 8: Undefined index: online (Pho
Post by: G6Cad on September 21, 2008, 08:11:34 PM
Your online error generates from this mod

3.    Users Online Today Mod    1.4.0    [ Desinstalar ] [ Listar archivos ] [ Borrar ]

You need to add all the mods template changes to the phobos theme manually.
Also the language files it adds to the modsetting.english.php needs to be added manually and translated to your own language files

To get mor help on that, you need to seek help on SMF and the mod creators.
Title: Re: 2 errors: 8: Undefined variable: first //// 8: Undefined index: online (Phobos)
Post by: dj_juan on September 22, 2008, 12:47:49 AM
thank you very much I'm going to investigate where I said!