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.

Blank Pages Upon Installation

May 24, 2012 11:42pm

Subscribe [3]
  • #1 / May 24, 2012 11:42pm

    sedruth

    3 posts

    After finally getting all “yes” responses from the server wizard, I ran the installer and reached the
           
            You are now running the most current version of ExpressionEngine!

    page. I deleted the “installer” folder using FTP, and tried to navigate to the control panel and website. Each gave me a blank page. I searched through the forums for similar topics and changed the “debug” variable to “1” in the index.php file. Navigating to the website gave me these errors:

    Notice: Use of undefined constant ‘ - assumed ‘‘’ in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 14

    Notice: Use of undefined constant system - assumed ‘system’ in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 14

    Warning: Division by zero in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 14

    Notice: Use of undefined constant ‘ - assumed ‘‘’ in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 14

    Warning: Division by zero in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 14
    A PHP Error was encountered

    Severity: Notice

    Message: Use of undefined constant ‘ - assumed ‘‘’

    Filename: config/config.php

    Line Number: 14
    A PHP Error was encountered

    Severity: Notice

    Message: Use of undefined constant system - assumed ‘system’

    Filename: config/config.php

    Line Number: 14
    A PHP Error was encountered

    Severity: Warning

    Message: Division by zero

    Filename: config/config.php

    Line Number: 14
    A PHP Error was encountered

    Severity: Notice

    Message: Use of undefined constant ‘ - assumed ‘‘’

    Filename: config/config.php

    Line Number: 14
    A PHP Error was encountered

    Severity: Warning

    Message: Division by zero

    Filename: config/config.php

    Line Number: 14
    
    Fatal error: Call to undefined method CI_Config::site_prefs() in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/libraries/Core.php on line 134


    I’ve used “system” and “mypage” for simplicity though I have renamed the system folder throughout index.php and admin.php.

    All my listed errors are in line 14 of my config file, which reads:

          $config[‘cp_url’] = $config[‘site_url’] . ‘/system/‘;

    Once I wrote all of the above, I thought “this looks like such an easy fix. Let me try something” and changed line 14 to

        $config[‘cp_url’] = “http://mypage.com/system/index.php;

    and the error is now:
     
        Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/system/expressionengine/config/config.php on line 15

    SO, I’ll just copy my config file here:

    <?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);

    /* ExpressionEngine Configuration
    —————————————————————————————————-*/
    $config[‘app_version’] = “250”;
    $config[‘license_number’] = “2923-6201-2030-2497”;
    $config[‘debug’] = “1”;
    $config[‘install_lock’] = “”;
    $config[‘system_folder’] = “system”;
    $config[‘is_system_on’] = “y”;
    $config[‘allow_extensions’] = “y”;
    $config[‘site_url’] = “http://mypage.com/”;
    $config[‘server_path’] = FCPATH;
    $config[‘cp_url’] = “http://mypage.com/system/index.php;
    $config[‘theme_folder_url’] = $config[‘site_url’].”/themes/”;
    $config[‘theme_folder_path’] = $config[‘server_path’].”/themes/”;
    $config[‘save_tmpl_files’] = “y”;
    $config[‘tmpl_file_basepath’] = $config[‘server_path’].”/templates/”;

    /* End of file config.php */
    /* Location: ./system/expressionengine/config/config.php */


    Sorry if I’ve complicated things more than necessary. Any assistance is GREATLY appreciated. Signed, a young beginner.

  • #2 / May 25, 2012 3:13am

    sedruth

    3 posts

    Well, my only debugging error now is:

    Fatal error: Call to undefined method CI_Config::site_prefs() in /nfs/c08/h02/mnt/148841/domains/mypage.com/html/ExpressionEngine2.5.0_FL/systemrenewed/expressionengine/libraries/Core.php on line 134

    I haven’t changed the core.php file from default & my config.php now looks like:

    <?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);

    /* ExpressionEngine Configuration
    —————————————————————————————————-*/
    $config[‘app_version’] = “250”;
    $config[‘license_number’] = “”;
    $config[‘debug’] = “1”;
    $config[‘install_lock’] = “”;
    $config[‘system_folder’] = “system”;
    $config[‘is_system_on’] = “y”;
    $config[‘allow_extensions’] = “y”;
    $config[‘site_url’] = “http://”.$_SERVER[‘HTTP_HOST’];
    $config[‘server_path’] = FCPATH;
    $config[‘cp_url’] = $config[‘site_url’].“ExpressionEngine2.5.0_FL/admin.php”;
    $config[‘theme_folder_url’] = $config[‘site_url’].”/themes/”;
    $config[‘theme_folder_path’] = $config[‘server_path’].”/themes/”;
    $config[‘save_tmpl_files’] = “y”;
    $config[‘tmpl_file_basepath’] = $config[‘server_path’].”/templates/”;

    /* End of file config.php */
    /* Location: ./system/expressionengine/config/config.php */

    Any help/guidance is greatly appreciated 😊

  • #3 / May 29, 2012 10:51am

    Shane Eckert

    7174 posts

    Hello sedruth,

    First, welcome to the forums! Glad to have you here.

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

    Can you tell me a little about your OS and give me the version numbers of MySQL and PHP?

    You said the Wizard did show green across the board?

    What kind of NFS are you using?

    Cheers,

  • #4 / May 29, 2012 11:37am

    sedruth

    3 posts

    Hi Shane,

    Thanks so much! I’m running Windows 7. I’m hosted with media temple under the grid server. The MySQL is version 5.0.51a and my PHP version is PHP Stable (5.3.10).

    Yes, the wizard did show green across the board. & I used SmartFTP to transfer the files. I hope my config file posted above is close to correct.

  • #5 / May 29, 2012 10:33pm

    sedruth

    3 posts

    Got it all figured out. Thanks 😊

  • #6 / May 30, 2012 4:02pm

    Shane Eckert

    7174 posts

    Hey sedruth,

    I am glad to hear it!

    Do you mind sharing what it was? Very curious.

    Thank you,

  • #7 / Jun 04, 2012 7:46am

    TRA UAE

    7 posts

    Could you please share with us what was the issue and how resolved? I’m facing the same issue.

  • #8 / Jun 05, 2012 4:24pm

    Shane Eckert

    7174 posts

    Hey all,

    Another vote for telling us the solution. You up for it sedruth?

    Thank you,

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

ExpressionEngine News!

#eecms, #events, #releases