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.

CP url loads blank page

February 13, 2012 12:10pm

Subscribe [2]
  • #1 / Feb 13, 2012 12:10pm

    wasserstrom

    12 posts

    Hi Everyone,

    It seems that no matter what I do—whether trying to set up a fresh install or migrate another, data in the database or no database tables at all—my CP url loads a completely blank white page for the dev environment I’m trying to set up.

    I have EE running locally without issue, but there appears to be something up when I try and get it running on my server, though I’ve used it in the past with no problems. But for whatever reason, the CP will not load.

    Please help!

    Greg

  • #2 / Feb 13, 2012 3:13pm

    wasserstrom

    12 posts

    Ok, so I just tried doing a fresh install again at the URL stage.gregwasserstrom.com. I simply followed the onscreen instructions using a fresh database, set the file permissions, then deleted the installer folder. Still getting the blank CP.

    I turned on the backend debug as suggested in this thread and was able to see the following three PHP errors. However, I have no idea what they mean.

    A PHP Error was encountered

    Severity: Warning

    Message: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Los_Angeles’ for ‘PST/-8.0/no DST’ instead

    Filename: libraries/Core.php

    Line Number: 254

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/privanova/stage.gregwasserstrom.com/system/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 770

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/privanova/stage.gregwasserstrom.com/system/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 393

    If someone could help me understand and get this cleared up, I would profoundly appreciate it!

  • #3 / Feb 14, 2012 10:31am

    Shane Eckert

    7174 posts

    Hello wasserstrom,

    I am sorry to hear you are running into this problem.

    It sounds like the date.timezone needs to be set in your php.ini file. For example: date.timezone = “US/Central”

    Are you able to make this change and then restart Apache? If you are using a hosted solution you may need to talk with you hosting support team.

    What version of ExpressionEngine are you installing?

    I hope this helps, please let me know if it does and if there is anything else I can help you with.

    Cheers,

  • #4 / Feb 14, 2012 10:47am

    wasserstrom

    12 posts

    Hey, thanks for the response! My server is Linux-based, so there’s no php.ini file. Is there somewhere else I can set the time zone? Also, would that be significant enough an issue to prevent the CP from loading?

    I’m attempting to install 2.4.0 in the latest build, it was downloaded yesterday.

    I appreciate your help with this.

  • #5 / Feb 14, 2012 10:55am

    Shane Eckert

    7174 posts

    Hello wasserstrom,

    There is a php.ini file used on Linux systems.

    It’s going to be in either /etc or in rare occasions /usr

    On my Ubuntu server it’s located in /etc/php.ini on my RedHat box it’s located in /etc/php5/php.ini.

    This is actually a significant enough error to cause this issue. As of PHP 5.3 this needs to be set.

    Cheers,

  • #6 / Feb 14, 2012 1:01pm

    wasserstrom

    12 posts

    HI Shane,

    Thanks for the guidance! Did what you said, CP still doesn’t load and debug gives me this error, which seems like we’re on the right track:

    Fatal error: Call to undefined function hash_algos() in /home/privanova/stage.gregwasserstrom.com/system/expressionengine/libraries/Auth.php on line 90

    Let me know what you think!

    Greg

  • #7 / Feb 14, 2012 1:10pm

    Shane Eckert

    7174 posts

    Hi

    I see the PHP errors are gone, so that it good! The change to the php.ini file is a sneaky one, but it will stop things from working.

    This server is not playing nice. 😊

    You are missing the Hash module. This is a little odd for a webserver that’s running PHP not to have.

    Assuming your on a Ubuntu.

    apt-get install php5-pear php5-dev

    And then run

    pecl install hash

    If you are using Redhat or CentOS then “yum” is your friend and the command you want to use in place of apt-get.

    A quick visit to our Requirements might help with configuration.

    Let me know how things go. I am checking the url you gave me every 1/2 hour or so to see how you are doing.

    Cheers,

  • #8 / Feb 14, 2012 2:16pm

    wasserstrom

    12 posts

    My server doesn’t like the pecl command, maybe because I’m on Debian? If not, I guess I’ll have to contact my host to find out how to install this modle. I know I can theoretically compile it myself from the source code, that’s just not something I know how to do yet.

    Thanks for your help!

     

  • #9 / Feb 14, 2012 2:46pm

    Shane Eckert

    7174 posts

    Hello

    Maybe your path does not include it?

    which pecl

    Maybe in

    /usr/local/bin/pecl

    or

    /usr/bin/pecl

    Maybe php-pecl is not installed?

    It might be a good idea to work with your hosting provider. I am not sure why these package are not installed and there may be reasons. My background is mostly with Redhat, so I may be missing something that is the “Debian” way.

    Please let me know how things go.

    Cheers,

     

  • #10 / Feb 14, 2012 7:12pm

    wasserstrom

    12 posts

    Well, shane. My rabbit hole is getting deeper.

    I heard back from my host, and I have two options here. I can do a whole custom install of php in order to get to the place where i can use the pecl command OR i can manually place the hash module in this folder on my server

    /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/

    I realize this is a bit out of scope, so I extra-appreciate your helping me learn a new thing. The files for the module are at the php site here. Do you have any insight into, like… what I do?

     

  • #11 / Feb 14, 2012 7:52pm

    Shane Eckert

    7174 posts

    Hey wasserstrom,

    What hosting provider is this? Are you super committed to them?

    I need to read up on the second option, I have yet to install this, it usually comes with php-pecl.

    Feel free to play with it and I will get back to you after I figure out which option you want.

    Side note, I would prefer you stay as un-customized as possible. The second options sounds better than the first.

    Did they say why they will not just do it for you? That’s why I ask about your hosting service.

    Our industry partner EngineHosting is great about hosting ExpressionEngine websites and they are awesome with support. Just FYI. 😊

    Back with you soon,

  • #12 / Feb 14, 2012 8:09pm

    wasserstrom

    12 posts

    Thanks for your help! My hosting provider is Dreamhost, and, while I know their setup is a little unusual, I think the real issue might be how little I know about the working I’m trying to do. Ha! I don’t suppose I’m super committed to Dreamhost, other than it would be a major pain to migrate seven years worth of stuff elsewhere. That, and I have a pretty great monthly rate based on the number of people I’ve referred over the years.

    I do agree that the second option sounds better than the first. The thing I’m wondering is whether or not I’m supposed to download every single one of these files… I will experiment until until it either works works or you figure something else out!

    Thanks again, Shane. I really can’t tell you how much I appreciate it!

    Greg

  • #13 / Feb 15, 2012 12:26am

    wasserstrom

    12 posts

    Ha! I did it! It works!

  • #14 / Feb 15, 2012 12:48am

    Shane Eckert

    7174 posts

    wasserstrom,

    Awesome!! Good work.

    Is there anything else you need?

    Cheers,

  • #15 / Feb 15, 2012 12:49am

    wasserstrom

    12 posts

    I think that’ll do it. Thanks for your help, Shane.

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

ExpressionEngine News!

#eecms, #events, #releases