Support » Fixing WordPress » wp-config.php

  • zhiqiang

    (@zhiqiang)


    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.

Viewing 1 replies (of 1 total)
  • Mike Little

    (@mikelittle)

    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

Viewing 1 replies (of 1 total)
  • The topic ‘wp-config.php’ is closed to new replies.