WordPress.org

Ready to get started?Download WordPress

Forums

wp-config.php (2 posts)

  1. zhiqiang
    Member
    Posted 10 years ago #

    I install WordPress from scratch using the version in the CVS. I made a copy of wp-config.php from wp-config.sample.php. However, I found out there is an error in wp-config.php as the installer cannot find the file day-month-trans.php.
    I did the following:
    Open the file wp-config.php and comment out line 42, which is:
    require_once('day-month-trans.php');
    After line 53, which is:
    $abspath = dirname(__FILE__).'/';
    Insert the following:
    require_once($abspath.'/day-month-trans.php');
    The installer completes with no error. However, I am not sure if this fix has other impacts on other files.

  2. Mike Little
    Member
    Posted 10 years ago #

    Hi,
    I would have expected this to work anyway as long as the day-month-trans.php file is in the same directory as wp-config.php... Unless... the current directory '.' is not included in your PHP include path.
    Any way I've made your change and commited it to CVS
    Mike

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.