<?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 for Pagebakers</title>
	<atom:link href="http://www.pagebakers.nl/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pagebakers.nl</link>
	<description>baking the next web</description>
	<lastBuildDate>Fri, 05 Feb 2010 11:33:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on SoapSource, a SOAP Client Datasource for CakePHP by Eelco Wiersma</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5387</link>
		<dc:creator>Eelco Wiersma</dc:creator>
		<pubDate>Fri, 05 Feb 2010 11:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5387</guid>
		<description>Steven, can you paste a print_r of $this-&gt;TransactionParams ?</description>
		<content:encoded><![CDATA[<p>Steven, can you paste a print_r of $this->TransactionParams ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SoapSource, a SOAP Client Datasource for CakePHP by Steven Wright</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5381</link>
		<dc:creator>Steven Wright</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5381</guid>
		<description>I am having a problem adding attributes and was wondering if you could shed some light. I have pasted below a portion of XSD that defines the section I am working with as well as the PHP I am using to create the structure. Right before sendTransaction I can see the params are there but they are not getting converted to XML. 


−





−

−











public function AddUpdateServices($subscriber_id, $actions)
{
	$this-&gt;add_transaction_id(&#039;AddUpdateSub&#039;);
	$command = array();		
	
	$command[&#039;AddUpdateSub&#039;][&#039;SubscriberId&#039;] = $subscriber_id;

	$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][&#039;replace&#039;] = &#039;yes&#039;;
		
	foreach($actions[&#039;DeleteSubService&#039;] as $service_name)
	{
		$service = array();
		$service[&#039;action&#039;] = &#039;delete&#039;;
		$service[&#039;ServiceName&#039;] = $service_name;
		$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][]-&gt;Service = $service;
	}

	foreach($actions[&#039;AddUpdateSubService&#039;] as $service_name)
	{
		$service = array();
		$service[&#039;action&#039;] = &#039;add&#039;;
		$service[&#039;ServiceName&#039;] = $service_name;
		$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][]-&gt;Service = $service;
	}
		
	$this-&gt;add_command_to_transaction($command);      
	return $this-&gt;formatResult($this-&gt;query(&#039;SendTransaction&#039;,$this-&gt;TransactionParams));	
}</description>
		<content:encoded><![CDATA[<p>I am having a problem adding attributes and was wondering if you could shed some light. I have pasted below a portion of XSD that defines the section I am working with as well as the PHP I am using to create the structure. Right before sendTransaction I can see the params are there but they are not getting converted to XML. </p>
<p>−</p>
<p>−</p>
<p>−</p>
<p>public function AddUpdateServices($subscriber_id, $actions)<br />
{<br />
	$this-&gt;add_transaction_id(&#8216;AddUpdateSub&#8217;);<br />
	$command = array();		</p>
<p>	$command['AddUpdateSub']['SubscriberId'] = $subscriber_id;</p>
<p>	$command['AddUpdateSub']['ServiceList']['replace'] = &#8216;yes&#8217;;</p>
<p>	foreach($actions['DeleteSubService'] as $service_name)<br />
	{<br />
		$service = array();<br />
		$service['action'] = &#8216;delete&#8217;;<br />
		$service['ServiceName'] = $service_name;<br />
		$command['AddUpdateSub']['ServiceList'][]-&gt;Service = $service;<br />
	}</p>
<p>	foreach($actions['AddUpdateSubService'] as $service_name)<br />
	{<br />
		$service = array();<br />
		$service['action'] = &#8216;add&#8217;;<br />
		$service['ServiceName'] = $service_name;<br />
		$command['AddUpdateSub']['ServiceList'][]-&gt;Service = $service;<br />
	}</p>
<p>	$this-&gt;add_command_to_transaction($command);<br />
	return $this-&gt;formatResult($this-&gt;query(&#8216;SendTransaction&#8217;,$this-&gt;TransactionParams));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JSON in CakePHP 1.2 by Bookmarks for January 2nd from 12:28 to 12:28 &#124; Buddy's Blog</title>
		<link>http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/comment-page-2/#comment-5380</link>
		<dc:creator>Bookmarks for January 2nd from 12:28 to 12:28 &#124; Buddy's Blog</dc:creator>
		<pubDate>Sat, 02 Jan 2010 19:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/#comment-5380</guid>
		<description>[...] Using JSON in CakePHP 1.2 &#8211;     Share and Enjoy: [...]</description>
		<content:encoded><![CDATA[<p>[...] Using JSON in CakePHP 1.2 &#8211;     Share and Enjoy: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jsonComponent for CakePHP by jsonComponent for CakePHP « Pagebakers &#8212; blubberTitel</title>
		<link>http://www.pagebakers.nl/2007/01/04/jsoncomponent-for-cakephp/comment-page-1/#comment-5377</link>
		<dc:creator>jsonComponent for CakePHP « Pagebakers &#8212; blubberTitel</dc:creator>
		<pubDate>Sat, 05 Dec 2009 18:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pagebakers.nl/2007/01/04/jsoncomponent-for-cakephp/#comment-5377</guid>
		<description>[...] Um die Configuraton im marker-file zu verwenden: jsonComponent for CakePHP « Pagebakers. [...]</description>
		<content:encoded><![CDATA[<p>[...] Um die Configuraton im marker-file zu verwenden: jsonComponent for CakePHP « Pagebakers. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GIT: ignoring changes in tracked files by Andrés Mejía</title>
		<link>http://www.pagebakers.nl/2009/01/29/git-ignoring-changes-in-tracked-files/comment-page-1/#comment-5376</link>
		<dc:creator>Andrés Mejía</dc:creator>
		<pubDate>Thu, 26 Nov 2009 15:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=111#comment-5376</guid>
		<description>Great solution! Thanks. Now I need to bookmark this page.</description>
		<content:encoded><![CDATA[<p>Great solution! Thanks. Now I need to bookmark this page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JSON in CakePHP 1.2 by Chirayu</title>
		<link>http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/comment-page-2/#comment-5375</link>
		<dc:creator>Chirayu</dc:creator>
		<pubDate>Sat, 07 Nov 2009 07:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/#comment-5375</guid>
		<description>If I use the same tutorial, I am asked by browser to open or download the index.json file and in that file the json string is written.</description>
		<content:encoded><![CDATA[<p>If I use the same tutorial, I am asked by browser to open or download the index.json file and in that file the json string is written.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SWFUploadComponent for CakePHP by José Coelho</title>
		<link>http://www.pagebakers.nl/2007/03/26/swfuploadcomponent-for-cakephp/comment-page-1/#comment-5374</link>
		<dc:creator>José Coelho</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/2007/03/26/swfuploadcomponent-for-cakephp/#comment-5374</guid>
		<description>Hello, i am trying to implement swfupload in cakephp, but i always get the HTTP 302 status and no file gets uploaded;
So let me go into some of the details:
I have the uploads controller, which uses the swf_upload component and the view (upload.ctp) where the flash object is initialized. here the upload_url resolves to calling the upload method defined in the uploads controller.
I am testing this on my localhost (lamp) with Ubuntu 8.10 

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG: 
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.1
SWF DEBUG: movieName:              SWFUpload_0
SWF DEBUG: Upload URL:             /cakeloc/admin/uploads/upload
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:      
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit:        104857600 bytes
SWF DEBUG: File Upload Limit:      10
SWF DEBUG: File Queue Limit:       10
SWF DEBUG: Post Params:
SWF DEBUG:                         CAKESESSION=0668e235603437d2b0b50a55efe66258
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG: 
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG: 
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.1
SWF DEBUG: movieName:              SWFUpload_1
SWF DEBUG: Upload URL:             /cakeloc/admin/uploads/upload
SWF DEBUG: File Types String:      *.jpg;*.gif;*.png
SWF DEBUG: Parsed File Types:      jpg,gif,png
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: Image Files (*.jpg;*.gif;*.png)
SWF DEBUG: File Size Limit:        204800 bytes
SWF DEBUG: File Upload Limit:      10
SWF DEBUG: File Queue Limit:       5
SWF DEBUG: Post Params:
SWF DEBUG:                         PHPSESSID=0668e235603437d2b0b50a55efe66258
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG: 
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.gif;*.png
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_1_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_1_0
SWF DEBUG: Global Post Item: PHPSESSID=0668e235603437d2b0b50a55efe66258
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /cakeloc/admin/uploads/upload for File ID: SWFUpload_1_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_1_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_1_0. Bytes: 1016. Total: 1016
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_1_0. HTTP Status: 302.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: view.gif, Message: 302</description>
		<content:encoded><![CDATA[<p>Hello, i am trying to implement swfupload in cakephp, but i always get the HTTP 302 status and no file gets uploaded;<br />
So let me go into some of the details:<br />
I have the uploads controller, which uses the swf_upload component and the view (upload.ctp) where the flash object is initialized. here the upload_url resolves to calling the upload method defined in the uploads controller.<br />
I am testing this on my localhost (lamp) with Ubuntu 8.10 </p>
<p>SWF DEBUG: SWFUpload Init Complete<br />
SWF DEBUG:<br />
SWF DEBUG: &#8212;&#8211; SWF DEBUG OUTPUT &#8212;-<br />
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.1<br />
SWF DEBUG: movieName:              SWFUpload_0<br />
SWF DEBUG: Upload URL:             /cakeloc/admin/uploads/upload<br />
SWF DEBUG: File Types String:      *.*<br />
SWF DEBUG: Parsed File Types:<br />
SWF DEBUG: HTTP Success:           0<br />
SWF DEBUG: File Types Description: All Files (*.*)<br />
SWF DEBUG: File Size Limit:        104857600 bytes<br />
SWF DEBUG: File Upload Limit:      10<br />
SWF DEBUG: File Queue Limit:       10<br />
SWF DEBUG: Post Params:<br />
SWF DEBUG:                         CAKESESSION=0668e235603437d2b0b50a55efe66258<br />
SWF DEBUG: &#8212;&#8211; END SWF DEBUG OUTPUT &#8212;-<br />
SWF DEBUG:<br />
SWF DEBUG: SWFUpload Init Complete<br />
SWF DEBUG:<br />
SWF DEBUG: &#8212;&#8211; SWF DEBUG OUTPUT &#8212;-<br />
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.1<br />
SWF DEBUG: movieName:              SWFUpload_1<br />
SWF DEBUG: Upload URL:             /cakeloc/admin/uploads/upload<br />
SWF DEBUG: File Types String:      *.jpg;*.gif;*.png<br />
SWF DEBUG: Parsed File Types:      jpg,gif,png<br />
SWF DEBUG: HTTP Success:           0<br />
SWF DEBUG: File Types Description: Image Files (*.jpg;*.gif;*.png)<br />
SWF DEBUG: File Size Limit:        204800 bytes<br />
SWF DEBUG: File Upload Limit:      10<br />
SWF DEBUG: File Queue Limit:       5<br />
SWF DEBUG: Post Params:<br />
SWF DEBUG:                         PHPSESSID=0668e235603437d2b0b50a55efe66258<br />
SWF DEBUG: &#8212;&#8211; END SWF DEBUG OUTPUT &#8212;-<br />
SWF DEBUG:<br />
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.gif;*.png<br />
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list&#8230;<br />
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_1_0<br />
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1<br />
SWF DEBUG: StartUpload: First file in queue<br />
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_1_0<br />
SWF DEBUG: Global Post Item: PHPSESSID=0668e235603437d2b0b50a55efe66258<br />
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /cakeloc/admin/uploads/upload for File ID: SWFUpload_1_0<br />
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_1_0<br />
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_1_0. Bytes: 1016. Total: 1016<br />
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_1_0. HTTP Status: 302.<br />
SWF DEBUG: Event: uploadComplete : Upload cycle complete.<br />
Error Code: HTTP Error, File name: view.gif, Message: 302</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing PHP5 soap extension on Leopard 10.5.5 by GUiLTY</title>
		<link>http://www.pagebakers.nl/2008/12/17/installing-php-soap-extension-on-leopard-10-5-5/comment-page-1/#comment-5285</link>
		<dc:creator>GUiLTY</dc:creator>
		<pubDate>Tue, 06 Oct 2009 01:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=99#comment-5285</guid>
		<description>Many thanks it worked !!! 

small changes:

using this.

MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe -no-cpp-precomp” CCFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe” CXXFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe” LDFLAGS=”-arch x86_64 -arch i386 -arch ppc -bind_at_load” ./configure

and works flawless on my small hackintosh :-)</description>
		<content:encoded><![CDATA[<p>Many thanks it worked !!! </p>
<p>small changes:</p>
<p>using this.</p>
<p>MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe -no-cpp-precomp” CCFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe” CXXFLAGS=”-arch x86_64 -arch i386 -arch ppc -g -Os -pipe” LDFLAGS=”-arch x86_64 -arch i386 -arch ppc -bind_at_load” ./configure</p>
<p>and works flawless on my small hackintosh :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JSON in CakePHP 1.2 by Mike Bishop</title>
		<link>http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/comment-page-1/#comment-5270</link>
		<dc:creator>Mike Bishop</dc:creator>
		<pubDate>Thu, 17 Sep 2009 20:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/#comment-5270</guid>
		<description>Comment stripped out code... 

See: 50 for description. 


  header(&quot;Pragma: no-cache&quot;);
  header(&quot;Cache-Control: no-store, no-cache, max-age=0, must-revalidate&quot;);
  header(&#039;Content-type: application/json&#039;);
  echo $content_for_layout;</description>
		<content:encoded><![CDATA[<p>Comment stripped out code&#8230; </p>
<p>See: 50 for description. </p>
<p>  header(&#8220;Pragma: no-cache&#8221;);<br />
  header(&#8220;Cache-Control: no-store, no-cache, max-age=0, must-revalidate&#8221;);<br />
  header(&#8216;Content-type: application/json&#8217;);<br />
  echo $content_for_layout;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JSON in CakePHP 1.2 by Mike Bishop</title>
		<link>http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/comment-page-1/#comment-5269</link>
		<dc:creator>Mike Bishop</dc:creator>
		<pubDate>Thu, 17 Sep 2009 20:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/2007/06/05/using-json-in-cakephp-12/#comment-5269</guid>
		<description>I had problems with this in FireFox 3. Some pages would pull some wouldn&#039;t. I changed my headers to: 



and firefox and everything started working again.</description>
		<content:encoded><![CDATA[<p>I had problems with this in FireFox 3. Some pages would pull some wouldn&#8217;t. I changed my headers to: </p>
<p>and firefox and everything started working again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
