ok i got this error that keeps creating tons and tons of errors in my error log.
the error is
Quote
8: Undefined index: theme_color
/home/mdccla2/public_html/forums/Themes/default/languages/index.english.php
5
by putting
if ($options['theme_color'] == '') { $options['theme_color'] = 'blue';}
i thought that would stop it. cuss that is how the theme sets it up in its index.template.php
if(!$context['user']['is_guest'] && isset($_POST['options']['theme_color']))
{
include_once($GLOBALS['sourcedir'] . '/Profile.php');
makeThemeChanges($context['user']['id'], $settings['theme_id']);
$options['theme_color'] = $_POST['options']['theme_color'];
}
elseif ($context['user']['is_guest'])
{
if (isset($_POST['options']['theme_color']))
{
$_SESSION['theme_color'] = $_POST['options']['theme_color'];
$options['theme_color'] = $_SESSION['theme_color'];
}
elseif (isset($_SESSION['theme_color']))
$options['theme_color'] = $_SESSION['theme_color'];
}
but that does not fix it...
what can i do besides going into phpmyadmin and adding this into the smf_themes for every user ID... which is the only way. oddly this theme uses that instead of smf_members...