include errors with nighly 2004-08-10
-
in wp-setting.php the following lines cause include errors in the latest nightly:
errors:
Warning: main(d:\apache group\apache\htdocs\wordpress/wp-content/plugins/): failed to open stream: Permission denied in d:\apache group\apache\htdocs\wordpress\wp-settings.php on line 87
Warning: main(): Failed opening 'd:\apache group\apache\htdocs\wordpress/wp-content/plugins/' for inclusion (include_path='d:\php\pear') in d:\apache group\apache\htdocs\wordpress\wp-settings.php on line 87
current code lines 83-87:
if ( get_settings('active_plugins') ) {
$current_plugins = get_settings('active_plugins');
foreach ($current_plugins as $plugin) {
if (file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
include(ABSPATH . 'wp-content/plugins/' . $plugin);
vs. nightly 08-04 where it works on a WAMP System (localhost) with Pear installed.
if (!strstr($_SERVER['PHP_SELF'], 'wp-admin/plugins.php') && get_settings('active_plugins')) {
$current_plugins = explode("\n", (get_settings('active_plugins')));
foreach ($current_plugins as $plugin) {
if (file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
include(ABSPATH . 'wp-content/plugins/' . $plugin);
HTH
ai
- The topic ‘include errors with nighly 2004-08-10’ is closed to new replies.