[wp-testers] Installing WP 2.7 failed
Kaido Toomingas
toomingas.k at gmail.com
Thu Dec 18 14:35:10 GMT 2008
I think maybe you should take off this /httpdocs/ and it should work. Try
this ..
if ( file_exists( DOCUMENT_ROOT . 'wp-config.php') ) {
/** The config file resides in ABSPATH */
require_once( DOCUMENT_ROOT . 'wp-config.php' );
} elseif ( file_exists( dirname(DOCUMENT_ROOT) . 'wp-config.php' )
) {
/** The config file resides one level below DOCUMENT_ROOT */
require_once( dirname(DOCUMENT_ROOT) . 'wp-config.php' );
---
---
if ( file_exists( DOCUMENT_ROOT . 'wp-config.php') ) {
/** The config file resides in ABSPATH */
require_once( DOCUMENT_ROOT . 'wp-config.php' );
} elseif ( file_exists( dirname(DOCUMENT_ROOT) . 'wp-config.php' ) ) {
/** The config file resides one level below DOCUMENT_ROOT */
require_once( dirname(DOCUMENT_ROOT) . 'wp-config.php' );
---
(same with ABSPATH)
2008/12/18 Mario Carlotti <m.carlotti at internetmajors.com>
> Hi there,
> I've tried to install the new wp v2.7 but all I've tried seems to fail.
>
> Even I start the installation to create a config file, wp reads my absolute
> paths wrong.
> They're like ../internetmajors.com/httpdocs and wp try to allocate
> wp-config
> in ../internetmajors.com/
>
> So I editet wp-load to
>
> ---
> if ( file_exists( DOCUMENT_ROOT . '/httpdocs/wp-config.php') ) {
>
> /** The config file resides in ABSPATH */
> require_once( DOCUMENT_ROOT . '/httpdocs/wp-config.php' );
>
> } elseif ( file_exists( dirname(DOCUMENT_ROOT) . '/httpdocs/wp-config.php'
> )
> ) {
>
> /** The config file resides one level below DOCUMENT_ROOT */
> require_once( dirname(DOCUMENT_ROOT) . '/httpdocs/wp-config.php' );
> ---
>
> ---
> if ( file_exists( DOCUMENT_ROOT . '/wp-config.php') ) {
>
> /** The config file resides in ABSPATH */
> require_once( DOCUMENT_ROOT . '/wp-config.php' );
>
> } elseif ( file_exists( dirname(DOCUMENT_ROOT) . '/wp-config.php' ) ) {
>
> /** The config file resides one level below DOCUMENT_ROOT */
> require_once( dirname(DOCUMENT_ROOT) . '/wp-config.php' );
> ---
>
> (same with ABSPATH)
>
> So I created a config file and copied into httpdocs, and the installation
> can be started. But after finishing it, I always get a 'Connection failed'
> error, like a server is down.
>
> Someone know how to change the absolute paths? WP v2.6 works.
>
> Greetings,
> Mario Carlotti
> CEO internetmajors.com
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
--
Lugupidamisega, Kaido Toomingas
More information about the wp-testers
mailing list