News:

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

Main Menu

"8: Undefined index: theme_main_color" Error

Started by ken123, August 27, 2008, 02:18:12 PM

Previous topic - Next topic

ken123

I kept seeing this error message with version 1.1.5
Quote8: Undefined index: theme_main_color
File: /home/content/....../html/forums/Themes/Mim/BoardIndex.template.php
Line: 136
Could somebody tell me how to fix it? Thanks.
Prosper Forums - Discussion on Prosper P2P Loans and Investing.
HYIP Daily Blog - a must read for HYIP (High Yield Investment Programs) investors.
Momentum Stocks

ccbtimewiz

Can you attach BoardIndex.template.php?

Also, what mods are you using? And what theme?

ken123

I am using the "Mim" theme without any mods. Thanks.
Prosper Forums - Discussion on Prosper P2P Loans and Investing.
HYIP Daily Blog - a must read for HYIP (High Yield Investment Programs) investors.
Momentum Stocks

ccbtimewiz

This seems to be a problem with the theme itself. I can fix the undefined errors-- but it will cease all operations of your multi-color theme.

I suggest ask the theme author in their theme thread.

[SiNaN]

#4
It isn't a multi-color theme. This should fix it:

index.template.php

Find:

$settings['use_buttons'] = true;

Replace:

$settings['use_buttons'] = true;

/* Forgotten */
$settings['theme_main_color'] = '';


Sorry, use this please:

BoardIndex.template.php

Find and delete:

'. $settings['theme_main_color']. '/

There are 5, delete them all.

MessageIndex.template.php

Find and delete:

'. $settings['theme_main_color']. '/

There are 3, delete them all.
Former SMF Core Developer | My Mods | SimplePortal

ken123

Prosper Forums - Discussion on Prosper P2P Loans and Investing.
HYIP Daily Blog - a must read for HYIP (High Yield Investment Programs) investors.
Momentum Stocks

ken123

Prosper Forums - Discussion on Prosper P2P Loans and Investing.
HYIP Daily Blog - a must read for HYIP (High Yield Investment Programs) investors.
Momentum Stocks

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

aw06

Im getting this error as well .. my theme doesnt have its own BoardIndex .. do i just delete the strings from its MessageIndex
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Advertisement: