<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>osCommerce eXtras &#187; Problems and Solutions</title>
	<atom:link href="http://www.oscommercex.com/category/problems-and-solutions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oscommercex.com</link>
	<description>The solutions are not only about osCommerce but also about e-commerce.</description>
	<lastBuildDate>Sat, 18 Jul 2009 11:27:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>osCommerce RC 2.2a and PHP 5.3.0 (on Windows) Problem</title>
		<link>http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/</link>
		<comments>http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 11:25:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Problems and Solutions]]></category>
		<category><![CDATA[eregi]]></category>

		<guid isPermaLink="false">http://www.oscommercex.com/?p=321</guid>
		<description><![CDATA[php.net announced latest stable version of PHP as PHP 5.3.0
When I try to run osCommerce on Windows with PHP 5.3.0 I get below errors.
Deprecated: Function eregi() is deprecated in &#8230;
Warning: date(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In [...]]]></description>
			<content:encoded><![CDATA[<p>php.net announced latest stable version of PHP as PHP 5.3.0<br />
When I try to run osCommerce on Windows with PHP 5.3.0 I get below errors.</p>
<blockquote><p>Deprecated: Function eregi() is deprecated in &#8230;<br />
Warning: date(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;Europe/Helsinki&#8217; for &#8216;3.0/DST&#8217; instead in&#8230;</p></blockquote>
<p>Solution: Actually osCommerce should publish a patch for PHP 5.3.0 because there are a lot of eregi function used in codes. If you want to learn solution please visit below address.</p>
<p><strong>Fix `ereg is deprecated` errors in PHP 5.3</strong><br />
<a href="http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53/">http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53/</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem+-+http://tr.im/AglI+(via+@osCommerceX)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="sexy-blinklist">
			<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;Title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on Blinklist">Share this on Blinklist</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-diigo">
			<a href="http://www.diigo.com/post?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;desc=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti" rel="nofollow" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;submitHeadline=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;submitSummary=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;t=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;t=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;summary=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti&amp;source=osCommerce eXtras" rel="nofollow" title="Share this on Linkedin">Share this on Linkedin</a>
		</li>
		<li class="sexy-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;h=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="sexy-devmarks">
			<a href="http://devmarks.com/index.php?posttext=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti&amp;posturl=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;posttitle=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on Devmarks">Share this on Devmarks</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;bm_description=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;plugin=sexybookmarks" rel="nofollow" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="sexy-izeby">
			<a href="http://izeby.com/submit.php?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/" rel="nofollow" title="Add this to Izeby">Add this to Izeby</a>
		</li>
		<li class="sexy-tipd">
			<a href="http://tipd.com/submit.php?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/" rel="nofollow" title="Share this on Tipd">Share this on Tipd</a>
		</li>
		<li class="sexy-pfbuzz">
			<a href="http://pfbuzz.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on PFBuzz">Share this on PFBuzz</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;link=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-blogmarks">
			<a href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Mark this on BlogMarks">Mark this on BlogMarks</a>
		</li>
		<li class="sexy-twittley">
			<a href="http://twittley.com/submit/?title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;url=http%3A%2F%2Fwww.oscommercex.com%2F2009%2F07%2Foscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem%2F&amp;desc=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti&amp;pcat=Internet&amp;tags=" rel="nofollow" title="Submit this to Twittley">Submit this to Twittley</a>
		</li>
		<li class="sexy-fwisp">
			<a href="http://fwisp.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/" rel="nofollow" title="Share this on Fwisp">Share this on Fwisp</a>
		</li>
		<li class="sexy-designmoo">
			<a href="http://designmoo.com/submit?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem&amp;body=php.net%20announced%20latest%20stable%20version%20of%20PHP%20as%20PHP%205.3.0%0D%0AWhen%20I%20try%20to%20run%20osCommerce%20on%20Windows%20with%20PHP%205.3.0%20I%20get%20below%20errors.%0D%0ADeprecated%3A%20Function%20eregi%28%29%20is%20deprecated%20in%20...%0D%0AWarning%3A%20date%28%29%3A%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20%2Arequired%2A%20to%20use%20the%20date.ti" rel="nofollow" title="Moo this on DesignMoo!">Moo this on DesignMoo!</a>
		</li>
		<li class="sexy-bobrdobr">
			<a href="http://bobrdobr.ru/addext.html?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Share this on BobrDobr">Share this on BobrDobr</a>
		</li>
		<li class="sexy-yandex">
			<a href="http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&amp;lurl=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;lname=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Add this to Yandex.Bookmarks">Add this to Yandex.Bookmarks</a>
		</li>
		<li class="sexy-memoryru">
			<a href="http://memori.ru/link/?sm=1&amp;u_data[url]=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;u_data[name]=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Add this to Memory.ru">Add this to Memory.ru</a>
		</li>
		<li class="sexy-100zakladok">
			<a href="http://www.100zakladok.ru/save/?bmurl=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;bmtitle=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Add this to 100 bookmarks">Add this to 100 bookmarks</a>
		</li>
		<li class="sexy-moemesto">
			<a href="http://moemesto.ru/post.php?url=http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/&amp;title=osCommerce+RC+2.2a+and+PHP+5.3.0+%28on+Windows%29+Problem" rel="nofollow" title="Add this to MyPlace">Add this to MyPlace</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.oscommercex.com/2009/07/oscommerce-rc-2-2a-and-php-5-3-0-on-windows-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
