<?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>Linux Servers cPanel webhosting blog &#187; Third party script issue</title>
	<atom:link href="http://www.theperfectarts.com/category/third-party-script-issue/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:58:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Recreate the jos_session for Joomla script</title>
		<link>http://www.theperfectarts.com/2012/01/recreate-the-jos_session-for-joomla-script/</link>
		<comments>http://www.theperfectarts.com/2012/01/recreate-the-jos_session-for-joomla-script/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 20:32:43 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Mysql + phpmyadmin]]></category>
		<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[corrupt jos_session]]></category>
		<category><![CDATA[Create new FTP account from cPanel]]></category>
		<category><![CDATA[drop jos_session table]]></category>
		<category><![CDATA[issue with jos_session]]></category>
		<category><![CDATA[joomla jos_session error]]></category>
		<category><![CDATA[jos_session error]]></category>
		<category><![CDATA[jos_session recreation]]></category>
		<category><![CDATA[problem with jos_session]]></category>
		<category><![CDATA[recreate jos_session table]]></category>
		<category><![CDATA[resolve jos_session issue]]></category>
		<category><![CDATA[table jos_session issue]]></category>
		<category><![CDATA[what is jos_session tabke]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1845</guid>
		<description><![CDATA[Some time we face the jos_session session corrupt error message at that time, we can recreate the &#8220;jos_session&#8221; table by running the following query from the phpmyadmin. DROP table if exist `jos_session` CREATE TABLE `jos_session` (   `username` varchar(150) default &#8221;,   `time` varchar(14) default &#8221;,   `session_id` varchar(200) NOT NULL default &#8217;0&#8242;,   `guest` [...]]]></description>
			<content:encoded><![CDATA[<p>Some time we face the jos_session session corrupt error message at that time, we can recreate the &#8220;jos_session&#8221; table by running the following query from the phpmyadmin.<br />
<script type="text/javascript">// <![CDATA[
  google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script><br />
<script type="text/javascript">// <![CDATA[
       var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script></p>
<blockquote><p><strong>DROP table if exist `jos_session`</strong></p>
<p><strong>CREATE TABLE `jos_session` (</strong><br />
<strong>  `username` varchar(150) default &#8221;,</strong><br />
<strong>  `time` varchar(14) default &#8221;,</strong><br />
<strong>  `session_id` varchar(200) NOT NULL default &#8217;0&#8242;,</strong><br />
<strong>  `guest` tinyint(4) default &#8217;1&#8242;,</strong><br />
<strong>  `userid` int(11) default &#8217;0&#8242;,</strong><br />
<strong>  `usertype` varchar(50) default &#8221;,</strong><br />
<strong>  `gid` tinyint(3) unsigned NOT NULL default &#8217;0&#8242;,</strong><br />
<strong>  `client_id` tinyint(3) unsigned NOT NULL default &#8217;0&#8242;,</strong><br />
<strong>  `data` longtext,</strong><br />
<strong>  PRIMARY KEY  (`session_id`(64)),</strong><br />
<strong>  KEY `whosonline` (`guest`,`usertype`),</strong><br />
<strong>  KEY `userid` (`userid`),</strong><br />
<strong>  KEY `time` (`time`)</strong><br />
<strong>) TYPE=MyISAM CHARACTER SET `utf8`;</strong></p></blockquote>
<p>But make sure that you have taken the backup for the existing database.</p>
<p><script type="text/javascript">// <![CDATA[
  google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script>NOTE : If you have any issue to copy the above query, please refer to the following URL to copy the jos_session table query.</p>
<p>http://www.theperfectarts.com/jos_session.txt</p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2012/01/recreate-the-jos_session-for-joomla-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ffmpeg command to convert the avi files in to flv format</title>
		<link>http://www.theperfectarts.com/2011/12/ffmpeg-command-to-convert-the-avi-files-in-flv-format/</link>
		<comments>http://www.theperfectarts.com/2011/12/ffmpeg-command-to-convert-the-avi-files-in-flv-format/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 05:00:09 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[change extension from .avi to .flv]]></category>
		<category><![CDATA[command to convert .flv file]]></category>
		<category><![CDATA[command to convert the .avi file]]></category>
		<category><![CDATA[convert .avi in to .flv]]></category>
		<category><![CDATA[convert flv from .avi]]></category>
		<category><![CDATA[ffmpeg command]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1747</guid>
		<description><![CDATA[In recent days many new file extension are available and we can&#8217;t download the all extension file, at that time we can simple convert the file as per our requirement. By using the simple command we can convert the .avl file in to the .flv extension file. root@linus [/]#ffmpeg -i  test.avi -s 320&#215;240 -r 15 [...]]]></description>
			<content:encoded><![CDATA[<p>In recent days many new file extension are available and we can&#8217;t download the all extension file, at that time we can simple convert the file as per our requirement. By using the simple command we can convert the .avl file in to the .flv extension file.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* Big images */
google_ad_slot = "0185136902";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><strong>root@linus [/]#ffmpeg -i  test.avi -s 320&#215;240 -r 15 -b 250 -ar 22050 -ab 48 test.flv</strong></p>
<p>In above example we have converted the test.avi file in to the test.flv file</p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/12/ffmpeg-command-to-convert-the-avi-files-in-flv-format/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Check server is compatible with Magento or not</title>
		<link>http://www.theperfectarts.com/2011/11/check-server-is-compatible-with-magento-or-not/</link>
		<comments>http://www.theperfectarts.com/2011/11/check-server-is-compatible-with-magento-or-not/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 23:40:55 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[check server sutaible for magento or not]]></category>
		<category><![CDATA[compatible with Magento or not]]></category>
		<category><![CDATA[magento cehcker]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1723</guid>
		<description><![CDATA[Its very difficult for non technical person to verify, if server suitable for Magento or not. In that case simply create the new test php page with the following code in the public_html directory and browse the Magento test page with the domain. For example we are creating the magentotest.php under the public_html directory. root@server1 [...]]]></description>
			<content:encoded><![CDATA[<p>Its very difficult for non technical person to verify, if server suitable for Magento or not. In that case simply create the new test php page with the following code in the public_html directory and browse the Magento test page with the domain. For example we are creating the magentotest.php under the public_html directory.</p>
<p>root@server1 [~]#pico magentotest.php<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* Big images */
google_ad_slot = "0185136902";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><script type="text/javascript">// <![CDATA[
     var _gaq = _gaq || [];   _gaq.push(['_setAccount', 'UA-27772211-1']);   _gaq.push(['_trackPageview']);   (function() {     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);   })();
// ]]&gt;</script>Now insert the following code in the magentotest.php file.</p>
<blockquote><p><strong>&lt;?</strong><br />
<strong>extension_check(array( </strong><br />
<strong>    &#8217;curl&#8217;,</strong><br />
<strong>    &#8217;dom&#8217;, </strong><br />
<strong>    &#8217;gd&#8217;, </strong><br />
<strong>    &#8217;hash&#8217;,</strong><br />
<strong>    &#8217;iconv&#8217;,</strong><br />
<strong>    &#8217;mcrypt&#8217;,</strong><br />
<strong>    &#8217;pcre&#8217;, </strong><br />
<strong>    &#8217;pdo&#8217;, </strong><br />
<strong>    &#8217;pdo_mysql&#8217;, </strong><br />
<strong>    &#8217;simplexml&#8217;</strong><br />
<strong>));</strong></p>
<p><strong>function extension_check($extensions) {</strong><br />
<strong>    $fail = &#8221;;</strong><br />
<strong>    $pass = &#8221;;</strong></p>
<p><strong>    if(version_compare(phpversion(), &#8217;5.2.0&#8242;, &#8216;&lt;&#8217;)) {</strong><br />
<strong>        $fail .= &#8216;&lt;li&gt;You need&lt;strong&gt; PHP 5.2.0&lt;/strong&gt; (or greater)&lt;/li&gt;&#8217;;</strong><br />
<strong>    }</strong><br />
<strong>    else {</strong><br />
<strong>        $pass .=&#8217;&lt;li&gt;You have&lt;strong&gt; PHP 5.2.0&lt;/strong&gt; (or greater)&lt;/li&gt;&#8217;;</strong><br />
<strong>    }</strong></p>
<p><strong>    if(!ini_get(&#8216;safe_mode&#8217;)) {</strong><br />
<strong>        $pass .=&#8217;&lt;li&gt;Safe Mode is &lt;strong&gt;off&lt;/strong&gt;&lt;/li&gt;&#8217;;</strong><br />
<strong>        preg_match(&#8216;/[0-9]\.[0-9]+\.[0-9]+/&#8217;, shell_exec(&#8216;mysql -V&#8217;), $version);</strong></p>
<p><strong>        if(version_compare($version[0], &#8217;4.1.20&#8242;, &#8216;&lt;&#8217;)) {</strong><br />
<strong>            $fail .= &#8216;&lt;li&gt;You need&lt;strong&gt; MySQL 4.1.20&lt;/strong&gt; (or greater)&lt;/li&gt;&#8217;;</strong><br />
<strong>        }</strong><br />
<strong>        else {</strong><br />
<strong>            $pass .=&#8217;&lt;li&gt;You have&lt;strong&gt; MySQL 4.1.20&lt;/strong&gt; (or greater)&lt;/li&gt;&#8217;;</strong><br />
<strong>        }</strong><br />
<strong>    }</strong><br />
<strong>    else { $fail .= &#8216;&lt;li&gt;Safe Mode is &lt;strong&gt;on&lt;/strong&gt;&lt;/li&gt;&#8217;;  }</strong></p>
<p><strong>    foreach($extensions as $extension) {</strong><br />
<strong>        if(!extension_loaded($extension)) {</strong><br />
<strong>            $fail .= &#8216;&lt;li&gt; You are missing the &lt;strong&gt;&#8217;.$extension.&#8217;&lt;/strong&gt; extension&lt;/li&gt;&#8217;;</strong><br />
<strong>        }</strong><br />
<strong>        else{    $pass .= &#8216;&lt;li&gt;You have the &lt;strong&gt;&#8217;.$extension.&#8217;&lt;/strong&gt; extension&lt;/li&gt;&#8217;;</strong><br />
<strong>        }</strong><br />
<strong>    }</strong></p>
<p><strong>    if($fail) {</strong><br />
<strong>        echo &#8216;&lt;p&gt;&lt;strong&gt;Your server does not meet the following requirements in order to install Magento.&lt;/strong&gt;&#8217;;</strong><br />
<strong>        echo &#8216;&lt;br&gt;The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:&#8217;;</strong><br />
<strong>        echo &#8216;&lt;ul&gt;&#8217;.$fail.&#8217;&lt;/ul&gt;&lt;/p&gt;&#8217;;</strong><br />
<strong>        echo &#8216;The following requirements were successfully met:&#8217;;</strong><br />
<strong>        echo &#8216;&lt;ul&gt;&#8217;.$pass.&#8217;&lt;/ul&gt;&#8217;;</strong><br />
<strong>    } else {</strong><br />
<strong>        echo &#8216;&lt;p&gt;&lt;strong&gt;Congratulations!&lt;/strong&gt; Your server meets the requirements for Magento.&lt;/p&gt;&#8217;;</strong><br />
<strong>        echo &#8216;&lt;ul&gt;&#8217;.$pass.&#8217;&lt;/ul&gt;&#8217;;</strong></p>
<p><strong>    }</strong><br />
<strong>}</strong><br />
<strong>?&gt;</strong></p></blockquote>
<p>Now browse the magentotest.php file with the domain name like domain.com/magentotest.php , if server support the Magento installation it will give you the following result</p>
<blockquote><p><strong>Congratulations! Your server meets the requirements for Magento.</strong></p></blockquote>
<p>And if the server won&#8217;t meets the requirement for the Magento it will throw the error message what exactly is missing, for example in the following result shell_exec is disabled on the server therefore you can&#8217;t install the Magento, you must enable the shell_exec function to install the Magento</p>
<blockquote><p><strong>Warning: shell_exec() has been disabled for security reasons in /home/test/public_html/magentotest.php on line 28</strong><br />
<strong> Your server does not meet the following requirements in order to install Magento.</strong></p></blockquote>
<p>&nbsp;</p>
<blockquote><p>&nbsp;</p></blockquote>
<p>&nbsp;</p>
<p>If you have any problem to copy the code from the above thread then refer to the following URL to download the code</p>
<p>http://www.theperfectarts.com/magentocheck.txt</p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/11/check-server-is-compatible-with-magento-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8220;Fatal error: Undefined class constant &#8216;XML_PATH_USE_CUSTOM_ADMIN_URL&#8217; &#8220;</title>
		<link>http://www.theperfectarts.com/2011/08/magento-fatal-error-undefined-class-constant-xml_path_use_custom_admin_url/</link>
		<comments>http://www.theperfectarts.com/2011/08/magento-fatal-error-undefined-class-constant-xml_path_use_custom_admin_url/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 02:05:11 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Magento "Fatal error: Undefined class constant 'XML_PATH_USE_CUSTOM_ADMIN_URL' "]]></category>
		<category><![CDATA[Magento issue after upgrade]]></category>
		<category><![CDATA[magento upgrade issue]]></category>
		<category><![CDATA[Upgrade issue with Magento]]></category>
		<category><![CDATA[upgrade magento issue]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1270</guid>
		<description><![CDATA[After upgrading the Magento mostly the following error is occurred. Fatal error: Undefined class constant &#8216;XML_PATH_USE_CUSTOM_ADMIN_URL&#8217; in /home/test123/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 123 Solution : To resolve the above error refer the following steps. 1st take backup for the file /app/code/core/Mage/Adminhtml/helper/Data.php 2nd) Change the following line in the file /app/code/core/Mage/Adminhtml/helper/Data.php &#160; From class Mage_Adminhtml_Helper_Data extends Mage_Core_Helper_Abstract {protected $_pageHelpUrl; To class Mage_Adminhtml_Helper_Data extends Mage_Core_Helper_Abstract {const XML_PATH_ADMINHTML_ROUTER_FRONTNAME   = &#8217;admin/routers/adminhtml/args/frontName&#8217;; [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading the Magento mostly the following error is occurred.</p>
<p><strong>Fatal error: Undefined class constant &#8216;XML_PATH_USE_CUSTOM_ADMIN_URL&#8217; in /home/test123/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 123</strong></p>
<p><strong>Solution</strong> : To resolve the above error refer the following steps.</p>
<p>1st take backup for the file /app/code/core/Mage/Adminhtml/helper/Data.php</p>
<p>2nd) Change the following line in the file /app/code/core/Mage/Adminhtml/helper/Data.php</p>
<p>&nbsp;</p>
<p><strong>From</strong></p>
<blockquote>
<div><span style="color: #ff0000;"><code><code> class Mage_Adminhtml_Helper_Data extends Mage_Core_Helper_Abstract<br />
{</code></code></span><span style="color: #ff0000;">protected $_pageHelpUrl;</span></div>
</blockquote>
<div><strong>To</strong></div>
<div>
<blockquote>
<div><span style="color: #ff0000;"><code><code> class Mage_Adminhtml_Helper_Data extends Mage_Core_Helper_Abstract<br />
{</code></code></span><span style="color: #ff0000;">const XML_PATH_ADMINHTML_ROUTER_FRONTNAME   = &#8217;admin/routers/adminhtml/args/frontName&#8217;;</span><br />
<span style="color: #ff0000;"> const XML_PATH_USE_CUSTOM_ADMIN_URL         = &#8217;default/admin/url/use_custom&#8217;;</span><br />
<span style="color: #ff0000;"> const XML_PATH_CUSTOM_ADMIN_URL             = &#8217;default/admin/url/custom&#8217;;</span><span style="color: #ff0000;">protected $_pageHelpUrl;</span></div>
</blockquote>
</div>
<div>Save the file and delete the Magento cache from the /var/cache directory and now browse the domain</div>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-1685490665026631";
/* images */
google_ad_slot = "1433358698";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2011/08/magento-fatal-error-undefined-class-constant-xml_path_use_custom_admin_url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Joomla &#8220;404 component error&#8221;?</title>
		<link>http://www.theperfectarts.com/2010/07/joomla-404-component-error/</link>
		<comments>http://www.theperfectarts.com/2010/07/joomla-404-component-error/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 21:32:55 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[404 component error]]></category>
		<category><![CDATA[Jomla 404 component error]]></category>
		<category><![CDATA[Menu Item Manager]]></category>
		<category><![CDATA[Menus]]></category>
		<category><![CDATA[YELLOW star icon]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1081</guid>
		<description><![CDATA[While browsing Joomla site &#8220;404 component error&#8221; message refer following steps to resolve issue. Login into Joomla admin section Then select Menus &#62;&#62; Menu Item Manager Check box &#8220;Home&#8221; option from list and then only click on the YELLOW star icon in the upper-right corner. Now browse your site and if you are still having [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing Joomla site &#8220;404 component error&#8221; message refer following steps to resolve issue.</p>
<p>Login into Joomla admin section</p>
<p>Then select Menus &gt;&gt; Menu Item Manager</p>
<p>Check box &#8220;Home&#8221; option from list and then only click on the YELLOW star icon in the upper-right corner.</p>
<p>Now browse your site and if you are still having any problem then refer <a href="http://www.theperfectarts.com/2010/07/joomla-404-component-error/">Joomla thread</a> to sort out your issue.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/07/joomla-404-component-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Joomla &#8220;Not a valid image&#8221; issue?</title>
		<link>http://www.theperfectarts.com/2010/06/joomla-not-a-valid-image-issue/</link>
		<comments>http://www.theperfectarts.com/2010/06/joomla-not-a-valid-image-issue/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 18:31:24 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[check mime types]]></category>
		<category><![CDATA[ftp_enable]]></category>
		<category><![CDATA[Joomla admin section]]></category>
		<category><![CDATA[joomla Not a valid image]]></category>
		<category><![CDATA[restrict uploads]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1067</guid>
		<description><![CDATA[While uploading images we are receiving &#8220;Not a valid image&#8221; error message. To resolve error message refer following steps. First login into Joomla admin section and check box following option. Global Config &#62; System &#8211; restrict uploads = No &#8211; check mime types = No Second edit configuration.php file and change. From var $ftp_enable = [...]]]></description>
			<content:encoded><![CDATA[<p>While uploading images we are receiving &#8220;Not a valid image&#8221; error message. To resolve error message refer following steps.</p>
<p>First login into Joomla admin section and check box following option.</p>
<blockquote><p><span style="color: #800000;"><strong>Global Config &gt; System</strong></span><br />
<span style="color: #800000;"><strong> &#8211; restrict uploads = No</strong></span><br />
<span style="color: #800000;"><strong> &#8211; check mime types = No</strong></span></p></blockquote>
<p>Second edit configuration.php file and change.</p>
<blockquote><p><strong><span style="color: #800000;">From</span></strong></p>
<p><strong><span style="color: #800000;">var $ftp_enable = &#8217;1&#8242;;</span></strong></p>
<p><strong><span style="color: #800000;">To</span></strong></p>
<p><strong><span style="color: #800000;">var $ftp_enable = &#8217;0&#8242;;</span></strong></p></blockquote>
<p>Third comment following line in php.ini file if you are using customize php.ini file (mostly used on SuExec server).</p>
<blockquote><p><strong><span style="color: #800000;">;upload_tmp_dir = tmp</span></strong></p></blockquote>
<p>And now try to upload the image.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/06/joomla-not-a-valid-image-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JoomlaFCK editor is not working?</title>
		<link>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/</link>
		<comments>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/#comments</comments>
		<pubDate>Mon, 17 May 2010 20:34:00 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[joomla editor]]></category>
		<category><![CDATA[JoomlaFCK]]></category>
		<category><![CDATA[JoomlaFCK not working]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1037</guid>
		<description><![CDATA[Some time JoomlaFCK editor is not allowing to add any text after installing Joomla. Refer following steps to sort out the JoomlaFCK problems. Open configuration.php file and replace following line From var $live_site = &#8216;http://domain.com&#8217;; To var $live_site = &#8216;http://www.domain.com&#8217;; &#169;2012 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>Some time JoomlaFCK editor is not allowing to add any text after installing Joomla. Refer following steps to sort out the JoomlaFCK problems.</p>
<p>Open configuration.php file and replace following line</p>
<p>From</p>
<p><strong>var $live_site = &#8216;http://domain.com&#8217;;</strong><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>To</p>
<p><strong>var $live_site = &#8216;http://www.domain.com&#8217;;</strong></p>
<input type="hidden" name="IL_RELATED_TAGS" value="1" />
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/05/joomlafck-editor-is-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_user_password_dynamic_validation() error while installing Drupal 6.15</title>
		<link>http://www.theperfectarts.com/2010/02/_user_password_dynamic_validation-error-while-installing-drupal-6-15/</link>
		<comments>http://www.theperfectarts.com/2010/02/_user_password_dynamic_validation-error-while-installing-drupal-6-15/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 23:46:25 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[drupal 6.15 verion issue bug]]></category>
		<category><![CDATA[_user_password_dynamic_validation]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=986</guid>
		<description><![CDATA[I have faced a big problem while installing Drupal. I am receiving following error message [Sun Feb 28 10:00:20 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function _user_password_dynamic_validation() in /usr/share/drupal/install.php on line 710, referer: http://localhost/drupal/install.php? profile=default&#38;localize=true To resolve above issue we need to manually update the table values From shell run following [...]]]></description>
			<content:encoded><![CDATA[<p>I have faced a big problem while installing Drupal. I am receiving following error message</p>
<p>[Sun Feb 28 10:00:20 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function _user_password_dynamic_validation() in /usr/share/drupal/install.php on line 710, referer: http://localhost/drupal/install.php?<br />
profile=default&amp;localize=true</p>
<p>To resolve above issue we need to manually update the table values</p>
<p>From shell run following commands.<br />
<span style="color: #993300;">root@theperfectarts.com[~]#mysql -u USER -p</span><br />
Enter your  mysql user password password<br />
Or you can also</p>
<p><span style="color: #800000;">root@theperfectarts.com[~]#mysql<br />
root@theperfectarts.com[~]#use drupal_databasename</span></p>
<p>Then run following sql statement</p>
<p><span style="color: #800000;">root@theperfectarts.com[~]#UPDATE system SET status = 1 WHERE name = &#8216;block&#8217; OR name = &#8216;user&#8217; OR name = &#8216;node&#8217; OR name = &#8216;filter&#8217;;</span></p>
<p>Now try to install drupal <img src='http://www.theperfectarts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/02/_user_password_dynamic_validation-error-while-installing-drupal-6-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to stop forum get injected from hackers?</title>
		<link>http://www.theperfectarts.com/2009/12/how-to-stop-forum-get-injected-fom-hackers/</link>
		<comments>http://www.theperfectarts.com/2009/12/how-to-stop-forum-get-injected-fom-hackers/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 08:49:44 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Third party script issue]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=777</guid>
		<description><![CDATA[In now a days its very easy to inject any forum.You can secure your forum by using following code in your .htaccess #spam bots SetEnvIfNoCase User-Agent “^EmailSiphon” bad_bot SetEnvIfNoCase User-Agent “^EmailWolf” bad_bot SetEnvIfNoCase User-Agent “^ExtractorPro” bad_bot SetEnvIfNoCase User-Agent “^CherryPicker” bad_bot SetEnvIfNoCase User-Agent “^NICErsPRO” bad_bot SetEnvIfNoCase User-Agent “^Teleport” bad_bot SetEnvIfNoCase User-Agent “^EmailCollector” bad_bot #plagarism bot SetEnvIfNoCase [...]]]></description>
			<content:encoded><![CDATA[<p>In now a days its very easy to inject any forum.You can secure your forum by using following code in your .htaccess</p>
<p><span style="color: #800000;">#spam bots SetEnvIfNoCase User-Agent “^EmailSiphon” bad_bot SetEnvIfNoCase User-Agent “^EmailWolf” bad_bot SetEnvIfNoCase User-Agent “^ExtractorPro” bad_bot SetEnvIfNoCase User-Agent “^CherryPicker” bad_bot SetEnvIfNoCase User-Agent “^NICErsPRO” bad_bot SetEnvIfNoCase User-Agent “^Teleport” bad_bot SetEnvIfNoCase User-Agent “^EmailCollector” bad_bot #plagarism bot SetEnvIfNoCase User-Agent “^TurnitinBot” bad_bot #IP bot SetEnvIfNoCase User-Agent “^NPBot” bad_bot #Worm sign SetEnvIfNoCase User-Agent “^LWP::Simple” bad_bot SetEnvIfNoCase User-Agent “^lwp-trivial” bad_bot SetEnvIfNoCase User-Agent “^lwp” bad_bot SetEnvIfNoCase User-Agent “^LWP” bad_bot #Worm sign Order Allow,Deny Allow from all Deny from env=bad_bot</span><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/how-to-stop-forum-get-injected-fom-hackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to patch openssl version?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 04:51:34 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[check openssl version]]></category>
		<category><![CDATA[install openssl version]]></category>
		<category><![CDATA[openssl version]]></category>
		<category><![CDATA[patch openssl version]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=372</guid>
		<description><![CDATA[You can patch openssl version by using following steps but make sure that you are able to SSH server as root user user. root@gunjan[/usr/local/src]#cd /usr/local/src root@gunjan[/usr/local/src]#wget http://www.openssl.org/source/openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#tar -zxf openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#cd openssl-0.9.8h root@gunjan[/usr/local/src]#./Configure &#8211;prefix=/usr debug-linux-pentium (or choose right os) root@gunjan[/usr/local/src]#make root@gunjan[/usr/local/src]#make install To check openssl version simply run openssl version root@gunjan[/usr/local/src]#openssl version &#169;2012 Linux Servers [...]]]></description>
			<content:encoded><![CDATA[<p>You can patch openssl version by using following steps but make sure that you are able to SSH server as root user user.</p>
<p><span style="color: #800000;">root@gunjan[/usr/local/src]#cd /usr/local/src<br />
root@gunjan[/usr/local/src]#wget http://www.openssl.org/source/openssl-0.9.8h.tar.gz<br />
root@gunjan[/usr/local/src]#tar -zxf openssl-0.9.8h.tar.gz<br />
root@gunjan[/usr/local/src]#cd openssl-0.9.8h<br />
root@gunjan[/usr/local/src]#./Configure &#8211;prefix=/usr debug-linux-pentium (or choose right os)<br />
root@gunjan[/usr/local/src]#make<br />
root@gunjan[/usr/local/src]#make install</span></p>
<p>To check openssl version simply run openssl version</p>
<p><span style="color: #800000;">root@gunjan[/usr/local/src]#openssl version</span></p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

