<?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/"
	>

<channel>
	<title>PHP Tips and Tricks</title>
	<atom:link href="http://devblog.asd.am/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.asd.am</link>
	<description>Sharing experience, solving problems</description>
	<pubDate>Fri, 07 Oct 2011 12:24:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disable symfony web debug for controller action</title>
		<link>http://devblog.asd.am/uncategorized/disable-symfony-web-debug-for-controller-action/</link>
		<comments>http://devblog.asd.am/uncategorized/disable-symfony-web-debug-for-controller-action/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 12:23:34 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/uncategorized/disable-symfony-web-debug-for-controller-action/</guid>
		<description><![CDATA[\sfConfig::set(&#8217;sf_web_debug&#8217;, false);
Helpful when running upload in dev ENV.
]]></description>
			<content:encoded><![CDATA[<p>\sfConfig::set(&#8217;sf_web_debug&#8217;, false);</p>
<p>Helpful when running upload in dev ENV.</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/uncategorized/disable-symfony-web-debug-for-controller-action/feed/</wfw:commentRss>
		</item>
		<item>
		<title>xdebug zend server mac os x</title>
		<link>http://devblog.asd.am/hosting/xdebug-zend-server-mac-os-x/</link>
		<comments>http://devblog.asd.am/hosting/xdebug-zend-server-mac-os-x/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 07:58:30 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Hosting]]></category>

		<category><![CDATA[mac os x]]></category>

		<category><![CDATA[netbeans]]></category>

		<category><![CDATA[xdebug]]></category>

		<category><![CDATA[zend server]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=83</guid>
		<description><![CDATA[1. Switch off:
1.1 Zend Optimizer
1.2 Zend Data Cache
2. Stop apache
zendctl.sh stop-apache
3. Download or compile xdebug and put it into 
/usr/local/zend/lib/php_extensions
4. Add config into php.ini
/usr/local/zend/etc/php.ini

zend_extension="/usr/local/zend/lib/php_extensions/xdebug.so"

[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20

5. Start apache
zendctl.sh start-apache
Compiled xdebug
Source: http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/
In case you get such a warning:


PHP Warning:  Module 'Zend Data Cache' already loaded in Unknown on line 0
PHP Warning:  Zend Extension Manager: Cannot load [...]]]></description>
			<content:encoded><![CDATA[<p>1. Switch off:<br />
1.1 Zend Optimizer<br />
1.2 Zend Data Cache</p>
<p>2. Stop apache</p>
<blockquote><p><span>zendctl.sh stop-apache</span></p></blockquote>
<p><span>3. Download or compile xdebug and put it into </span></p>
<blockquote><p><span>/usr/local/zend/lib/php_extensions</span></p></blockquote>
<p><span>4. Add config into php.ini</span></p>
<blockquote><p><span>/usr/local/zend/etc/php.ini</span></p></blockquote>
<blockquote>
<pre>zend_extension="/usr/local/zend/lib/php_extensions/xdebug.so"

[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20</pre>
</blockquote>
<p>5. Start apache</p>
<blockquote><p>zendctl.sh start-apache</p></blockquote>
<p><a href="http://downloads.activestate.com/Komodo/releases/6.1.2/remotedebugging/Komodo-PerlRemoteDebugging-6.1.2-64874-macosx-x86.tar.gz" onclick="pageTracker._trackPageview('/outgoing/downloads.activestate.com/Komodo/releases/6.1.2/remotedebugging/Komodo-PerlRemoteDebugging-6.1.2-64874-macosx-x86.tar.gz?referer=');">Compiled xdebug</a></p>
<p>Source: http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/</p>
<p>In case you get such a warning:</p>
<blockquote>
<div>
<pre><code>PHP Warning:  Module 'Zend Data Cache' already loaded in Unknown on line 0
PHP Warning:  Zend Extension Manager: Cannot load Zend Data Cache module in Unkn
own on line 0
PHP Warning:  Module 'Zend Utils' already loaded in Unknown on line 0
PHP Warning:  Zend Extension Manager: Cannot load Zend Utils module in Unknown o
n line 0</code></pre>
</div>
</blockquote>
<p>Just put xdebug config <span>piece</span> <strong>above zend extension manager</strong> configuration.</p>
<blockquote><p>[zend]<br />
zend_extension=/usr/local/zend/lib/ZendExtensionManager.so</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/hosting/xdebug-zend-server-mac-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NetBeans PHPUnit_Framework_Exception: Could not connect to the Selenium RC server</title>
		<link>http://devblog.asd.am/development/netbeens-phpunit_framework_exception-could-not-connect-to-the-selenium-rc-server/</link>
		<comments>http://devblog.asd.am/development/netbeens-phpunit_framework_exception-could-not-connect-to-the-selenium-rc-server/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 14:24:15 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=80</guid>
		<description><![CDATA[As I presume selenium that comes with NetBeans Selenium plugin not best one.
To Fix:

Download last selenium RC
In Netbeans services tab stop Selenium server
Find out selenium-server-2.0.jar in netbeans settings folder (Mac OS X - .netbeans/7.0/modules/ext/selenium/selenium-server-2.0.jar)
Replace it with downloaded one
Start Selenium server in NetBeans

Happy testing
]]></description>
			<content:encoded><![CDATA[<p>As I presume selenium that comes with NetBeans Selenium plugin not best one.</p>
<p>To Fix:</p>
<ol>
<li>Download last <a href="http://seleniumhq.org/download/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/seleniumhq.org/download/?referer=');">selenium RC</a></li>
<li>In Netbeans services tab stop Selenium server</li>
<li>Find out selenium-server-2.0.jar in netbeans settings folder (Mac OS X - .netbeans/7.0/modules/ext/selenium/selenium-server-2.0.jar)</li>
<li>Replace it with downloaded one</li>
<li>Start Selenium server in NetBeans</li>
</ol>
<p>Happy testing</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/netbeens-phpunit_framework_exception-could-not-connect-to-the-selenium-rc-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WSO2 WSF PHP installation issues</title>
		<link>http://devblog.asd.am/development/wso2-wsf-php-installation-issues/</link>
		<comments>http://devblog.asd.am/development/wso2-wsf-php-installation-issues/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 12:31:59 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[ESB]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[SOAP]]></category>

		<category><![CDATA[WSO2 WSF]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=77</guid>
		<description><![CDATA[Since WSO2 WSF PHP is the only library that supports file attachements and WSDL generation we decided to stick on this.
That was really hard to compile and have it working, may be because of we tried to do that on Mac OS.

Download and extract WSO2 WSF PHP in right place initially since it use initial [...]]]></description>
			<content:encoded><![CDATA[<p>Since <strong>WSO2 WSF PHP</strong> is the only library that supports <strong>file attachements</strong> and <strong>WSDL generation</strong> we decided to stick on this.</p>
<p>That was r<strong>eally hard to compile and have it working</strong>, may be because of we tried to do that on <strong>Mac OS</strong>.</p>
<ol>
<li><strong>Download and extract WSO2 WSF PHP in right place initially</strong> since <strong>it use initial sources</strong>(you will need to keep them) after compilation and <strong>I had lot of problems</strong> in order to move it and finally decided to recompile.</li>
<li>link gcc to <strong>gcc-4.0 instead of 4.2</strong> (<em>sudo ln -fs /usr/bin/gcc-4.0 /usr/bin/gcc</em>)</li>
<li><em>./configure MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS=&#8221;-arch i386 -g -Os -pipe -no-cpp-precomp&#8221; CCFLAGS=&#8221;-arch i386 -g -Os -pipe&#8221; CXXFLAGS=&#8221;-arch i386 -g -Os -pipe&#8221; LDFLAGS=&#8221;-arch i386 -bind_at_load&#8221; &#8216;CPPFLAGS=-DHAVE_GETIFADDRS&#8217;</em></li>
<li>If you will not specify php extension path during ./configure it will take <strong>default one using php-config</strong>. If you are running <strong>Zend Server CE</strong> than it will be problem for you since <strong>compilation somehow link your .so to initial compilation place</strong>. (You could also <strong>symlink php-config to zend/bin/php-config</strong> as we did in our case).</li>
<li><em>make, sudo make install</em> - this <strong>will compile wsf.so and wsf_c</strong> and <strong>will put them into zend/lib/php_extensions folder</strong></li>
<li>You will need to <strong>point wsf.home to zend/lib/php_extensions/wsf_c</strong> (my one looks like this /usr/local/zend/lib/php_extensions/wsf_c) - it was not working for me until I set wsf.home</li>
<li><strong>Restart Apache</strong></li>
<li>Use <strong>samples/ located in initial source package</strong> in order order to test WSF PHP. You could copy them in any place, and they will work.</li>
<li>You will need to <strong>put wso2-wsf-php-src-2.1.0/scripts into include_path</strong> in order to have <strong>WSDL generation</strong> working.</li>
<li><span style="font-family: mceinline;">WSDL generations was not working for me even after showing scripts folder in include path and after an hour I figured out that It&#8217;s not looking into wsf.php (which is located in scripts folder executed in strange way so that it&#8217;s not able to see scripts in include path)</span><br />
In <strong>function ws_generate_wsdl()</strong> it tries to require few files to generate ( <strong>WSDL require_once(&#8221;wsdl/WS_WSDL_Creator.php&#8221;); </strong>). I have it working after setting <strong>full paths in all require_onces</strong> in this function.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/wso2-wsf-php-installation-issues/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac to windows/ubuntu adhoc internet sharing</title>
		<link>http://devblog.asd.am/applications/mac-to-windows-or-ubuntu-adhoc-internet-sharing/</link>
		<comments>http://devblog.asd.am/applications/mac-to-windows-or-ubuntu-adhoc-internet-sharing/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 09:00:47 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[adhoc]]></category>

		<category><![CDATA[internet sharing]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=73</guid>
		<description><![CDATA[Mac to Ubuntu adhoc
1. System Preferences -&#62; Sharing -&#62; Internet Sharing -&#62; AirPort -&#62; AirPort Options
Chanel: Automatic
WEP: Enabled
Password: 13 symbol anything (I used 9 letters and 4 numbers)
WEP key length: 128-bit
2. Save and start sharing. (This should create network)
3. Ubuntu -&#62; Find network clicking on WiFi icon
4. Connect to using that key (key type should [...]]]></description>
			<content:encoded><![CDATA[<p>Mac to Ubuntu adhoc</p>
<p>1. System Preferences -&gt; Sharing -&gt; Internet Sharing -&gt; AirPort -&gt; AirPort Options</p>
<p>Chanel: Automatic</p>
<p>WEP: Enabled</p>
<p>Password: 13 symbol anything (I used 9 letters and 4 numbers)</p>
<p>WEP key length: 128-bit</p>
<p>2. Save and start sharing. (This should create network)</p>
<p>3. Ubuntu -&gt; Find network clicking on WiFi icon</p>
<p>4. Connect to using that key (key type should be 128 passphrase and not 40/128)</p>
<p>5. Goto Network Connections -&gt; Wireless Tab -&gt; Edit connection -&gt; Security -&gt; Switch from Open to Shared</p>
<p>6. Reconnect</p>
<p>For windows see: http://hintsforums.macworld.com/showthread.php?t=79326</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/applications/mac-to-windows-or-ubuntu-adhoc-internet-sharing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend Server on Ubuntu</title>
		<link>http://devblog.asd.am/development/zend-server-on-ubuntu/</link>
		<comments>http://devblog.asd.am/development/zend-server-on-ubuntu/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 05:11:29 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Debugger]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=69</guid>
		<description><![CDATA[Zend Debugger
Zend Core comes complete with the option to enable remote PHP debugging and profiling of Web applications.
Source: http://files.zend.com/help/Zend-Core/studio_server.htm
Zend Server
sudo vim /etc/apt/sources.list
add &#8220;deb http://repos.zend.com/zend-server/deb server non-free&#8221;
wget http://repos.zend.com/zend.key -O- &#124;apt-key add -
aptitude update
aptitude install zend-server-php-5.3
Source: http://files.zend.com/help/Zend-Server/zend-server.htm#deb_installation.htm
]]></description>
			<content:encoded><![CDATA[<p><strong>Zend Debugger</strong><br />
Zend Core comes complete with the option to enable remote PHP debugging and profiling of Web applications.<br />
Source: http://files.zend.com/help/Zend-Core/studio_server.htm</p>
<p><strong>Zend Server</strong><br />
sudo vim /etc/apt/sources.list<br />
add &#8220;deb http://repos.zend.com/zend-server/deb server non-free&#8221;<br />
wget http://repos.zend.com/zend.key -O- |apt-key add -<br />
aptitude update<br />
aptitude install zend-server-php-5.3<br />
Source: http://files.zend.com/help/Zend-Server/zend-server.htm#deb_installation.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/zend-server-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend_Form with Zend_Validate with Zend_File_Transfer</title>
		<link>http://devblog.asd.am/development/zend_form-with-zend_validate-with-zend_file_transfer/</link>
		<comments>http://devblog.asd.am/development/zend_form-with-zend_validate-with-zend_file_transfer/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 18:15:36 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=58</guid>
		<description><![CDATA[How to build form using ini files.
Example includes Zend_Form elements, Zend_Validate and File uploads using Zend_File_Transfer.
Protected method to retrieve form config and fill data into selectbox.
protected function prepareProductForm()
{
$form = new Application_Form( &#8216;admin/product&#8217; );
$categories = array( &#8216;Select Category&#8217; );
foreach( Application_Category::getCategories() as $category )
{
$categories[$category-&#62;categoryId] = $category-&#62;name;
}
$form-&#62;getElement( &#8216;categoryId&#8217; )-&#62;setMultiOptions( $categories );
return $form;
}
This method will render form from and [...]]]></description>
			<content:encoded><![CDATA[<p>How to build form using ini files.<br />
Example includes Zend_Form elements, Zend_Validate and File uploads using Zend_File_Transfer.</p>
<p>Protected method to retrieve form config and fill data into selectbox.</p>
<blockquote><p>protected function prepareProductForm()<br />
{<br />
$form = new Application_Form( &#8216;admin/product&#8217; );</p>
<p>$categories = array( &#8216;Select Category&#8217; );<br />
foreach( Application_Category::getCategories() as $category )<br />
{<br />
$categories[$category-&gt;categoryId] = $category-&gt;name;<br />
}</p>
<p>$form-&gt;getElement( &#8216;categoryId&#8217; )-&gt;setMultiOptions( $categories );</p>
<p>return $form;<br />
}</p></blockquote>
<p>This method will render form from and handle submits. Will check for uploaded files.</p>
<blockquote><p>public function productAction()<br />
{<br />
$form = $this-&gt;prepareProductForm();<br />
$product = array();</p>
<p>if ( $this-&gt;getRequest()-&gt;isPost() )<br />
{<br />
$product = new Application_Product(<br />
array(<br />
&#8216;productId&#8217; =&gt; $this-&gt;getRequest()-&gt;getParam( &#8216;productId&#8217; ),<br />
&#8216;name&#8217; =&gt; $this-&gt;getRequest()-&gt;getParam( &#8216;name&#8217; ),<br />
&#8216;description&#8217; =&gt; $this-&gt;getRequest()-&gt;getParam( &#8216;description&#8217; ),<br />
&#8216;categoryId&#8217; =&gt; $this-&gt;getRequest()-&gt;getParam( &#8216;categoryId&#8217; ),<br />
&#8216;resellerPrice&#8217; =&gt; $this-&gt;getRequest()-&gt;getParam( &#8216;resellerPrice&#8217; )<br />
)<br />
);</p>
<p>if ( !$form-&gt;isValid( $this-&gt;getRequest()-&gt;getPost() ) )<br />
{<br />
$this-&gt;view-&gt;errorMessages = array( &#8220;Validation Error&#8221; );<br />
}</p>
<p>/*<br />
* Receiving files<br />
*/<br />
if ( !$form-&gt;photos-&gt;receive() || !$form-&gt;photom-&gt;receive() || !$form-&gt;photol-&gt;receive() )<br />
{<br />
$this-&gt;view-&gt;errorMessages = array( &#8220;Upload error&#8221; );<br />
}</p>
<p>if ( count( $this-&gt;view-&gt;errorMessages ) &lt;= 0 )<br />
{<br />
try {<br />
$product-&gt;save();<br />
$this-&gt;view-&gt;message = &#8220;User successfully updated&#8221;;<br />
}<br />
catch ( Application_Service_Exception $ex )<br />
{<br />
$this-&gt;view-&gt;errorMessages = array( $ex-&gt;getMessage() );<br />
}<br />
}</p>
<p>$product = $product-&gt;toArray();<br />
}<br />
elseif ( $this-&gt;getRequest()-&gt;getParam( &#8216;id&#8217; ) )<br />
{<br />
$product = Application_Service::getInstance()-&gt;getProduct( $this-&gt;getRequest()-&gt;getParam( &#8216;id&#8217; ) );<br />
}</p>
<p>$form-&gt;populate( $product );<br />
$this-&gt;view-&gt;form = $form;<br />
}</p></blockquote>
<p>Ini file defining form containing elements.</p>
<blockquote><p># Product</p>
<p>admin.product.method = post<br />
admin.product.options.description = &#8216;Create Product&#8217;</p>
<p>admin.product.elements.productId.type = hidden</p>
<p>admin.product.elements.name.type = text<br />
admin.product.elements.name.options.label = &#8220;Product Name&#8221;<br />
admin.product.elements.name.options.required = true</p>
<p>admin.product.elements.photos.type = file<br />
admin.product.elements.photos.options.label = &#8220;Photo S&#8221;<br />
admin.product.elements.photos.options.description = &#8220;( 100&#215;110 ) Shown on Front page. Only jpg,png,gif formats supported&#8221;<br />
admin.product.elements.photos.options.destination = APPLICATION_PATH &#8220;/../public/images/product&#8221;<br />
admin.product.elements.photos.options.validators.extension.validator = Extension<br />
admin.product.elements.photos.options.validators.extension.options.extension = &#8220;jpg,png,gif&#8221;<br />
admin.product.elements.photos.options.validators.imagesize.validator = ImageSize<br />
admin.product.elements.photos.options.validators.imagesize.width = 100<br />
admin.product.elements.photos.options.validators.imagesize.height = 110</p>
<p>admin.product.elements.photom.type = file<br />
admin.product.elements.photom.options.label = &#8220;Photo M&#8221;<br />
admin.product.elements.photom.options.description = &#8220;( 180&#215;250 ) Shown on Auction Info Page. Only jpg,png,gif formats supported&#8221;<br />
admin.product.elements.photom.options.destination = APPLICATION_PATH &#8220;/../public/images/product&#8221;<br />
admin.product.elements.photom.options.validators.extension.validator = Extension<br />
admin.product.elements.photom.options.validators.extension.options.extension = &#8220;jpg,png,gif&#8221;<br />
#admin.product.elements.photom.options.validators.imagesize.validator = ImageSize<br />
#admin.product.elements.photom.options.validators.imagesize.options.width = 180<br />
#admin.product.elements.photom.options.validators.imagesize.options.height = 250</p>
<p>admin.product.elements.photol.type = file<br />
admin.product.elements.photol.options.label = &#8220;Photo L&#8221;<br />
admin.product.elements.photol.options.description = &#8220;( 250&#215;450 ) Shown on &#8230; Only jpg,png,gif formats supported&#8221;<br />
admin.product.elements.photol.options.destination = APPLICATION_PATH &#8220;/../public/images/product&#8221;<br />
admin.product.elements.photol.options.validators.extension.validator = Extension<br />
admin.product.elements.photol.options.validators.extension.options.extension = &#8220;jpg,png,gif&#8221;<br />
admin.product.elements.photol.options.validators.imagesize.validator = ImageSize<br />
admin.product.elements.photol.options.validators.imagesize.width = 250<br />
admin.product.elements.photol.options.validators.imagesize.height = 450</p>
<p>admin.product.elements.description.type = textarea<br />
admin.product.elements.description.options.label = &#8220;Description&#8221;<br />
admin.product.elements.description.options.cols = 50<br />
admin.product.elements.description.options.rows = 8</p>
<p>admin.product.elements.resellerPrice.type = text<br />
admin.product.elements.resellerPrice.options.label = &#8220;Reseller Price&#8221;<br />
admin.product.elements.resellerPrice.options.required = true</p>
<p>admin.product.elements.categoryId.type = select<br />
admin.product.elements.categoryId.options.label = &#8220;Category&#8221;<br />
admin.product.elements.categoryId.options.required = true</p>
<p>admin.product.elements.submit.type = submit<br />
admin.product.elements.submit.options.label = &#8220;Save&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/zend_form-with-zend_validate-with-zend_file_transfer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Magento 1.4 upgrade - Missing Yesnocustom.php</title>
		<link>http://devblog.asd.am/development/magento-14-upgrade-missing-yesnocustomphp/</link>
		<comments>http://devblog.asd.am/development/magento-14-upgrade-missing-yesnocustomphp/#comments</comments>
		<pubDate>Fri, 21 May 2010 13:39:54 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Magento Commerce]]></category>

		<category><![CDATA[Upgrade Issue]]></category>

		<category><![CDATA[Varien]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=56</guid>
		<description><![CDATA[After upgrade from 1.3.2.4 to 1.4.0.1 using MagentoConnect we got exception in Admin/System page.
After checks we have figured out that the file was missing in upgrade package for Magento Core Modules.
File was used by system.xml located in Mage/Core/etc/.
In order to fix this you have to download Magento package 1.4.0.1 from website and add missing file [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrade from 1.3.2.4 to 1.4.0.1 using MagentoConnect we got exception in Admin/System page.</p>
<p>After checks we have figured out that the file was missing in upgrade package for Magento Core Modules.</p>
<p>File was used by system.xml located in Mage/Core/etc/.</p>
<p>In order to fix this you have to download Magento package 1.4.0.1 from website and add missing file to your sources</p>
<blockquote><p>app/code/core/Mage/Adminhtml/Model/System/Config/Source/Yesnocustom.php</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/magento-14-upgrade-missing-yesnocustomphp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Magento :: Invalid mode for clean() method</title>
		<link>http://devblog.asd.am/development/magento-invalid-mode-for-clean-method/</link>
		<comments>http://devblog.asd.am/development/magento-invalid-mode-for-clean-method/#comments</comments>
		<pubDate>Thu, 20 May 2010 12:08:49 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[Magento Commerce]]></category>

		<category><![CDATA[Varien]]></category>

		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=53</guid>
		<description><![CDATA[After upgrade Magento to 1.4.0.1 I&#8217;ve got such an error.
The problem is that Varien did not managed to add removal deprecated code/files which overrides Zend&#8217;s code.
In order to fix this problem you have to remove folder:
app/code/core/Zend/Cache
]]></description>
			<content:encoded><![CDATA[<p>After upgrade Magento to 1.4.0.1 I&#8217;ve got such an error.</p>
<p>The problem is that Varien did not managed to add removal deprecated code/files which overrides Zend&#8217;s code.</p>
<p>In order to fix this problem you have to remove folder:</p>
<blockquote><p>app/code/core/Zend/Cache</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/magento-invalid-mode-for-clean-method/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading subversion client to 1.6.x for Ubuntu 8.04 hardy</title>
		<link>http://devblog.asd.am/development/upgrading-subversion-client-to-16x-for-ubuntu-804-hardy/</link>
		<comments>http://devblog.asd.am/development/upgrading-subversion-client-to-16x-for-ubuntu-804-hardy/#comments</comments>
		<pubDate>Thu, 06 May 2010 09:21:45 +0000</pubDate>
		<dc:creator>Aram</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://devblog.asd.am/?p=51</guid>
		<description><![CDATA[Tortoise SVN and other IDE integrated subversion clients was changing format of .svn/* files so that was not possible to use command line subversion client which is more secure.
Finally got upgraded subversion client for Ubuntu Hardy (8.04).
1. Copy source list from: https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6
2. Add lists to /etc/apt/sources.list at bottom of file - Save file
3. apt-get install subversion
(Here [...]]]></description>
			<content:encoded><![CDATA[<p>Tortoise SVN and other IDE integrated subversion clients was changing format of .svn/* files so that was not possible to use command line subversion client which is more secure.</p>
<p>Finally got upgraded subversion client for Ubuntu Hardy (8.04).</p>
<blockquote><p>1. Copy source list from: <a href="https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6" onclick="pageTracker._trackPageview('/outgoing/launchpad.net/_anders-kaseorg/+archive/subversion-1.6?referer=');">https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6</a></p>
<p>2. Add lists to /etc/apt/sources.list at bottom of file - Save file</p>
<p>3. apt-get install subversion</p>
<p>(Here I had asked to confirm not authenticated installation)</p>
<p>4. svn status</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devblog.asd.am/development/upgrading-subversion-client-to-16x-for-ubuntu-804-hardy/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

