<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">To begin, I am a little worried about
helping as this sounds a lot like getting a 911 call about "Help,
my friend is bleeding heavily on the table after trying to operate
on him while following my copy of Surgery for Dummies book.<br>
<br>
It REALLY helps to have some understanding of PHP before editing
files, to avoid causing problems like this.<br>
<br>
Your first problem sounds very much like the classical "White
Screen of Death", for which the second step is one of the methods
to help diagnose. (Better is to check your server PHP error logs
first).<br>
<br>
The code snippet you posted is sort of correct, but also sort of
wrong. The "error" message you posted is an indication that you
have somehow badly corrupted the file structure of you index.php,
as the error message is the contents of that file!<br>
<br>
PHP files need to begin their PHP code with the <?php tag, and
may end with a ?> end tag to make the end of the PHP section.
Drupal coding standards state that the <?php MUST be the very
first characters of the file, and that you should omit the closing
?> tag (this avoids a common problem of white space getting
inserted before the page headers get sent). This means that when
you insert a piece of code, you do NOT include the <?php
.... ?> tags (if shown). Many authors include them just to show
that the code is a piece of PHP code.<br>
<br>
On 8/23/13 4:15 AM, sanjay k. kharwar wrote:<br>
</div>
<blockquote
cite="mid:CABRsHjTOjzRY=rNXfn=SP7kyYor-xcNdkoW+x4B6WedNde4r-w@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr"><br>
<div>
<p>
Dear All,</p>
<p>
I started improving my website and then suddenly the screen
has gone blank.<br>
i am not able to see any content., suddenly the page content
has disappeared. Not<br>
even able to see the user login.<br>
..................................</p>
<p>
After searching all through forums and posts to figure out
the actual reason i tried the following :</p>
<p>
1. To get the error reporitng, i pasted the following code
in index.php :</p>
<p>
</p>
<div class="">
<code><span><span><?php<br>
error_reporting</span><span>(</span><span>E_ALL</span><span>);<br>
</span><span>ini_set</span><span>(</span><span>'display_errors'</span><span>,
</span><span>TRUE</span><span>);<br>
</span><span>ini_set</span><span>(</span><span>'display_startup_errors'</span><span>,
</span><span>TRUE</span><span>);<br>
</span><span>?></span></span></code></div>
<p>
.......<br>
the error came out be :</p>
<p>
/** * @file * The PHP page that serves all page requests on
a Drupal installation. * * The routines here dispatch
control to the appropriate handler, which then * prints the
appropriate page. * * All Drupal code is released under the
GNU General Public License. * See COPYRIGHT.txt and
LICENSE.txt. */ /** * Root directory of Drupal installation.
*/ define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT
. '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
menu_execute_active_handler();</p>
<p>
..............</p>
<p>
even i tried other options going thorugh the forums but
unable to find the solution , may be bcoz i am bit new to
drupal.</p>
<p>
Another which i would like to mention is that my meta tags
were not appearing completely, for which i was trying to
find a solution by reinstalling the module and other options
available in the various forums of drupal.</p>
<p>
website is : <a moz-do-not-send="true"
href="http://www.assignmentshelptutors.com/"
title="http://www.assignmentshelptutors.com"
rel="nofollow">http://www.assignmentshelptutors.com</a><br>
i have hosted it on : APPFOG- cloud.<br>
Drupal version is : 5.14</p>
<p>
Plz help this all happened when i was trying to improve the
seo of my site and everything is turning out to go in
vain.It is very frustrating. I need your valuable guidance.</p>
<p>
Thanks and Rgards,<br>
sanjay</p>
</div>
</div>
</blockquote>
<div dir="ltr">-- Richard Damon</div>
</body>
</html>