<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Thoughts, tips and other stuff.</description><title>Praj's Blog</title><generator>Tumblr (3.0; @prajbasnet)</generator><link>http://www.praj.com.au/</link><item><title>Select Users from Alfresco Database</title><description>&lt;p&gt;The following SQL (designed for MySQL as it uses group_concat) pulls out a list of users from the Alfresco database by searching for the appropriate nodes in the Alfresco node table and pulling user node properties including username, firstName, lastName and email address.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;select
    node_id,
    group_concat(string_value)
from (
	select
		node_id,
		qname_id,
		(select local_name from alf_qname where id = qname_id) as qname_type,
		string_value
	from alf_node_properties
	where node_id in (
		select id from alf_node 
		where type_qname_id = (
			select id from alf_qname where local_name = 'person'
		)
		and qname_id in (
			select id
			from  alf_qname 
			where local_name in (
				'username',
				'firstName',
				'lastName',
				'email'		
			)
		)
	)
) alf_users
group by node_id;
&lt;/pre&gt;</description><link>http://www.praj.com.au/post/50894956739</link><guid>http://www.praj.com.au/post/50894956739</guid><pubDate>Mon, 20 May 2013 18:30:00 +1000</pubDate><category>alfresco</category><category>mysql</category></item><item><title>MySQL group_concat()</title><description>&lt;p&gt;The group_concat() function in MySQL is really nifty. It concatenates all rows that match your group by statement into a single, comma separated string. Essentially, it transposes rows to columns.&lt;/p&gt;
&lt;p&gt;Take this example. Say you have a table that stores a set of locations by country, state and city.&lt;/p&gt;
&lt;p&gt;You could then write SQL as follows:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;select &lt;br/&gt;    country, &lt;br/&gt;    state, &lt;br/&gt;    group_concat(city) as cities &lt;br/&gt;from locations &lt;br/&gt;group by country, state &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What this is saying is bring back 3 columns, country, state, and for each combination of country and state, a list of all of the cities in that &lt;/span&gt;&lt;span&gt;country and state as the third column (called cities).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is actually a phenomenally handy thing to be able to do, and something that is much harder to do in any other DBMS.&lt;/span&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/50719563331</link><guid>http://www.praj.com.au/post/50719563331</guid><pubDate>Sat, 18 May 2013 20:33:00 +1000</pubDate><category>mysql</category><category>sql</category></item><item><title>Git undo modifications</title><description>&lt;p&gt;Much like you can get a list of deleted files, you can also get a list of modifications and then check them all out (undo) in one command using the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;git checkout $(git ls-files -m)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This is effectively an &amp;#8220;undo&amp;#8221; of all modifications in the given branch (but it doesn&amp;#8217;t impact added or deleted files).&lt;/p&gt;</description><link>http://www.praj.com.au/post/50525581889</link><guid>http://www.praj.com.au/post/50525581889</guid><pubDate>Thu, 16 May 2013 08:23:00 +1000</pubDate><category>git</category></item><item><title>Access Last Command Line Result</title><description>&lt;p&gt;A nifty command to access the last result is $(!!).&lt;/p&gt;
&lt;p&gt;For example you can do something like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ find . -type f -name example.txt* &lt;br/&gt;./a/folder/example.txt &lt;br/&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ vim $(!!) &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I only had one result from the find, I can that result and call vim on that file.&lt;/span&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/50382106435</link><guid>http://www.praj.com.au/post/50382106435</guid><pubDate>Tue, 14 May 2013 10:36:00 +1000</pubDate><category>linux</category><category>command line</category></item><item><title>Alfresco Logs when using Alfresco Service</title><description>&lt;p&gt;One very handy feature for Alfresco system administration is the alfresco service that is automatically installed on Linux environments. However, there is a catch when using this service, your various logs (e.g. alfresco.log, share.log, solr.log) can end up in the very root of your file system.&lt;/p&gt;
&lt;p&gt;One partial workaround is to modify the various log4j configuration files and hardcode them to a specified location. However, there is a better way: edit the alfresco service.&lt;/p&gt;
&lt;p&gt;By convention, I like logs to go somewhere sensible like /opt/alfresco/4.1.4/logs (or appropriate based on your Alfresco version). This folder doesn&amp;#8217;t exist out of the box so you will need to create it. If choose another location, be sure to adjust the steps in this article accordingly.&lt;/p&gt;
&lt;p&gt;Modify your service (e.g. /etc/init.d/alfresco &amp;#8212; this depends on your Linux distribution) as follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: &lt;/p&gt;
&lt;p&gt;First stop alfresco if it is currently running.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;At the top of this script after RETVAL=0 add the following line (and adjust to match your installation path):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ALF_HOME=/opt/alfresco/4.1.4&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Change the start() command to go to your logs folder (make sure it exists) and then start the alfresco.sh script (which is one level above the logs folder). You could also use $ALF_HOME/alfresco.sh as a full path. Obviously adjust these lines to suit.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;cd $ALF_HOME/logs&lt;br/&gt;&lt;span&gt;../alfresco.sh start &amp;#8220;$2&amp;#8221;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;Step 3:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the same way as start(), change stop() to do a similar thing:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;cd $ALF_HOME/logs&lt;br/&gt;&lt;span&gt;../alfresco.sh stop &amp;#8220;$2&amp;#8221;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Near the end of the script there inside the case &amp;#8230; esac statement also change the script as follows:&lt;/p&gt;
&lt;p&gt;cd $ALF_HOME/logs&lt;br/&gt;&lt;span&gt;../alfresco.sh &amp;#8220;$@&amp;#8221;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 5&lt;/strong&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Clean up / move your old log files around as appropriate and then start alfresco. You should find all log files are now in the logs folder, without having to modify any of the delivered log4j configuration files.&lt;/span&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/50072086930</link><guid>http://www.praj.com.au/post/50072086930</guid><pubDate>Fri, 10 May 2013 15:31:00 +1000</pubDate><category>alfresco sysadmin linux</category></item><item><title>Git remove multiple deleted files</title><description>&lt;p&gt;Sometimes when you are committing changes in git you&amp;#8217;ll find that a number of files have been deleted. &lt;/p&gt;
&lt;p&gt;You could manually set these files to delete by individually issuing the command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ git rm filename&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;However, there is a shortcut. If you issue the command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ git ls-files --deleted&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It will return a list of all files that are flagged as deleted.&lt;/p&gt;
&lt;p&gt;You can then simply pass that list to git rm, using a combined syntax like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ git rm $(git ls-files --deleted)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;(Just don&amp;#8217;t forget the &amp;#8212;deleted parameter!). &lt;/p&gt;</description><link>http://www.praj.com.au/post/48796694206</link><guid>http://www.praj.com.au/post/48796694206</guid><pubDate>Thu, 25 Apr 2013 06:46:00 +1000</pubDate><category>git</category><category>devleopment</category></item><item><title>Disallowed Key Characters Error</title><description>&lt;p&gt;I loaded a CodeIgniter site today and received a blank page with just the message &amp;#8220;Disallowed Key Characters&amp;#8221;.&lt;/p&gt;
&lt;p&gt;There are myriad of scenarios that can cause this to occur. In my particular example, it occurred due to the fact that my application/config.php file had the following set:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$config['cookie_prefix'] = "&amp;lt;CHANGEME&amp;gt;_";&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I had put that in as a placeholder, but the &amp;#8220;&amp;lt;&amp;#8221; and &amp;#8220;&amp;gt;&amp;#8221; symbols are not allowed in this particular config value and throw this error. There are other symbols that will also cause this, so something to watch out for.&lt;/p&gt;
&lt;p&gt;After you change this, remember to clear your browser cookies too.&lt;/p&gt;</description><link>http://www.praj.com.au/post/47236795987</link><guid>http://www.praj.com.au/post/47236795987</guid><pubDate>Sat, 06 Apr 2013 11:18:38 +1000</pubDate><category>codeigniter</category><category>php</category><category>errors</category></item><item><title>"If you follow the herd, you’ll end up stepping in a lot of shit!"</title><description>“If you follow the herd, you’ll end up stepping in a lot of shit!”</description><link>http://www.praj.com.au/post/46955113151</link><guid>http://www.praj.com.au/post/46955113151</guid><pubDate>Wed, 03 Apr 2013 05:30:34 +1000</pubDate></item><item><title>jQuery Reveal Tips</title><description>&lt;p&gt;I&amp;#8217;ve mentioned the &lt;strong&gt;&lt;a href="http://www.zurb.com/playground/reveal-modal-plugin" title="jQuery Reveal Modal" target="_blank"&gt;jQuery reveal modal&lt;/a&gt;&lt;/strong&gt; plugin before, and I think there are two really good tips about how to use it that aren&amp;#8217;t clear on their site which might come in handy to people who use it.&lt;/p&gt;
&lt;p&gt;To trigger jQuery reveal on page load for the relevant reveal element (e.g a div):&lt;/p&gt;
&lt;pre&gt;$(document).ready(function() {
    $('div#your-reveal-div').reveal();
}
&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Similarly to close on clicking of the &amp;#8220;close&amp;#8221; (X) button:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;$('a.close-reveal-modal').on("click", function(e) {
   $('div#your-reveal-div').trigger('reveal-close'); 
});
&lt;/pre&gt;</description><link>http://www.praj.com.au/post/45929086689</link><guid>http://www.praj.com.au/post/45929086689</guid><pubDate>Fri, 22 Mar 2013 05:30:52 +1000</pubDate></item><item><title>Check for root access in a bash script</title><description>&lt;p&gt;Just something handy to put in your script if you need to check for root access:&lt;/p&gt;
&lt;p&gt;&lt;code&gt; # Do we have root access? &lt;br/&gt;if [[ $(/usr/bin/id -u) -ne 0 ]]; &lt;br/&gt;    then echo ""Sorry, this script needs to run with root or sudo access" &lt;br/&gt;    exit &lt;br/&gt;fi &lt;/code&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/45851256148</link><guid>http://www.praj.com.au/post/45851256148</guid><pubDate>Thu, 21 Mar 2013 05:30:00 +1000</pubDate><category>bash</category><category>linux</category><category>shell-scripting</category></item><item><title>Dev-Admins</title><description>&lt;p&gt;With the way things are going in the software and IT industry, I think there&amp;#8217;s a strong case for a new role:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;"Dev-Admins"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;These are developers who also contribute to the design, implementation and management of systems that not only assist with development (e.g. revision control, development environments, integrated testing), but also contribute to system administration related duties for production systems such as web applications and database management.&lt;/p&gt;

&lt;p&gt;Why have such a role? Well, in a lot of cases, it is the developer and not so much the system administrator that has the knowledge and insight about any customised systems deployed. They are often uniquely placed to provide guidance on areas such as system configuration and performance tuning.&lt;/p&gt;

&lt;p&gt;I know in smaller companies, developer&amp;#8217;s naturally assume such roles (due to necessity). Perhaps, in bigger companies, such roles need to be formally identified?&lt;/p&gt;</description><link>http://www.praj.com.au/post/45689861907</link><guid>http://www.praj.com.au/post/45689861907</guid><pubDate>Tue, 19 Mar 2013 05:30:00 +1000</pubDate><category>developer</category><category>system administration</category></item><item><title>Alfresco Javascript Debugger</title><description>&lt;p&gt;When developing on Alfresco, you&amp;#8217;ll want to use the Alfresco Javascript Debugger to debug server-side Javascript.&lt;/p&gt;

&lt;p&gt;On a local install this is available through URLs like this:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;http://localhost:8080/alfresco/s/api/javascript/debugger&lt;/li&gt;
&lt;li&gt;http://localhost:8080/share/page/api/javascript/debugger&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;However, on certain installations, for example the Mac OSX, when you go to turn on the Javascript debugger you&amp;#8217;ll get the following error:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;The Web Script /share/page/api/javascript/debugger has responded with a status of 500 - Internal Error.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In the relevant log, you&amp;#8217;ll also see a message along these lines:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Caused by java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
...&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This is actually caused by a setting passed to Java in the tomcat &lt;code&gt;ctl.sh&lt;/code&gt; script which starts Alfresco and sets &lt;code&gt;java.awt.headless&lt;/code&gt; to true, disabling graphical interfaces like the Javascript Debugger.&lt;/p&gt;

&lt;p&gt;So to get the Javascript Debugger working, open up &lt;code&gt;tomcat/scripts/ctl.sh&lt;/code&gt; and remove 
&lt;code&gt;-Djava.awt.headless=true&lt;/code&gt; in &lt;code&gt;export JAVA_OPTS=&lt;/code&gt; in the &lt;code&gt;start_tomcat()&lt;/code&gt; and &lt;code&gt;daemon_tomat()&lt;/code&gt; functions.&lt;/p&gt;</description><link>http://www.praj.com.au/post/45336437174</link><guid>http://www.praj.com.au/post/45336437174</guid><pubDate>Thu, 14 Mar 2013 20:09:00 +1000</pubDate><category>alfresco</category><category>tomcat</category><category>javascript</category><category>debugger</category></item><item><title>Alfresco could not resolve view error</title><description>&lt;p&gt;In Alfresco Share (share.log), I kept getting this error and couldn&amp;#8217;t figure out what was causing it:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ERROR [org.alfresco.web.site] javax.servlet.ServletException: Could not resolve view with name 'user/guest/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After a lot of fruitless google searching and trial and error, I &lt;strong&gt;finally&lt;/strong&gt; tracked it down to items missing share-config-custom.xml, so if you get something similar, review your share-config-custom.xml in detail.&lt;/p&gt;</description><link>http://www.praj.com.au/post/44875435905</link><guid>http://www.praj.com.au/post/44875435905</guid><pubDate>Sat, 09 Mar 2013 05:30:35 +1000</pubDate><category>alfresco</category><category>share</category><category>troubleshooting</category></item><item><title>aText</title><description>&lt;p&gt;I just switched over to using &lt;a href="http://www.trankynam.com/atext/" target="_blank"&gt;aText&lt;/a&gt; as my text-expansion software on the Mac (have previously tried TextExpander and DashExpander).&lt;/p&gt;

&lt;p&gt;It does everything I need, imports snippets from Text Expander, and costs a fraction of the price of TextExpander. So I&amp;#8217;m thoroughly impressed.&lt;/p&gt;

&lt;p&gt;One caveat which I&amp;#8217;ve found is that if multi-line snippets aren&amp;#8217;t expanding properly for you e.g.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Example Snippet&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;With&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Mulitple Lines&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Expands to:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Example Snippet With Multiple Lines&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Try enabling &amp;#8220;Always use Clipboard to insert snippets&amp;#8221; in the preferences. That fixed up this problem for me in Sublime Text and Netbeans.&lt;/p&gt;

&lt;p&gt;Thanks to Tran for creating such a great product and letting me know about this fix too.&lt;/p&gt;</description><link>http://www.praj.com.au/post/44798322108</link><guid>http://www.praj.com.au/post/44798322108</guid><pubDate>Fri, 08 Mar 2013 05:30:29 +1000</pubDate><category>atext</category><category>mac</category><category>software</category><category>text-expansion</category></item><item><title>Mastering your time</title><description>&lt;p&gt;Came across this article the other day, a fun and important reminder of doing things that are important (taking control of your time) rather than those that are urgent (letting others control your time):&lt;/p&gt;

&lt;p&gt;&lt;a href="http://abetterlife.quora.com/How-to-master-your-time-1" target="_blank"&gt;&lt;a href="http://abetterlife.quora.com/How-to-master-your-time-1" target="_blank"&gt;http://abetterlife.quora.com/How-to-master-your-time-1&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s harder to do than you would think, and you can sabotage yourself in subtle ways e.g.&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Do you catch yourself waiting on things to pop up in your inbox/im/social network/etc to guide what you are going to do next?&lt;/li&gt;
&lt;li&gt;Do you find your days are full of &amp;#8220;fire-fighting&amp;#8221;? Moving from one urgent task to the next, without considering what&amp;#8217;s actually important?&lt;/li&gt;
&lt;li&gt;When you have a chunk of time free, do you have a clear plan about what to do next?&lt;/li&gt;
&lt;li&gt;Can you justify why you are doing the thing you are currently doing? How does it match up to your goals and what you want to achieve?&lt;/li&gt;
&lt;li&gt;Have you done something, anything to contribute towards achieving your most important goal today?&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;The other great reminder from this is that there is limitless number of stormtroopers - urgent tasks that will come your way. Don&amp;#8217;t be fooled into thinking you can just get one more thing done before starting what&amp;#8217;s important &amp;#8230;&lt;/p&gt;</description><link>http://www.praj.com.au/post/44721622801</link><guid>http://www.praj.com.au/post/44721622801</guid><pubDate>Thu, 07 Mar 2013 05:30:28 +1000</pubDate><category>productivity</category><category>urgent</category><category>important</category><category>time-management</category></item><item><title>Removing a stubborn Firefox Extension</title><description>&lt;p&gt;If you are having trouble removing a stubborn Firefox Extension and don&amp;#8217;t see it in your Firefox profile (&lt;a href="https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data" target="_blank"&gt;see here&lt;/a&gt;), then have a look in the separate &amp;#8220;Mozilla&amp;#8221; folder. E.g. &lt;code&gt;~/Library/Application Support/Mozilla/Extensions&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Some extensions go here and you won&amp;#8217;t be able to remove them from Addons until you delete them manually from this folder.&lt;/p&gt;</description><link>http://www.praj.com.au/post/44643219245</link><guid>http://www.praj.com.au/post/44643219245</guid><pubDate>Wed, 06 Mar 2013 05:30:00 +1000</pubDate><category>firefox</category></item><item><title>bunzip2 gives input file has 1 other link</title><description>&lt;p&gt;If you get this when you try &lt;code&gt;bunzip2 filename.ext.bz2&lt;/code&gt;, then try bzcat using &lt;code&gt;bzcat filename.ext.bz2 &amp;gt; filename.ext&lt;/code&gt;.&lt;/p&gt;</description><link>http://www.praj.com.au/post/44076969942</link><guid>http://www.praj.com.au/post/44076969942</guid><pubDate>Wed, 27 Feb 2013 05:30:47 +1000</pubDate><category>bunzip2</category><category>bzcat</category><category>linux</category><category>tips</category></item><item><title>Check the Status of Google Servcies</title><description>&lt;p&gt;If you think there might be a Google service issue, be sure to check out their AppStatus page:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.google.com/appsstatus" target="_blank"&gt;&lt;a href="http://www.google.com/appsstatus" target="_blank"&gt;http://www.google.com/appsstatus&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/43998198494</link><guid>http://www.praj.com.au/post/43998198494</guid><pubDate>Tue, 26 Feb 2013 05:30:34 +1000</pubDate><category>google</category><category>services</category></item><item><title>PHP Syntax Check Multiple PHP files</title><description>&lt;p&gt;Found &lt;a href="http://stefaanlippens.net/php-lint-multiple-files-parallel" target="_blank"&gt;this pretty cool link&lt;/a&gt; to how to syntax check multiple PHP files by passing the results of a find to &lt;code&gt;php -l&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I&amp;#8217;ve extended this and grepped out any files that pass syntax checking so you are just left with the errors. Here&amp;#8217;s the full command in all its glory:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ find . -name "*.php" -print0 | xargs -0 -n1 -P8 php -l | grep -v "No syntax errors detected"&lt;/code&gt;&lt;/p&gt;</description><link>http://www.praj.com.au/post/43823806453</link><guid>http://www.praj.com.au/post/43823806453</guid><pubDate>Sun, 24 Feb 2013 05:30:51 +1000</pubDate><category>php</category><category>syntax-check</category><category>errors</category></item><item><title>Force PHP errors to display</title><description>&lt;p&gt;If you are really stuck and not getting any useful information regarding PHP errors in your log files, then you can the following to the relevant PHP file and it will display those errors on screen:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;error_reporting(E_ALL);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ini_set("display_errors", 1);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Very handy when you are really stuck!&lt;/p&gt;</description><link>http://www.praj.com.au/post/43738756964</link><guid>http://www.praj.com.au/post/43738756964</guid><pubDate>Sat, 23 Feb 2013 05:30:28 +1000</pubDate><category>php</category><category>errors</category></item></channel></rss>
