[wp-trac] [WordPress Trac] #44020: WordPress Installation Error
WordPress Trac
noreply at wordpress.org
Fri Jun 29 21:26:15 UTC 2018
#44020: WordPress Installation Error
---------------------------------------------+-----------------------------
Reporter: Benjamin_Zekavica | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: needs-testing reporter-feedback | Focuses:
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: needs-testing => needs-testing reporter-feedback
Comment:
Hi @Benjamin_Zekavica, welcome to WordPress Trac! Thanks for the report.
In #44480 you mention creating a `wp-config.php` file. Does the issue
happen with the file you've created manually, or with the file created by
the WordPress installer?
I can only reproduce the error if I create a file without the necessary
lines at the end, see [source:tags/4.9.6/wp-config-
sample.php?marks=84-89#L84 wp-config-sample.php]:
{{{
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname( __FILE__ ) . '/' );
}
/** Sets up WordPress vars and included files. */
require_once( ABSPATH . 'wp-settings.php' );
}}}
Could you make sure these lines are present in your `wp-config.php` file?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44020#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list