<?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>Ecommy - your ecommerce support for your online business &#187; Web development</title>
	<atom:link href="http://www.ecommy.com/c/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ecommy.com</link>
	<description>the path to your business success</description>
	<lastBuildDate>Fri, 16 Jul 2010 07:28:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Project Management Open Source Software</title>
		<link>http://www.ecommy.com/different-thoughts/project-management-open-source-software</link>
		<comments>http://www.ecommy.com/different-thoughts/project-management-open-source-software#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:35:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Different Thoughts]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[project management]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=520</guid>
		<description><![CDATA[There is almost an year since working with qdpm, http://qdpm.net/, which is a great tool for project management, however I wanted something more complete and if possible that had svn support for the projects. update: qdpm supports gantt charts from version 5.5 Here is what I found: 1. Clockingi.com, http://www.clockingit.com/  has nice graphical reports, gantt [...]]]></description>
			<content:encoded><![CDATA[<p>There is almost an year since working with qdpm, http://qdpm.net/, which is a great tool for project management, however I wanted something more complete and if possible that had svn support for the projects.</p>
<p>update: qdpm supports gantt charts from version 5.5</p>
<p>Here is what I found:</p>
<p>1. Clockingi.com, http://www.clockingit.com/  has nice graphical reports, gantt charts and svn support</p>
<p>2. Codeni, http://www.codendi.com from XEROX, supports svn/cvs repository browsing and gantt charts, seems a complex and mature product</p>
<p>3. Collabtive, http://collabtive.o-dyn.de/, it&#8217;s a simple, lightweight project management too, useful for a very small team or a freelancer</p>
<p>4. project-open, http://www.project-open.org/</p>
<p>5. endeavour, http://endeavour-mgmt.sourceforge.net, you can check it&#8217;s features here: http://endeavour-mgmt.sourceforge.net/features1.html</p>
<p>6. Redmine, http://www.redmine.org/, gantt charts, integrations with SVN, CVS, Mercurial, etc.. written in Ruby on Rails</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/different-thoughts/project-management-open-source-software/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery Regex Validation</title>
		<link>http://www.ecommy.com/web-development/jquery-regex-validation</link>
		<comments>http://www.ecommy.com/web-development/jquery-regex-validation#comments</comments>
		<pubDate>Wed, 17 Feb 2010 11:08:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=512</guid>
		<description><![CDATA[A quick post about validating anything you want using regex. I used it in a project that created forms on the fly, so validations like email, numbers and so on wasn&#8217;t so simple (I couldn&#8217;t do it by just adding the validation as a class: class=&#8221;email&#8221;) so first step is adding what we need before [...]]]></description>
			<content:encoded><![CDATA[<p>A quick post about validating anything you want using regex. I used it in a project that created forms on the fly, so validations like email, numbers and so on wasn&#8217;t so simple (I couldn&#8217;t do it by just adding the validation as a class: class=&#8221;email&#8221;)</p>
<p>so first step is adding what we need before the &lt;/head&gt;:</p>
<pre id="line1">&lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery.validate.pack.js"&gt;</pre>
<p>now just after the above code we add our regex method:</p>
<pre><script type="text/javascript"><!--mce:0--></script>&lt;script type="text/javascript"&gt;
$.validator.addMethod(
 "regex",
 function(value, element, regexp) {
 var check = false;
 var re = new RegExp(regexp);
 return this.optional(element) || re.test(value);
 },
 "Please check your input"
);
&lt;/script&gt;</pre>
<p>and the final thing is ading the validation we need &#8211; you can use php to add them from the database for instance:</p>
<pre><script type="text/javascript"><!--mce:1--></script>&lt;script type="text/javascript"&gt;
$(document).ready(function(){
$("#myFieldId").rules("add", {regex: "^(0|[1-9][0-9]*|[1-9][0-9]{0,2}(,[0-9]{3,3})*)$"});
})
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/jquery-regex-validation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overlength date field error in prestashop</title>
		<link>http://www.ecommy.com/web-development/overlength-date-field-error-in-prestashop</link>
		<comments>http://www.ecommy.com/web-development/overlength-date-field-error-in-prestashop#comments</comments>
		<pubDate>Sat, 12 Dec 2009 14:40:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=481</guid>
		<description><![CDATA[Recently I got this error when trying to send emails in prestashop. An email was bouncing back and it contained the following message: This message has been rejected because it has an overlength date field which can be used to subvert Microsoft mail programs After a lot of headaches and a cofee I manage to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got this error when trying to send emails in prestashop.<br />
An email was bouncing back and it contained the following message:<br />
<code>This message has been rejected because it has<br />
an overlength date field which can be used<br />
to subvert Microsoft mail programs</code></p>
<p>After a lot of headaches and a cofee <img src='http://www.ecommy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I manage to detect what was wrong:<br />
Presta uses in the email class a variable $templateVars<br />
this was like:</p>
<blockquote><p>$templateVars = array(<br />
&#8216;{date_facturare}&#8217; =&gt;<br />
&#8216;Nume Firma: &#8216;.$invoice-&gt;company.&#8217;&lt;br&gt;&#8217;.<br />
&#8216;Cod fiscal: &#8216;.$invoice-&gt;tax_code.&#8217;&lt;br&gt;&#8217;.<br />
&#8216;Registrul Comertului: &#8216;.$invoice-&gt;reg_data.&#8217;&lt;br&gt;&#8217;.<br />
&#8216;IBAN: &#8216;.$customer-&gt;iban.&#8217;&lt;br&gt;&#8217;,<br />
&#8216;CNP: &#8216;.$invoice-&gt;cnp.&#8217;&lt;br&gt;&#8217;,<br />
&#8216;{firstname}&#8217; =&gt; $customer-&gt;firstname,<br />
&#8216;{lastname}&#8217; =&gt; $customer-&gt;lastname, &#8230;</p></blockquote>
<p>However the problem was because of a , instead of .<br />
<code>'IBAN: '.$customer-&gt;iban.'&lt;br&gt;',</code><br />
should have been:<br />
<code>'IBAN: '.$customer-&gt;iban.'&lt;br&gt;'.</code></p>
<p>Because of the wrong &#8220;,&#8221;, $templateVars[0] was taking a long value and apparently Swift Mailer was appending it to the header date of the email hence the error with the overlength date field.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/overlength-date-field-error-in-prestashop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cakephp &#8211; JsController could not be found</title>
		<link>http://www.ecommy.com/web-development/cakephp-jscontroller-could-not-be-found</link>
		<comments>http://www.ecommy.com/web-development/cakephp-jscontroller-could-not-be-found#comments</comments>
		<pubDate>Sat, 15 Aug 2009 22:35:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/web-development/cakephp-jscontroller-could-not-be-found</guid>
		<description><![CDATA[Recently I wanted to test the ajax capabilities from cakePHP and after setting up the links to prototype.js and scriptaculous.js just as shown on cakePHP website, I&#8217;ve noticed the ajax is not working. In the javascript error console I noticed the error: JsController could not be found The problem was that I thought cake will [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wanted to test the ajax capabilities from cakePHP and after setting up the links to prototype.js and scriptaculous.js just as shown on cakePHP website, I&#8217;ve noticed the ajax is not working.</p>
<p>In the javascript error console I noticed the error:<br />
<strong> JsController could not be found</strong></p>
<p>The problem was that I thought cake will include the above js files automatically from it&#8217;s core libraries. Of course it doesn&#8217;t so to solve the problem just download prototype.js and scriptaculous.js and place them in the js directory inside webroot</p>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/cakephp-jscontroller-could-not-be-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy 500 Internal Server Error &#8211; Windows Shared hosting</title>
		<link>http://www.ecommy.com/web-development/godaddy-500-internal-server-error-windows-shared-hosting</link>
		<comments>http://www.ecommy.com/web-development/godaddy-500-internal-server-error-windows-shared-hosting#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:34:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=460</guid>
		<description><![CDATA[Today I needed to move some sites to a different server.  A wordpress and an old oscommerce. The server was a windows server from godaddy &#8211; the hosting was a shared one After setting up the database and the files I run into this error: 500 Internal Server Error It&#8217;s a general server error that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-467 alignleft" style="border: 1px solid black; margin: 5px;" title="500 - Internal server error" src="http://www.ecommy.com/wp-content/uploads/2009/08/500-Internal-server-error2.png" alt="500 - Internal server error" width="554" height="130" hspace=5 vspace=5 /></p>
<p>Today I needed to move some sites to a different server.  A wordpress and an old oscommerce. The server was a windows server from godaddy &#8211; the hosting was a shared one</p>
<p>After setting up the database and the files I run into this error:</p>
<p><strong>500 Internal Server Error</strong><br />
<span id="more-460"></span></p>
<p>It&#8217;s a general server error that can be debugged only if you have access to the IIS error logs or the errors are displaying directly on the html page (which is not the case with godaddy shared hosting)</p>
<p>After some debugging I&#8217;ve noticed that the error was triggered by various reasons that personally I thought it can&#8217;t trigger this kind of error, like usage of $HTTP_SERVER_VARS (because register_long_arrays was disabled)</p>
<p>Anyway editing the php5.ini from server root did the trick:</p>
<p>register_globals = on (for the old and dying friend called oscommerce)<br />
register_long_arrays = on (for the same old friend)<br />
short_open_tag = on<br />
log_errors = off (apparently the 500 error appears if the log file can&#8217;t be found or it&#8217;s not writable)</p>
<p>and other settings that are not directly related with this problem</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/godaddy-500-internal-server-error-windows-shared-hosting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Godaddy custom php.ini problems and solutions</title>
		<link>http://www.ecommy.com/web-development/godaddy-custom-php-ini-problems-and-solutions</link>
		<comments>http://www.ecommy.com/web-development/godaddy-custom-php-ini-problems-and-solutions#comments</comments>
		<pubDate>Wed, 12 Aug 2009 07:19:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=457</guid>
		<description><![CDATA[Godaddy can be a killer of time for a programmer. It can take ages to figure out some things that are just now standard to webhosting. Recently I took care of a client that had a windows hosting package and needed a script setup that required custom modifications to php.ini. I&#8217;ve placed php5.ini to root [...]]]></description>
			<content:encoded><![CDATA[<p>Godaddy can be a killer of time for a programmer. It can take ages to figure out some things that are just now standard to webhosting.</p>
<p>Recently I took care of a client that had a windows hosting package and needed a script setup that required custom modifications to php.ini.</p>
<p>I&#8217;ve placed php5.ini to root web directory (for godaddy if you have php5 installed, php5.ini is required otherwise php.ini) the custom settings were in effect and guess what? mysql wasn&#8217;t working anymore:</p>
<p><strong>Fatal error</strong>:  Call to undefined function mysql_connect() in xxxxxxxx</p>
<p>Solution is to set up a complete php.ini file (you can take it from your computer) from which settings like upload_tmp_dir should be set up from the original php.ini</p>
<p>Of course how the heck you can read the original php.ini? You don&#8217;t need to, just create a a test.php and place  phpinfo(); there and you should be able to read all the variables that required path alterations to fit the server.</p>
<p>Questions? Please let me know</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/godaddy-custom-php-ini-problems-and-solutions/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to add a custom font on your website</title>
		<link>http://www.ecommy.com/web-development/how-to-add-a-custom-font-on-your-website</link>
		<comments>http://www.ecommy.com/web-development/how-to-add-a-custom-font-on-your-website#comments</comments>
		<pubDate>Mon, 03 Nov 2008 05:40:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[custom font on website]]></category>
		<category><![CDATA[Embedded Open Type]]></category>

		<guid isPermaLink="false">http://www.ecommy.com/?p=186</guid>
		<description><![CDATA[I&#8217;ll keep things short so people who want to add a custom font to a website will easily accomplish the task. in your css file: p { font-family: &#8216;Custom-Font&#8217;, verdana, arial; } for safari and mozilla browsers: @font-face{ font-family:&#8217;Custom-Font&#8217;; src: url(&#8216;Custom-Font.otf&#8217;) format(&#8216;opentype&#8217;); } for IE: add this to your html page (the css will be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll keep things short so people who want to add a custom font to a website will easily accomplish the task.</p>
<p><strong><em>in your css file:</em></strong><br />
p {<br />
font-family: &#8216;Custom-Font&#8217;, verdana, arial;<br />
}</p>
<p><em>for safari and mozilla browsers:</em><br />
@font-face{<br />
font-family:&#8217;Custom-Font&#8217;;<br />
src: url(&#8216;Custom-Font.otf&#8217;) format(&#8216;opentype&#8217;);<br />
}</p>
<p><em>for IE:</em><br />
add this to your html page (the css will be visible only to IE users):</p>
<p>&lt;!&#8211;[if IE]&gt;<br />
&lt;style type=&#8221;text/css&#8221; media=&#8221;screen&#8221;&gt;<br />
@font-face{ font-family:&#8217;Custom-Font&#8217;; src: url(&#8216;Custom-Font.eot&#8217;); }<br />
&lt;/style&gt;<br />
&lt;!&#8211;[endif]&#8211;&gt;<br />
Note: in order to create an eot (Embedded Open Type) file, use the WEFT tool from Microsoft</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecommy.com/web-development/how-to-add-a-custom-font-on-your-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
