[wp-trac] Re: [WordPress Trac] #7221: PHP notice "WP_CONTENT_DIR
undefined" occurs when creating wp-config.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 2 05:19:05 GMT 2008
#7221: PHP notice "WP_CONTENT_DIR undefined" occurs when creating wp-config.php
--------------------------+-------------------------------------------------
Reporter: lilyfan | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.6
Component: General | Version: 2.6
Severity: normal | Resolution:
Keywords: setup-config |
--------------------------+-------------------------------------------------
Comment (by DD32):
> To solve the problem: change line 1988 of wp-includes/fuctions.php
below: if(defined('WP_CONTENT_DIR') && file_exists( WP_CONTENT_DIR .
'/db.php' ) )
Only problem with that, Is that to install, it means the user *must* use
mysql/default database.
A better solution would be for the install script to define the new
definitions at a best-guess i think.
--
Ticket URL: <http://trac.wordpress.org/ticket/7221#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list