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.

unable to install EE2 blank white page

January 21, 2011 8:38pm

Subscribe [3]
  • #1 / Jan 21, 2011 8:38pm

    changeup

    1 posts

    I am unable to install a fresh version of EE2
    when i direct my browser to the systems folder to install i am greeted with a blank white screen. after turning error reporting on in the index.php i recieve the following error

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /nfs/c04/h03/mnt/66433/domains/ee.changeupmag.com/html/syschangeup2011/installer/core/Installer_Config.php on line 45

    i dont know php but when i look at the installer_config.php file it seems like its missing a “}” on line 41 to close the funtion started on line 35

    35 class Installer_Config Extends EE_Config {
    36
    37 var $config_path = ''; // Set in the constructor below
    38 var $database_path = ''; // Set in the constructor below
    39 var $default_ini = array();
    40 var $exceptions = array(); // path.php exceptions
    41
    42 /**
    43 * Constructor
    44 */
    45 public function __construct()
    46 {
    47 parent::__construct();
    48
    49 $this->config_path = EE_APPPATH.'/config/config'.EXT;
    50 $this->database_path = EE_APPPATH.'/config/database'.EXT;
    51
    52 $this->_initialize();
    53 }

    ive run the server test wizard and had a full green light to install. so im not really sure whats going on here.
    any help would be appreciated

    thanks

    john

  • #2 / Jan 21, 2011 9:14pm

    narration

    773 posts

    John, you might want to take a careful look at what the Server Wizard is telling you.

    This error has come before, from running on a PHP4 installation instead of PHP5, as now required by EE as you are installing it.

    Unfortunately the present Server Wizard just mentions the version without flagging it as insufficient - this bug has been reported.

    Your hosting can likely give you a config change or server move to get you on PHP 5.1.6 or later, and then this error should not appear.

    The error itself is because PHP4 doesn’t support this kind of constructor, so that the Installer is exiting before it has begun to work.

    Regards, and good fortune with it,
    Clive

  • #3 / Jan 21, 2011 9:46pm

    Lisa Wess

    20502 posts

    A new download of the server wizard should give you an accurate reading, since this bug is actually resolved.  Thanks for stepping in with the explanation of what’s happening there, Clive!

  • #4 / Jan 22, 2011 12:55am

    changeup

    1 posts

    thanks a million clive!

    even though my php defaults were set to php5
    for some reason it reverted back to php4

    too bad it only took half a day to figure it out 😛

    thanks for your help
    much appreciated

  • #5 / Jan 22, 2011 1:27am

    narration

    773 posts

    It happens, it happens 😉

    Most welcome, and glad you are up, John.

    Regards,
    Clive

  • #6 / Jan 23, 2011 4:58pm

    Greg Salt

    3988 posts

    Hi John,

    Glad that you got this issue sorted out. Please post back if required.

    Cheers

    Greg

    @Clive, thanks very much.

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

ExpressionEngine News!

#eecms, #events, #releases