Why would site go white when load tested?

Discussion in 'PHP' started by Brad77, Nov 23, 2013.

  1. #1
    When my load test guys test the site it goes white? No error message, nothing. It's just not there?

    Any ideas?
     
    Brad77, Nov 23, 2013 IP
  2. Daniel Hood

    Daniel Hood Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    Digital Goods:
    2
    #2
    Do you have error reporting disabled?

    error_reporting(E_ALL); // put this add the top of your page right below <?php
    PHP:
     
    Daniel Hood, Nov 23, 2013 IP
  3. Brad77

    Brad77 Member

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #3
    Will that fix or show issue?
     
    Brad77, Nov 23, 2013 IP
  4. Daniel Hood

    Daniel Hood Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    Digital Goods:
    2
    #4
    It's going to show you what's "killing" the page.
     
    Daniel Hood, Nov 23, 2013 IP
  5. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #5
    Add this line too:
    
    ini_set('display_errors', 1);
    
    PHP:
     
    nico_swd, Nov 23, 2013 IP
  6. Brad77

    Brad77 Member

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #6
    I access this error log under to public HTML in cpanel. Does anyone have any idea where the error lies in this?
     

    Attached Files:

    Brad77, Nov 23, 2013 IP
  7. Brad77

    Brad77 Member

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #7
    My server admin sent this to me:


    Everything on the server is responding without issue. All services are online, and nothing is currently down. The code itself is throwing errors:

    [23-Nov-2013 17:16:41 UTC] PHP Warning: require(/usr/local/apache/htdocs/includes/inc_files.php): failed to open stream: No such file or directory in /home/dariushv/public_html/index.php on line 2
    [23-Nov-2013 17:16:41 UTC] PHP Fatal error: require(): Failed opening required '/usr/local/apache/htdocs/includes/inc_files.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dariushv/public_html/index.php on line 2

    This references a requires() to includes/inc_files.php:

    if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) exit('No direct access allowed.');

    require_once("configuration/config.php");
    require_once("classes/database.class.php");
    require_once("classes/functions.class.php");
    require_once("classes/pagination.class.php");
    require_once("classes/session.class.php");
    require_once("classes/user.class.php");
    require_once("classes/vendor.class.php");
    require_once("classes/email.class.php");
    require_once("classes/activation.class.php");
    require_once("classes/reset_password.class.php");
    require_once("classes/account_lock.class.php");
    require_once("classes/invites.class.php");
    require_once("classes/paypal.class.php");

    //require_once("restrictions/restrictions.php");
     
    Brad77, Nov 23, 2013 IP
  8. aidanriley629

    aidanriley629 Banned

    Messages:
    429
    Likes Received:
    23
    Best Answers:
    3
    Trophy Points:
    175
    #8
    Where is this file located? inc_files.php

    It's saying that it's missing that file.
     
    aidanriley629, Nov 23, 2013 IP