HelpHelpSearchSearchMembersMembersCalendarCalendar
Welcome, Guest. Please login or register.

Login with username, password and session length
October 12, 2008, 04:16:15 AM
Please use the support forum for support issues instead of sending me pm's. Thanks.
I will not reply to support issues via pm.
« previous next »
Pages: [1] 2   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read July 07, 2008, 07:31:56 AM #0
assam_siddibapa

error log

Theme name: Warzone
Forum URL: http://www.legendaryhackerz.com/

Problem:
I am getting errors on my error log. Its increasing in doubles . So need help. There are many more . Just sorted a little.

Geting some more error as i have changed my theme.
Using SMF 1.1.5
Theme Paid Warzone theme by webtechnica.net


 http://www.*******.com/forum/index.php

8: Undefined index: num_users_online_today
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 455


 http://www.******.com/forum/index.php

8: Undefined index: num_hidden_users_online_today
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 457


http://www*******.com/forum/index.php

8: Undefined index: uot_hidden
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 457


 http://www.*****.com/forum/index.php

8: Undefined index: board_threads
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 64


http://www.********.com/forum/index.php

8: Undefined index: goto_lastpost
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 180


http://www.**********.com/forum/index.php

8: Undefined index: theme_template_error
/home/legenda2/public_html/forum/Sources/Errors.php
339





What should i do to rectify those errors

edit

It gets doubled.... now i think so there are more then 1200 pages
« Last Edit: July 30, 2008, 03:48:36 PM by m3talc0re »
Offline  
Read July 07, 2008, 09:12:21 PM #1
m3talc0re

Re: error log

It's got to be one something you've changed in the BoardIndex.template.php. Maybe one of those mods is doing it, not sure. The one I have here unmodified causes no errors.


The real hell is your life gone wrong.
Offline  
Read July 07, 2008, 09:36:53 PM #2
assam_siddibapa

Re: error log

I dint change any thing in the boadrindex.template.php.  If so there is a change wat if i replace the one with the raw one which i downloaded i mean

[BoardIndex.template.php]using presently  ------>     [BoardIndex.template.php]New file unmodified which i got in the theme file when i purchased it .


EDIT attached file
error place
« Last Edit: July 08, 2008, 12:51:20 PM by assam_siddibapa »
Offline  
Read July 09, 2008, 07:12:39 AM #3
assam_siddibapa

Re: error log

First asked about error log on SMF
http://www.simplemachines.org/community/index.php?topic=248045.0
got a reply that i must install all the mods
so cleaned my whole copy
http://www.simplemachines.org/community/index.php?topic=248315.0


Still getting errors.???
Offline  
Read July 09, 2008, 01:17:00 PM #4
m3talc0re

Re: error log

Sorry, I must've been just completely out of it when I read this thread. Install this mod: http://custom.simplemachines.org/mods/index.php?mod=217

I fixed this problem, but I must've forgotten to update Warzone with the fixed template file.

After you install that mod, let me know if you still get the errors.


The real hell is your life gone wrong.
Offline  
Read July 10, 2008, 08:46:59 AM #5
assam_siddibapa

Re: error log

Actually i blocked that
 // Users online today   
  // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.


I disabled both unsing /*  */

after doing this all error stoped

after installing the mod which u said me it gave me error
Unable to load the 'main' template


Now wat should i do

I think so some thing can be done in the boardindex so that it work and error also stop.

Hope a reply soon
Offline  
Read July 11, 2008, 11:18:45 PM #6
m3talc0re

Re: error log

Did you restore it back to the way it was exactly?
	
// Users online today (if installed)
	
if (isset(
$txt['uot_users_online_today']))
	
{
	
	
echo 
'
	
	
	
	
<tr>
	
	
	
	
	
<td class="titlebg" colspan="2">'
$txt['uot_users_online_today'], '</td>
	
	
	
	
</tr><tr>
	
	
	
	
	
<td class="windowbg2" width="20" valign="middle" align="center">
	
	
	
	
	
	
<img src="'
$settings['images_url'], '/icons/online.gif" alt="'$txt['uot_users_online_today'], '" border="0" />
	
	
	
	
	
</td>
	
	
	
	
	
<td class="windowbg" width="100%">'
;

	
	
echo 
'
	
	
	
	
	
	
<div class="smalltext">'
;

	
	
echo 
$txt['uot_total'], ': <b>'$context['num_users_online_today'], '</b>';
	
	
if (!
$context['user']['is_guest'])
	
	
  
	
echo 
' ('$txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', '$txt['uot_hidden'], ': '$context['num_hidden_users_online_today'], ')';

	
	
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
	
	
if (!empty(
$context['users_online_today']) && !$context['user']['is_guest'])
	
	
echo 
'<br />'implode(', '$context['list_users_online_today']);

	
	
echo 
'
	
	
	
	
	
	
<br />'
$context['show_stats'] && !$settings['show_sp1_info'] ? '
	
	
	
	
	
	
<a href="' 
$scripturl '?action=stats">' $txt['smf223'] . '</a>' '''
	
	
	
	
	
	
</div>
	
	
	
	
	
</td>
	
	
	
	
</tr>'
;
	
}


The real hell is your life gone wrong.
Offline  
Read July 12, 2008, 07:10:23 AM #7
assam_siddibapa

Re: error log

Now worked fine...


And why is that in users online the legend doesnt comes .... when ever some one is online only it shows.

I installed the mod to but there is not separate coding for warzone ... but there is for tat new damage

can u help me for that
Offline  
Read July 15, 2008, 12:34:02 PM #8
assam_siddibapa

Re: error log

Waiting for ur reply.
Offline  
Read July 15, 2008, 05:49:47 PM #9
m3talc0re

Re: error log

Put your entire BoardIndex.template.php inside a code box here. The latest one you are using, the one that is on your server RIGHT NOW. Something isn't right in there I guess, I dunno why it's not working right for you.


The real hell is your life gone wrong.
Offline  
Read July 16, 2008, 08:19:45 AM #10
assam_siddibapa

Re: error log

Again started getting error

8: Undefined index: board_newchild
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 244

8: Undefined index: board_newposts
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 243

8: Undefined index: board_by
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 191
{10 pages}

8: Undefined index: board_in
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 190

8: Undefined index: goto_lastpost
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 190

8: Undefined index: board_posts
File: /home/legenda2/public_html/forum/Themes/Warzone/BoardIndex.template.php (main sub template - eval?)
Line: 75

Then others are near line
232
242
74

most of them are with
8: Undefined index: board_****



I have attached my BoardIndex.template.php


Plz solve my problem
Offline  
Read July 17, 2008, 02:03:09 PM #11
m3talc0re

Re: error log

Okay, besides the file having a lot of spacing for some reason in the users online today part, the file looks fine.

Look in the index.template.php on line 58-ish, is this in there?
	
/* Load the custom language template for this theme. */
	
loadLanguage('ThemeStrings');

If it's not, it needs to be. Also, if that IS there, attach the Warzone/languages/ThemeStrings.english.php file so I can have a look in it and make sure those strings are still in there.


The real hell is your life gone wrong.
Offline  
Read July 17, 2008, 09:47:55 PM #12
assam_siddibapa

Re: error log

Theme string attached.
My users online part is working fine now.
I what that legend part working .
And what about the error places
« Last Edit: July 17, 2008, 10:28:52 PM by assam_siddibapa »
Offline  
Read July 17, 2008, 10:36:50 PM #13
m3talc0re

Re: error log

I don't know, I can't figure out why you're getting those errors when it's obviously working or the text wouldn't be showing up on your forum Undecided


The real hell is your life gone wrong.
Offline  
Read July 18, 2008, 03:21:13 AM #14
assam_siddibapa

Re: error log

I get those errors some times only... just atleast plz help me with the legend
Offline  
Pages: [1] 2   Go Up
Jump to:  

Theme by Webtechnica.net
MySQL PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 CSS