News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Forum Error Log

Started by Aravot, February 01, 2005, 01:57:49 AM

Previous topic - Next topic

Aravot

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.


[Unknown]

It might be a mod.  Can you try a detailed version check?

-[Unknown]

Aravot

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

Ben_S

Admin > Support & Credits.
Liverpool FC Forum with 14 million+ posts.

Aravot

Thanks, see attached for Detailed Version Check.


Link to Full Size Pic

[Unknown]

Have you checked your index.template.php on line 462?

-[Unknown]

Aravot

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


[Unknown]

Find: (appears twice on that line)

$txt[801]

Replace:

'Gallery'

-[Unknown]

Aravot

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.

[Unknown]

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]

Aravot

-[Unknown],

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



I checked both index.php & Errors.template.php I don't have line 463, what do you think causes this error.

[Unknown]

Yes, well, it's guessing.  It's still probably index.template.php.

-[Unknown]

Advertisement: