Package: wordpress Version: 2.5.1-11+lenny2 Tags: patch Currently, the ABSPATH variable in wp-config-sample.php uses the patch of the directory where this file is placed (it uses dirname function). When this sample file is used to create /etc/wordpress/config-$HOSTNAME.php, ABSPATH uses /etc/wordpress as path instead of /usr/share/wordpress, causing Internal Server Error (500 error). Modifying ABSPATH to /usr/share/wordpress (patch file atached) improves the sample file when it's used to create blogs.
Best regards, Antonio Edison Vieira Júnior Pastoral da Criança
--- /usr/share/wordpress/wp-config-sample.php 2008-04-24 14:30:57.000000000 -0300 +++ /usr/share/wordpress/wp-config-sample-new.php 2010-06-17 10:26:10.786806836 -0300 @@ -23,6 +23,7 @@ /* That's all, stop editing! Happy blogging. */ -define('ABSPATH', dirname(__FILE__).'/'); +//define('ABSPATH', dirname(__FILE__).'/'); +define('ABSPATH', '/usr/share/wordpress/'); require_once(ABSPATH.'wp-settings.php'); ?>