On 2005-12-13T19:48+0000 Kyle Gordon wrote:
> The file /etc/wordpress/wp-config.php hunts for HTTP_HOST in /etc/wordpress/,
> which in turn gets config-www.sharebear.me.uk.php (for my setup anyway). This
> file, taken from /usr/share/wordpress/wp-config-sample.php, has the following
> code at the end
> define('ABSPATH', dirname(__FILE__).'/');
> require_once(ABSPATH.'wp-settings.php');
> My PHP skills aren't the best, but it would appear that this
> searches /etc/wordpress/ for wp-settings.php, which it can't find. This could
> be due to ABSPATH being set to /etc/wordpress/ instead
> of /usr/share/wordpress/
> So, I've edited config-www.sharebear.me.uk.php to define ABSPATH
> as /usr/share/wordpress/ instead of dirname(__FILE__).'/', and it all works
> perfectly!
I think if you in the first place replaced wp-config.php with
config-www.sharebear.me.uk.php everything would have worked for you.
About wp-settings.php. It *should* be in /usr/share/wordpress/
When I release 1.6 I will test the setup again. Though I (think I) can
see where you tripped up. There is little I can do about it except write
very verbose documentation that will probably be soon outdated by
Debian's new "user friendly" Web application system.
Best wishes,
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]