News:

Wondering if this will always be free?  See why free is better.

Main Menu

Undefined index: align="middle"

Started by MarkoKg, May 23, 2010, 03:25:02 PM

Previous topic - Next topic

MarkoKg

Hello there.
My forum version is 1.1.11.
ive just change my default theme to CleanBlue, and manually adds codes for mods that i have installed.

Now i have error in error log when open topic. Everything seems to display okay, but error is still there.

Quote
Undefined index: align="middle"
File: /home/samoopu/public_html/forum/Sources/Subs.php
Line: 3912

At that line, i have this:
return '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');

I dont understand what can be the problem, couse i didnt have that error before changing theme, and Subs,php is the same as before.

Anyone can help with this please?

Paul_Pauline

You cannot put "align=middle" it should be either "valign=middle" or " align=center" depending on what you are trying to achieve.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

MarkoKg

Thanks for your answer.
However, i didnt change any code, and i dont have code align="middle" in Subs.php...

MarkoKg

Solved, that was theme problem, and the solutin was in support topic.
Thanks.

Advertisement: