<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: AMFPHP 1.9 Update in SVN</title>
	<atom:link href="http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ahmed Bravo</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-7076</link>
		<dc:creator>Ahmed Bravo</dc:creator>
		<pubDate>Tue, 10 Nov 2009 15:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-7076</guid>
		<description>I currently had some issues, with MYSQL 5.0 and PHP 5.2, that took my inhouse program that relys on Mysql and AMFPHP services down.

In order to fix the issue i decided to reinstall PHP and MYSQL. 

Unfortunatly I Decided to use PHPs newest release PHP 5.3.

What a hassel this has been.

I have had to update php functions all over the place.

Well on to the point...

I had this error on my amfphp browser when i tried to open it.

 [
  (mx.rpc::Fault)#0
  errorID = 0
  faultCode = &quot;Client.Error.MessageSend&quot;
  faultDetail = &quot;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500&quot;
  faultString = &quot;Send failed&quot;
  message = &quot;faultCode:Client.Error.MessageSend faultString:&#039;Send failed&#039; 
	faultDetail:&#039;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500&#039;&quot;
  name = &quot;Error&quot;
  rootCause = (Object)#1
    code = &quot;NetConnection.Call.Failed&quot;
    description = &quot;HTTP: Status 500&quot;
    details = &quot;http://dellsrv/amfphp/gateway.php&quot;
    level = &quot;error&quot; 
   ]

look it up on google no conclusions, except i was inadvetently directed to checking my apache logs.

I saw in the apache logs the following:

Uncaught exception &#039;VerboseException&#039; with message &#039;date(): It is not safe to rely on the system&#039;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 &#039;America/New_York&#039; for &#039;-5.0/no DST&#039; instead&#039; in C:\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php:213\nStack trace:\n#0 [internal function]: amfErrorHandler(2, &#039;date(): It is n...&#039;, &#039;C:\\Program File...&#039;, 213, Array)\n#1 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php(213): date(&#039;D, j M Y &#039;)\n#2 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\gateway.php(152): Gateway-&gt;service()\n#3 {main}\n  thrown in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php on line 213

So i basically did what i said to do: went into the Gateway.php file for AMFPHP core and added &quot; date_default_timezone_set(&#039;America/Los_Angeles&#039;); &quot; to the beggining of the file.

And i was finally able to enter the AMFPHP browser.

When i went to the Service i am running i got the following:

&quot; Function eregi_replace() is deprecated
C:\Apache Software Foundation\Apache2.2\htdocs\amfphp\core\shared\util\MethodTable.php on line 505 &quot;

So i replaced it with ereg_replace() also deprecated, replace that with preg_replace(). 

Than i got another error &quot; preg_replace(): Unknown modifier &#039;+&#039;
C:\Apache Software Foundation\Apache2.2\htdocs\amfphp\core\shared\util\MethodTable.php on line 505 &quot;

so i removed &quot;+&quot; sign from &quot; $comment = preg_replace(&quot;\n[ \t]+&quot;, &quot;\n&quot;, trim($comment)); &quot;

that fixed that. But still have another error.

Continued on next post</description>
		<content:encoded><![CDATA[<p>I currently had some issues, with MYSQL 5.0 and PHP 5.2, that took my inhouse program that relys on Mysql and AMFPHP services down.</p>
<p>In order to fix the issue i decided to reinstall PHP and MYSQL. </p>
<p>Unfortunatly I Decided to use PHPs newest release PHP 5.3.</p>
<p>What a hassel this has been.</p>
<p>I have had to update php functions all over the place.</p>
<p>Well on to the point&#8230;</p>
<p>I had this error on my amfphp browser when i tried to open it.</p>
<p> [<br />
  (mx.rpc::Fault)#0<br />
  errorID = 0<br />
  faultCode = "Client.Error.MessageSend"<br />
  faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500"<br />
  faultString = "Send failed"<br />
  message = "faultCode:Client.Error.MessageSend faultString:'Send failed'<br />
	faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500'"<br />
  name = "Error"<br />
  rootCause = (Object)#1<br />
    code = "NetConnection.Call.Failed"<br />
    description = "HTTP: Status 500"<br />
    details = "http://dellsrv/amfphp/gateway.php"<br />
    level = "error"<br />
   ]</p>
<p>look it up on google no conclusions, except i was inadvetently directed to checking my apache logs.</p>
<p>I saw in the apache logs the following:</p>
<p>Uncaught exception &#8216;VerboseException&#8217; with message &#8216;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;America/New_York&#8217; for &#8216;-5.0/no DST&#8217; instead&#8217; in C:\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php:213\nStack trace:\n#0 [internal function]: amfErrorHandler(2, &#8216;date(): It is n&#8230;&#8217;, &#8216;C:\\Program File&#8230;&#8217;, 213, Array)\n#1 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php(213): date(&#8216;D, j M Y &#8216;)\n#2 C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\gateway.php(152): Gateway-&gt;service()\n#3 {main}\n  thrown in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\amfphp\\core\\amf\\app\\Gateway.php on line 213</p>
<p>So i basically did what i said to do: went into the Gateway.php file for AMFPHP core and added &#8221; date_default_timezone_set(&#8216;America/Los_Angeles&#8217;); &#8221; to the beggining of the file.</p>
<p>And i was finally able to enter the AMFPHP browser.</p>
<p>When i went to the Service i am running i got the following:</p>
<p>&#8221; Function eregi_replace() is deprecated<br />
C:\Apache Software Foundation\Apache2.2\htdocs\amfphp\core\shared\util\MethodTable.php on line 505 &#8221;</p>
<p>So i replaced it with ereg_replace() also deprecated, replace that with preg_replace(). </p>
<p>Than i got another error &#8221; preg_replace(): Unknown modifier &#8216;+&#8217;<br />
C:\Apache Software Foundation\Apache2.2\htdocs\amfphp\core\shared\util\MethodTable.php on line 505 &#8221;</p>
<p>so i removed &#8220;+&#8221; sign from &#8221; $comment = preg_replace(&#8220;\n[ \t]+&#8221;, &#8220;\n&#8221;, trim($comment)); &#8221;</p>
<p>that fixed that. But still have another error.</p>
<p>Continued on next post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Wegar</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-275</link>
		<dc:creator>Jens Wegar</dc:creator>
		<pubDate>Wed, 15 Oct 2008 13:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-275</guid>
		<description>Hey,

Any idea of when you might be releasing a stable 2.0 release? Just wondering cause it seems amfphp has been in 1.9 beta for over a year now. I would like to use amfphp in a upcoming project, but I&#039;m not too sure my customer&#039;s IT department would be happy with having something marked as beta installed on their servers...</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Any idea of when you might be releasing a stable 2.0 release? Just wondering cause it seems amfphp has been in 1.9 beta for over a year now. I would like to use amfphp in a upcoming project, but I&#8217;m not too sure my customer&#8217;s IT department would be happy with having something marked as beta installed on their servers&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Williams</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-237</link>
		<dc:creator>Glenn Williams</dc:creator>
		<pubDate>Tue, 16 Sep 2008 11:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-237</guid>
		<description>good to see some movement here.

thanks a lot.

Would be really nice if the amfPHP project could start to have some development.

thanks again</description>
		<content:encoded><![CDATA[<p>good to see some movement here.</p>
<p>thanks a lot.</p>
<p>Would be really nice if the amfPHP project could start to have some development.</p>
<p>thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the_hamster</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-210</link>
		<dc:creator>the_hamster</dc:creator>
		<pubDate>Tue, 26 Aug 2008 09:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-210</guid>
		<description>And I just do not miss update AMFPHP. Develop long thought score.</description>
		<content:encoded><![CDATA[<p>And I just do not miss update AMFPHP. Develop long thought score.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Goosen</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-205</link>
		<dc:creator>Brendan Goosen</dc:creator>
		<pubDate>Wed, 20 Aug 2008 19:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-205</guid>
		<description>Thanks a million Wade!</description>
		<content:encoded><![CDATA[<p>Thanks a million Wade!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Donovan</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-203</link>
		<dc:creator>Mark Donovan</dc:creator>
		<pubDate>Tue, 19 Aug 2008 23:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-203</guid>
		<description>Well I&#039;ve been running into similar byteArray issues and I haven&#039;t found a resolution. After downloading your work here wade, 

I&#039;m getting what Alessandro Crugnola had problems with:
http://www.sephiroth.it/weblog/archives/2008/07/amfphp_issue_referencing_bytearray.php

Here&#039;s my svn info output. Is this the newly updated subversion you&#039;re referring to?
Path: .
URL: https://amfphp.svn.sourceforge.net/svnroot/amfphp
Repository Root: https://amfphp.svn.sourceforge.net/svnroot/amfphp
Repository UUID: d1a04505-e93a-0410-bb8f-ef7208cba7c8
Revision: 7
Node Kind: directory
Schedule: normal
Last Changed Author: wadea
Last Changed Rev: 7
Last Changed Date: 2008-08-01 17:52:49 -0600 (Fri, 01 Aug 2008)</description>
		<content:encoded><![CDATA[<p>Well I&#8217;ve been running into similar byteArray issues and I haven&#8217;t found a resolution. After downloading your work here wade, </p>
<p>I&#8217;m getting what Alessandro Crugnola had problems with:<br />
<a href="http://www.sephiroth.it/weblog/archives/2008/07/amfphp_issue_referencing_bytearray.php" rel="nofollow">http://www.sephiroth.it/weblog/archives/2008/07/amfphp_issue_referencing_bytearray.php</a></p>
<p>Here&#8217;s my svn info output. Is this the newly updated subversion you&#8217;re referring to?<br />
Path: .<br />
URL: <a href="https://amfphp.svn.sourceforge.net/svnroot/amfphp" rel="nofollow">https://amfphp.svn.sourceforge.net/svnroot/amfphp</a><br />
Repository Root: <a href="https://amfphp.svn.sourceforge.net/svnroot/amfphp" rel="nofollow">https://amfphp.svn.sourceforge.net/svnroot/amfphp</a><br />
Repository UUID: d1a04505-e93a-0410-bb8f-ef7208cba7c8<br />
Revision: 7<br />
Node Kind: directory<br />
Schedule: normal<br />
Last Changed Author: wadea<br />
Last Changed Rev: 7<br />
Last Changed Date: 2008-08-01 17:52:49 -0600 (Fri, 01 Aug 2008)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William from Lagos</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-200</link>
		<dc:creator>William from Lagos</dc:creator>
		<pubDate>Wed, 13 Aug 2008 16:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-200</guid>
		<description>Great job Wade. When will the main download be made available for those who don&#039;t have access to subversion?</description>
		<content:encoded><![CDATA[<p>Great job Wade. When will the main download be made available for those who don&#8217;t have access to subversion?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-199</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Wed, 13 Aug 2008 14:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-199</guid>
		<description>Thanks Jeff, I will check that out! Appreciate the feedback.</description>
		<content:encoded><![CDATA[<p>Thanks Jeff, I will check that out! Appreciate the feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffery</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-198</link>
		<dc:creator>Jeffery</dc:creator>
		<pubDate>Wed, 13 Aug 2008 10:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-198</guid>
		<description>I have been using the amfphp beta version straight from the trunk and I have seen the latest patch by Alessandro for ByteArrays applied.

However, I had a bit of code which used to return an array which consisted of some key =&gt; pair values and one of the values was a ByteArray. Since the patch was applied, I cannot get my ByteArray data (returns null), unless I send it back to my Flex app by itself.

eg:

$results = array(
  &#039;DocumentName&#039; = $record[&#039;DocumentName&#039;],
  &#039;Document&#039; =&gt; new ByteArray($record[&#039;Document&#039;])
);

return $results;

The above used to work until revision 6 of the repository. Do I need to change anything in my code to make it work again?</description>
		<content:encoded><![CDATA[<p>I have been using the amfphp beta version straight from the trunk and I have seen the latest patch by Alessandro for ByteArrays applied.</p>
<p>However, I had a bit of code which used to return an array which consisted of some key =&gt; pair values and one of the values was a ByteArray. Since the patch was applied, I cannot get my ByteArray data (returns null), unless I send it back to my Flex app by itself.</p>
<p>eg:</p>
<p>$results = array(<br />
  &#8216;DocumentName&#8217; = $record['DocumentName'],<br />
  &#8216;Document&#8217; =&gt; new ByteArray($record['Document'])<br />
);</p>
<p>return $results;</p>
<p>The above used to work until revision 6 of the repository. Do I need to change anything in my code to make it work again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/amfphp/amfphp-19-update-in-svn/comment-page-1#comment-192</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=43#comment-192</guid>
		<description>You would be amazed how many people email me about php4 support. I frankly can&#039;t even understand PHP4 any more. When I see the code i am like what is that? ohh must be a php4 function.</description>
		<content:encoded><![CDATA[<p>You would be amazed how many people email me about php4 support. I frankly can&#8217;t even understand PHP4 any more. When I see the code i am like what is that? ohh must be a php4 function.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
