Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: codevarun on June 06, 2010, 07:08:52 AM

Title: Undefined index: server in Subs.php
Post by: codevarun on June 06, 2010, 07:08:52 AM
I am getting this error
8: Undefined index: server
Apply Filter: Only show the errors from this file
File: /home/websit51/public_html/othersite/******edupsystems/forum/Sources/Subs.php
Line: 810

And the following is the text.. with this line




// Windows doesn't support %e; on some versions, strftime fails altogether if used, so let's prevent that.
==>810:    

   

if ($context['server']['is_windows'] && strpos($str, '%e') !== false)
811:    

   

   

$str = str_replace('%e', ltrim(strftime('%d', $time), '0'), $str);
812:    
Title: Re: Undefined index: server in Subs.php
Post by: codevarun on June 08, 2010, 03:09:13 PM
friends do you need more information? as now I am getting thousands of error with this
Title: Re: Undefined index: server in Subs.php
Post by: codevarun on June 08, 2010, 03:16:14 PM
Hello friends just for your information I have these packages installed...

1.   PM to New Members   1.2   [ Uninstall ]
2.   Topic Solved   1.1   [ Uninstall ]
3.   Custom BBCode   2.01   [ Uninstall ]
4.   Pretty URLs   1.0   [ Uninstall ]
5.   Twitter and Facebook Publisher mod   2.4   [ Uninstall ]
6.   Floating Bar Mod   1.1.4   [ Uninstall ]
7.   Seo Hhy   1.1   [ Uninstall ]
8.   Related Topics   1.4 Beta 3   [ Uninstall ]
9.   Referrals Mod   2.2.7.2   [ Uninstall ]
10.   Google Analytics Code   1.1   [ Uninstall ]
11.   Blizzard WOW Quotes   1.1   [ Uninstall ]
12.   H1 Tags in link tree   1.0   [ Uninstall ]
13.   RSS Feed Icon   1.1   [ Uninstall ]
14.   Sitemap   2.1.2   [ Uninstall ]
15.   Global Headers Footers   2.0   [ Uninstall ]
16.   Ad Managment   2.3.6.2   [ Uninstall ]
17.   SA FBConnect   0.2   [ Uninstall ]
18.   Thank-O-Matic   2.0 RC2   [ Uninstall ]
19.   Yet Another Global Announcements Mod   2.7.3   [ Uninstall ]
20.   SimplePortal   2.3.2   [ Uninstall ]
21.   Hack's Park Shoutbox   2.0.2   [ Uninstall ]