SimplePortal
Support => English Support => Topic started by: mrtrc266 on January 01, 2009, 10:59:33 AM
-
Hello and Happy New Years to all.
I have had over 100 of this exact error in the last 24hrs.
I'm not sure what happened but out of the blue this error popped up. Anyone have any ideas?
8: Undefined index: 01
File: /home/xxxxxx/public_html/Themes/default/SPortal1-1.template.php (portal_below sub template - eval?)
Line: 229
Any help is greatly appreciated, thanks in advance.
SMF 1.1.7 / SP 2.1.1 / www.monsters-mansion.com
-
Bump, can anyone see this? Any Ideas?
-
i' had the same
your calendar do not display the month anymore but just the year ?
thi bug will disapear in february !!
find this
list($month, $year, $weekday) = explode(',',gmstrftime('%m,%Y,%w',$first_of_month));
$weekday = ($weekday + 7 - $first_day) % 7; //adjust for $first_day
$title = $txt['months_titles'][$month].' '.$year;
replace by
list($month, $year, $weekday) = explode(',',gmstrftime('%m,%Y,%w',$first_of_month));
$weekday = ($weekday + 7 - $first_day) % 7; //adjust for $first_day
$month = date("n",$now);
$title = $txt['months_titles'][$month].' '.$year;
i'm not very good in php but it's working :)
-
Had the same errors but just on 1.1.09 . So I do not really take care about ;)
I had the same problem with the calendar, solved it as described in this thread (http://simpleportal.net/index.php?topic=89.msg8667#msg8667).
-
SOLVED:
Found the fix in this thread http://simpleportal.net/index.php?topic=89.40
The problem was in my "Mini Calendar" in my portal
had to change
$title = $txt['months_titles'][$month].' '.$year; //This is the SMF Text string, so it should be corrected for ut8 or iso
To
$title = $txt['months_titles'][(int)$month].' '.$year; //This is the SMF Text string, so it should be corrected for ut8 or iso
Thanks for the help.
-
Please insert the second fix, too.
Bye
DIN1031