ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem with blank screen on older build

June 03, 2010 4:25pm

Subscribe [6]
  • #16 / Jun 11, 2010 3:30pm

    Sue Crocker

    26054 posts

    Are you running any sort of .htaccess file? Can you check the version of PHP and the amount of memory allocated to it?

    You’d create a phpinfo.php file with the following text:

    <?php phpinfo(); ?>

    Upload it to your site, and see which version of PHP is running, along with the amount of memory allocated.

    Have you seen: EEWiki:// HowTo Determine Memory Limits

  • #17 / Jun 11, 2010 9:34pm

    helbnt

    143 posts

    Hi Sue,

    here’s the info from my phpinfo.php file:

    PHP Version 4.4.7
    memory_limit   150M   150M

  • #18 / Jun 12, 2010 12:15pm

    Greg Salt

    3988 posts

    Hi helbnt,

    Are you using any sort of .htaccess file in your system?

    Cheers

    Greg

  • #19 / Jun 14, 2010 2:21pm

    helbnt

    143 posts

    Hi Greg,

    My .htaccess file contains the following:

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?/$1 [L]
    
    Action php-script /interpreters/php-script
    AddHandler php-script .php AddHandler php-script .php3
  • #20 / Jun 14, 2010 4:08pm

    Ingmar

    29245 posts

    Please disable url_rewriting for testing; remove .htacces and put index.php back in again.

  • #21 / Jun 14, 2010 4:20pm

    helbnt

    143 posts

    Hi Ingmar,

    I renamed my .htaccess so it shouldn’t even be looking for it. I’m not clear on what you mean by ‘out index.php back in again’ - I’m assuming by removing the htaccess file that the index.php in the URL will load automatically?

    Oh, and renaming the .htaccess file didn’t seem to have any effect.

  • #22 / Jun 14, 2010 4:25pm

    Ingmar

    29245 posts

    I renamed my .htaccess so it shouldn’t even be looking for it. I’m not clear on what you mean by ‘out index.php back in again’

    A typo I have since fixed—put back again.

    I’m assuming by removing the htaccess file that the index.php in the URL will load automatically?

    If you have removed index.php from your URL according to this wiki entry you’ll also have removed “index.php” from Admin > System Preferences > General Configuration > Name of your site’s index page.

    If you can’t access your control panel try adding

    $conf['site_index'] = 'index.php';

    to your config.php as an override.

  • #23 / Jun 14, 2010 4:33pm

    helbnt

    143 posts

    Thanks for clearing that up 😊

    Unfortunately, after adding in the $conf[‘site_index’] = ‘index.php’; to my config.php file, the same thing is happening: after I’ve put in my username and password, I’m greeted with the same blank page. I don’t, however, see index.php in the url where I expected it (http://www.example.com/index.php/system/index.php?S=0&C=login&M=auth). Am I wrong in remembering where it should go?

  • #24 / Jun 14, 2010 7:29pm

    Brandon Jones

    5500 posts

    The URL should be something more like: http://www.example.com/system/index.php?... (is that the case?)

    Please also walk through this wiki entry to try to get some type of meaningful error message out of PHP. If you still aren’t seeing anything, contact your host regarding where PHP errors are logged to a file - they should be there somewhere.

  • #25 / Jun 15, 2010 10:58am

    helbnt

    143 posts

    I checked my phpinfo file and display_errors is set to on.

    Following the wiki, I entered “error_reporting(E_ALL);” into my system/index.php file. I also changed the config.php file to set $conf[‘debug’] to 2.

    Following these steps and attempting to login again, I’m greeted with the errors as previously reported. I got these errors both on login screen, and the page after logging in:

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../system/index.php:2) in /home/.../system/core/core.functions.php on line 742

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../system/index.php:2) in /home/.../system/core/core.functions.php on line 742

    Warning: Cannot modify header information - headers already sent by (output started at /home/.../system/index.php:2) in /home/.../system/core/core.functions.php on line 315

    Any other suggestions?

    And thanks for all the help guys - it’s much appreciated.

  • #26 / Jun 15, 2010 5:33pm

    helbnt

    143 posts

    Crazy - it’s working now.

    Following another post, I went back and uploaded the entire system directory to my site, and then copied my old config.php file in. All seems OK now.

    Sorry for the long, drawn out discussion trying to fix it.

    😊

  • #27 / Jun 15, 2010 5:38pm

    Ingmar

    29245 posts

    OK, let’s keep this open for another day or two, and an eye out for any problems that might occur. Glad it’s working now 😊

  • #28 / Jun 15, 2010 7:29pm

    Brandon Jones

    5500 posts

    Hi helbnt,

    Perhaps you had some rogue whitespace in index.php - can you confirm everything’s still up and running on your end?

  • #29 / Jun 15, 2010 8:11pm

    helbnt

    143 posts

    Hi Brandon,

    I’d say everything is *mostly* ok - I can’t select the ‘yes’ button for “Is system on?” and have it stay, but I think that’s because in the config.php “$conf[‘is_system_on’] = “n”;” is set. I can set that to Y and the site goes live, but I can’t turn the site off without going back into the config.php and setting it to N.

    Other than that, and some seriously jacked up css (but that’s not for you guys to worry about obviously), everything seems a-ok…at least in the control panel. Any thoughts on the system on setting?

  • #30 / Jun 15, 2010 8:29pm

    Brandon Jones

    5500 posts

    Go ahead and remove the

    $conf['is_system_on'] = "n";

    from your config.php file, as it overrides whatever you’ve set in the CP. Then you should be able to control whether the system is on or off like normal. Does that help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases