<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Troubleshooting[ Search for &quot;&quot;]</title>
        <description></description>
        <link>http://xataface.com/wiki/index.php?-action=single_record_search&amp;-table=wiki&amp;page_id=%3D49&amp;-cursor=0&amp;-skip=0&amp;-limit=30&amp;-mode=list&amp;--subsearch=</link>
        <lastBuildDate>Tue, 18 Jun 2013 18:16:04 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Troubleshooting</title>
            <link>http://www.xataface.com/wiki/Troubleshooting</link>
            <description>&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Field&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page name&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Troubleshooting&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page id&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;49&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page title&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Troubleshooting&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Content&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;
&lt;h2 id=&quot;toc0&quot;&gt;Xataface Troubleshooting&lt;/h2&gt;
&lt;p&gt;This document is intended to help Xataface developers through some of the most common issues.&lt;/p&gt;

&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;&lt;tr&gt;&lt;td&gt;
&lt;div id=&quot;toc&quot;&gt;&lt;strong&gt;Table of Contents&lt;/strong&gt;
	&lt;div style=&quot;margin-left: 0em;&quot;&gt;&lt;a href=&quot;#toc0&quot;&gt;Xataface Troubleshooting&lt;/a&gt;&lt;/div&gt;
	&lt;div style=&quot;margin-left: 0em;&quot;&gt;&lt;a href=&quot;#toc1&quot;&gt;All I get is a blank white screen!&lt;/a&gt;&lt;/div&gt;
	&lt;div style=&quot;margin-left: 0em;&quot;&gt;&lt;a href=&quot;#toc2&quot;&gt;Locating your php.ini file&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;


&lt;h2 id=&quot;toc1&quot;&gt;All I get is a blank white screen!&lt;/h2&gt;
&lt;p&gt;The most common issue mentioned in the forums is that an application comes up with a blank white screen in the web browser.  This can happen for a number of reasons but the most common reason is because PHP has encountered a fatal error and your PHP installation is not set up to display errors.&lt;/p&gt;

&lt;p&gt;The first step to troubleshooting this problem must be to find out what the error is.  You can do that in one of the following ways:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt; Check your Apache error log if you know where it is.  One common location on many linux installations is 
&lt;pre&gt;&lt;code&gt;/var/log/httpd/error_log&lt;/code&gt;&lt;/pre&gt;

 but your system may have it located elsewhere.  If you cannot find your error log, continue to the next option.&lt;/li&gt;
    &lt;li&gt; Turn on the &lt;em&gt;display_errors&lt;/em&gt; flag in your &lt;em&gt;php.ini&lt;/em&gt; file.  I.e., in your &lt;em&gt;php.ini&lt;/em&gt; file, find where it says 
&lt;pre&gt;&lt;code&gt;display_errors Off&lt;/code&gt;&lt;/pre&gt;

 and change it to 
&lt;pre&gt;&lt;code&gt;display_errors On&lt;/code&gt;&lt;/pre&gt;

.  After this is done, restart your apache webserver.  If you don't know where your &lt;em&gt;php.ini&lt;/em&gt; file is located see the section later in this document on locating your &lt;em&gt;php.ini&lt;/em&gt; file.  If you don't have access to your php.ini file, move on to the next option.&lt;/li&gt;
    &lt;li&gt; In your application's &lt;em&gt;.htaccess&lt;/em&gt; file, add the following directives to enable displaying errors:
&lt;pre&gt;&lt;code&gt;php_flag display_errors on&lt;/code&gt;&lt;/pre&gt;

 .  Note that this method will only work if your apache config file allows you to override these values at the directory level.  If you still get a blank white screen after this, continue to the next option.&lt;/li&gt;
    &lt;li&gt; At the beginning of your application's index.php file, add the following:
&lt;pre&gt;&lt;code&gt;&amp;lt;?php
error_reporting(E_ALL);
ini_set('display_errors', 'on');&lt;/code&gt;&lt;/pre&gt;

 .  Note that if the error occurs in the parsing or compiling of your PHP files you will still get a blank screen.  But this will at least display runtime errors on the page.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you can see the error messages that caused the blank white screen you are in a much better position to solve the problem.&lt;/p&gt;


&lt;h2 id=&quot;toc2&quot;&gt;Locating your php.ini file&lt;/h2&gt;
&lt;p&gt;Locating your &lt;em&gt;php.ini&lt;/em&gt; file is actually quite easy.  The quickest way is to create a php script with the following contents: 
&lt;pre&gt;&lt;code&gt;&amp;lt;?php
phpinfo();&lt;/code&gt;&lt;/pre&gt;

 then navigate to this page in your web browser.  This look at the line where it says the &lt;em&gt;php.ini file&lt;/em&gt;.  It will list the path there.&lt;/p&gt;

&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Language&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;en&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description>
            <author>Troubleshooting</author>
        </item>
    </channel>
</rss>
