[support] Page content has disappeared : Plz Help.!

sanjay k. kharwar kharwar.sanjay at gmail.com
Fri Aug 23 14:46:41 UTC 2013


HI sir,

Thanks for replying.!

I am trying to check server PHP error logs .

Thanks Again,
Sanjay


On Fri, Aug 23, 2013 at 5:00 PM, Richard Damon <Richard at damon-family.org>wrote:

>  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.
>
> It REALLY helps to have some understanding of PHP before editing files, to
> avoid causing problems like this.
>
> 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).
>
> 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!
>
> 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.
>
>
> On 8/23/13 4:15 AM, sanjay k. kharwar wrote:
>
>
>  Dear All,
>
> I started improving my website and then suddenly the screen has gone blank.
> i am not able to see any content., suddenly the page content has
> disappeared. Not
> even able to see the user login.
> ..................................
>
> After searching all through forums and posts to figure out the actual
> reason i tried the following :
>
> 1. To get the error reporitng, i pasted the following code in index.php :
>
>  <?php
> error_reporting(E_ALL);
> ini_set('display_errors', TRUE);
> ini_set('display_startup_errors', TRUE);
> ?>
>
> .......
> the error came out be :
>
> /** * @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();
>
> ..............
>
> even i tried other options going thorugh the forums but unable to find the
> solution , may be bcoz i am bit new to drupal.
>
> 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.
>
> website is : http://www.assignmentshelptutors.com
> i have hosted it on : APPFOG- cloud.
> Drupal version is : 5.14
>
> 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.
>
> Thanks and Rgards,
> sanjay
>
> -- Richard Damon
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Sanjay K. Kharwar
Computer Science and Engineering
IIT Delhi


---
[image: athato brahma jijnasa]
"now is the time to enquire about the absolute truth"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130823/dbf0b73c/attachment.html 


More information about the support mailing list