AW: [wp-testers] Installing WP 2.7 failed

Mario Carlotti m.carlotti at internetmajors.com
Thu Dec 18 14:44:33 GMT 2008


Hi, 
if i only enter 'wp-config.php' it reads the path as follow: ../internetmajors.comwp-config.php

So I tried again with /httpdocs/ and it reads it correctly, but after finishing installation I get the same error again.



-----Ursprüngliche Nachricht-----
Von: wp-testers-bounces at lists.automattic.com [mailto:wp-testers-bounces at lists.automattic.com] Im Auftrag von Kaido Toomingas
Gesendet: Donnerstag, 18. Dezember 2008 15:35
An: wp-testers at lists.automattic.com
Betreff: Re: [wp-testers] Installing WP 2.7 failed

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
_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list