Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Aravot on February 01, 2005, 01:57:49 AM

Title: Forum Error Log
Post by: Aravot on February 01, 2005, 01:57:49 AM
After checking 'forum error log' I found that I get pages and pages of errors (see attached), are these errors fatal, if so how to fix it and what's the causes, thanks.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Fforumerror.jpg&hash=d8bc9ad00add7a97f2923db7073bb71c1bd4819f)
Title: Re: Forum Error Log
Post by: [Unknown] on February 01, 2005, 03:22:28 AM
It might be a mod.  Can you try a detailed version check?

-[Unknown]
Title: Re: Forum Error Log
Post by: Aravot on February 01, 2005, 12:21:26 PM
Hello [Unknown],

Thanks for the reply could you please point me to where 'detailed version check' is. if you want I can create an admin account for you to check, the website is SMF forum (http://armeniancollege.org/smf)
Title: Re: Forum Error Log
Post by: Ben_S on February 01, 2005, 12:29:48 PM
Admin > Support & Credits.
Title: Re: Forum Error Log
Post by: Aravot on February 01, 2005, 12:53:12 PM
Thanks, see attached for Detailed Version Check.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Fdetailversioncheck_small.jpg&hash=df2ba8e1fdcf0086a3c3893ff78fae6be38d201e)
Link to Full Size Pic (http://webpages.charter.net/osipof/smf/detailversioncheck.jpg)
Title: Re: Forum Error Log
Post by: [Unknown] on February 02, 2005, 01:34:12 AM
Have you checked your index.template.php on line 462?

-[Unknown]
Title: Re: Forum Error Log
Post by: Aravot on February 02, 2005, 12:39:43 PM
Quote from: [Unknown] on February 02, 2005, 01:34:12 AM
Have you checked your index.template.php on line 462?

-[Unknown]

Yes I did check, it is reference to CPG Gallery Button.

copy of my index.template.php can be found HERE (http://webpages.charter.net/osipof/smf/errorlog/index.template.php)

Title: Re: Forum Error Log
Post by: [Unknown] on February 02, 2005, 12:43:57 PM
Find: (appears twice on that line)

$txt[801]

Replace:

'Gallery'

-[Unknown]
Title: Re: Forum Error Log
Post by: Aravot on February 02, 2005, 12:58:09 PM
Thanks -[Unknown],

one questions though since I have no clue of programming (I copy and past), which $txt[801] should I replace the first or second, thanks again.

// The [gallery] button
if (!$context['user']['is_guest'])
echo '
<a href="http://www.mysite.com/cpg">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="' . $txt[801] . '" style="margin: 2px 0;" border="0" />' : $txt[801]), '</a>', $context['menu_separator'];


what does $txt[801] mean and where can I find reference to explanation of codes.
Title: Re: Forum Error Log
Post by: [Unknown] on February 02, 2005, 08:28:43 PM
Quote from: [Unknown] on February 02, 2005, 12:43:57 PM
Find: (appears twice on that line)

Sorry, I meant "appears twice, replace both".

It's a language string reference.  Or, in less technical words, it's a way of using the word "Gallery" but still making it translatable.  However, you don't have the translation in your language files, which is why you're getting the errors.

-[Unknown]
Title: Re: Forum Error Log
Post by: Aravot on February 02, 2005, 08:57:55 PM
-[Unknown],

thank for the help, by replace $txt[801] with 'Gallery' I got one error fix but now I am getting the following error.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Ferrorlog.jpg&hash=4ef5638f6b71759597fab3220c2f8c4b501dd95c)

I checked both index.php & Errors.template.php I don't have line 463, what do you think causes this error.
Title: Re: Forum Error Log
Post by: [Unknown] on February 03, 2005, 03:23:03 PM
Yes, well, it's guessing.  It's still probably index.template.php.

-[Unknown]