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: [email protected] [mailto:[email protected]] Im Auftrag von Kaido Toomingas Gesendet: Donnerstag, 18. Dezember 2008 15:35 An: [email protected] 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 <[email protected]> > 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 > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > -- Lugupidamisega, Kaido Toomingas _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
