<?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>Fundaa.com &#187; Solved Issues</title>
	<atom:link href="http://fundaa.com/category/solved-issues/feed/" rel="self" type="application/rss+xml" />
	<link>http://fundaa.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 12:44:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>script to remove extra white spaces from each and every fields of whole database table</title>
		<link>http://fundaa.com/solved-issues/script-to-remove-extra-white-spaces-from-each-and-every-fields-of-whole-database-table/</link>
		<comments>http://fundaa.com/solved-issues/script-to-remove-extra-white-spaces-from-each-and-every-fields-of-whole-database-table/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 13:28:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solved Issues]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=192</guid>
		<description><![CDATA[<br/>here is simple script to remove extra white spaces from each field of database table and get log record of how many fields age getting affected ! !]]></description>
			<content:encoded><![CDATA[<br/><p>here is simple script to remove extra white spaces from each field of database table and get log record of how many fields age getting affected ! !</p>
<pre class="brush: php;">
&lt;?php
mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;);
mysql_select_db(&quot;temp&quot;);
if(isset($_GET['table']))
{
define(&quot;TABLE_NAME&quot;,$_GET['table']);
$sql = &quot;select * from &quot;.TABLE_NAME.&quot; &quot;;
$rs = mysql_query($sql);
while($row = mysql_fetch_array($rs))
{
$flag = 0;
$i = 0;
foreach($row as $key =&gt; $value) {
if($flag == 0) {
$flag = 1;
} else {
$flag = 0;
$trimed = trim($value);
$temp = &quot;update &quot;.TABLE_NAME.&quot; set &quot;.$key.&quot; = '&quot;.$trimed.&quot;' where id = '&quot;.$row[0].&quot;' &quot;;
mysql_query($temp);
if(mysql_affected_rows() == &quot;1&quot;)
{
$i++;
echo &quot;field trimed at id = &quot;.$row[0].&quot; and field = &quot;.$key.&quot;&quot;;
}
} } }
if($i == &quot;0&quot;) {
echo &quot;no rows affected&quot;;
}
echo &quot;DATABASE table trimed successfully&quot;;
}
else {
echo &quot;no table defined&quot;;
}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/script-to-remove-extra-white-spaces-from-each-and-every-fields-of-whole-database-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tiny MCE Editor problem in CMS</title>
		<link>http://fundaa.com/solved-issues/tiny-mce-editor-problem-in-cms/</link>
		<comments>http://fundaa.com/solved-issues/tiny-mce-editor-problem-in-cms/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 11:42:32 +0000</pubDate>
		<dc:creator>nehalv</dc:creator>
				<category><![CDATA[Solved Issues]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=189</guid>
		<description><![CDATA[<br/>Often when one installs the CMS Made Simple  on an active server online; they face a problem with the Tiny MCE editor in the pages section and hence the content cannot be modified via the editor.
I have provided three known solutions to this problem:
 1) Change the permission on the modules directory to 755 if it already isn&#8217;t.
 2) Try uninstalling the Tiny MCE and reinstalling it.
 3) Try uninstalling the Tiny MCE and replacing it with an older version.
]]></description>
			<content:encoded><![CDATA[<br/><p>Often when one installs the CMS Made Simple  on an active server online; they face a problem with the Tiny MCE editor in the pages section and hence the content cannot be modified via the editor.</p>
<p>I have provided three known solutions to this problem:<br />
 1) Change the permission on the modules directory to 755 if it already isn&#8217;t.<br />
 2) Try uninstalling the Tiny MCE and reinstalling it.<br />
 3) Try uninstalling the Tiny MCE and replacing it with an older version.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/tiny-mce-editor-problem-in-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pluggable.php on line 868 wordpress issue &#8211; SOLVED</title>
		<link>http://fundaa.com/solved-issues/pluggable-php-on-line-868-wordpress-issue-solved/</link>
		<comments>http://fundaa.com/solved-issues/pluggable-php-on-line-868-wordpress-issue-solved/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 12:23:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solved Issues]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=153</guid>
		<description><![CDATA[<br/>Recently I have face strange issue on wordpress which is &#8220;public_html/wp-includes/pluggable.php on line 868 wordpress issue&#8221; error at the time of login on wordpress website. 
Issue: public_html/wp-includes/pluggable.php on line 868 
Solution: This kind of error is normal for wordpress. This can occur due to some spaces after ?> ( end of php code )  in your php code files. So, you need to check your last accessed files and removed spaces if there and try again accessing that page. Hope it helps for wordpress developers.
- Tejas 
]]></description>
			<content:encoded><![CDATA[<br/><p>Recently I have face strange issue on wordpress which is &#8220;public_html/wp-includes/pluggable.php on line 868 wordpress issue&#8221; error at the time of login on wordpress website. </p>
<p>Issue: public_html/wp-includes/pluggable.php on line 868 </p>
<p>Solution: This kind of error is normal for wordpress. This can occur due to some spaces after ?> ( end of php code )  in your php code files. So, you need to check your last accessed files and removed spaces if there and try again accessing that page. Hope it helps for wordpress developers.</p>
<p>- Tejas </p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/pluggable-php-on-line-868-wordpress-issue-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import MySQL Database Using Command Line &#8211; SOLVED</title>
		<link>http://fundaa.com/solved-issues/import-mysql-database-using-command-line-solved/</link>
		<comments>http://fundaa.com/solved-issues/import-mysql-database-using-command-line-solved/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 07:51:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Solved Issues]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=150</guid>
		<description><![CDATA[<br/>Follow the below code to import mysql database using command line.

mysql -uUSERNAME -pDATABASE < DATABASE_FILE.SQL

Format: mysql -uroot -ppasword -hlocalhost database-name < sql_dump_file_name.sql

Correct Example:  mysql -uroot -palakmalak -hlocalhost oca < cerb4oca.sql
Note: Do not go to mysql console. Just go to the directory where your backup file resides. 
Note: Do not use -u space username like -u root ( this will not work ) use -uroot -ppassword -hlocalhost 

Wrong Example: mysql -u root -p abc123 localhost < mytest.sql

where root is USERNAME of MySQL, abc123 is DATABASE of MyQL and mytest.sql is ...]]></description>
			<content:encoded><![CDATA[<br/><p>Follow the below code to import mysql database using command line.</p>
<pre lang="PHP" line="2">
mysql -uUSERNAME -pDATABASE < DATABASE_FILE.SQL

Format: mysql -uroot -ppasword -hlocalhost database-name < sql_dump_file_name.sql

Correct Example:  mysql -uroot -palakmalak -hlocalhost oca < cerb4oca.sql
<strong>Note: Do not go to mysql console. Just go to the directory where your backup file resides. </strong>
<strong>Note: Do not use -u space username like -u root ( this will not work ) use -uroot -ppassword -hlocalhost </strong>

Wrong Example: mysql -u root -p abc123 localhost < mytest.sql
</pre>
<p>where root is USERNAME of MySQL, abc123 is DATABASE of MyQL and mytest.sql is a file you want to import in to selected database.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/import-mysql-database-using-command-line-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blank page problem in zencart [SOLVED]</title>
		<link>http://fundaa.com/solved-issues/blank-page-problem-in-zencart-solved/</link>
		<comments>http://fundaa.com/solved-issues/blank-page-problem-in-zencart-solved/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:54:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solved Issues]]></category>
		<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=138</guid>
		<description><![CDATA[<br/>some has experienced that when clicked on some link blank page is displayed 
that problem is there because of add page process of zencart
to add page in zencart we have to create four pages
    *  A new directory, includes/modules/pages/myNewPage/, containing a file called header_php.php 
    * A new file in the directory includes/templates/template_default/templates called tpl_myNewPage_default.php 
    * A new file, includes/extra_datafiles/myNewPage.php, defining your new page&#8217;s filename for the Zen Cart™ system 
    * A new language file, ...]]></description>
			<content:encoded><![CDATA[<br/><p>some has experienced that when clicked on some link blank page is displayed </p>
<p>that problem is there because of add page process of zencart</p>
<p>to add page in zencart we have to create four pages</p>
<p>    *  A new directory, includes/modules/pages/myNewPage/, containing a file called header_php.php </p>
<p>    * A new file in the directory includes/templates/template_default/templates called tpl_myNewPage_default.php </p>
<p>    * A new file, includes/extra_datafiles/myNewPage.php, defining your new page&#8217;s filename for the Zen Cart™ system </p>
<p>    * A new language file, includes/languages/english/myNewPage.php </p>
<p>there is problem in  includes/extra_datafiles/myNewPage.php</p>
<p>so dont add file in that folder may your problem solved ! ! !</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/blank-page-problem-in-zencart-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternative of curl method.</title>
		<link>http://fundaa.com/solved-issues/alternative-of-curl-method/</link>
		<comments>http://fundaa.com/solved-issues/alternative-of-curl-method/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 06:20:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solved Issues]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=132</guid>
		<description><![CDATA[<br/>There may be certain servers which do not allow curl options so there is a alternate option for it. We can use commands such as file open, fgets and perform the same functionality as curl. Read the whole post for the solution]]></description>
			<content:encoded><![CDATA[<br/><p>There may be certain servers which do not allow curl options so there is a alternate option for it. We can use the following code instead of curl:</p>
<pre class="brush: php;">
$file = fopen ($url, &quot;r&quot;);
if (!$file) {
    echo &quot;&lt;p&gt;Unable to open remote file.\n&quot;;
    exit;
}
while (!feof ($file)) {
 $line = fgets ($file, 1024);
  /* This only works if the title and its tags are on one line */
  if (preg_match (&quot;@\&lt;title\&gt;(.*)\&lt;/title\&gt;@i&quot;, $line, $out)) {
  $title = $out[1];
   break;
 }
}
fclose($file);
</pre>
<p>where $url is the url of the website</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/alternative-of-curl-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install whole lamp package with single line code</title>
		<link>http://fundaa.com/solved-issues/how-to-install-whole-lamp-package-with-single-line-code/</link>
		<comments>http://fundaa.com/solved-issues/how-to-install-whole-lamp-package-with-single-line-code/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 06:15:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solved Issues]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=133</guid>
		<description><![CDATA[<br/>Open a terminal window and run the following commands:
sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql
sudo sed -i ’s/; extension=mysql.so/extension=mysql\.so/g’ /etc/php5/apache2/php.ini
That’s a series of 3 spaces after ’s/;
sudo /etc/init.d/apache2 restart
Reboot and you’re done!
]]></description>
			<content:encoded><![CDATA[<br/><p>Open a terminal window and run the following commands:</p>
<p>sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql</p>
<p>sudo sed -i ’s/; extension=mysql.so/extension=mysql\.so/g’ /etc/php5/apache2/php.ini</p>
<p>That’s a series of 3 spaces after ’s/;</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>Reboot and you’re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/solved-issues/how-to-install-whole-lamp-package-with-single-line-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

