• I just put 1.5 on my server from 1.3, and the following is showing up on my admin panel:

    the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.’)); case 2: die (__(‘Sorry, can’t call files with their real path.’)); case 3: die (__(‘Sorry, that file cannot be edited.’)); } } function get_home_path() { $home = get_settings(‘home’); if ( $home != ” && $home != get_settings(‘siteurl’) ) { $home_path = parse_url($home); $home_path = $home_root[‘path’]; $root = str_replace($_SERVER[“PHP_SELF”], ”, $_SERVER[“SCRIPT_FILENAME”]); $home_path = $root . $home_path . “/”; } else { $home_path = ABSPATH; } return $home_path; } function get_real_file_to_edit($file) { if (‘index.php’ == $file || ‘.htaccess’ == $file) { $real_file = get_home_path() . $file; } else { $real_file = ABSPATH . $file; } return $real_file; } $wp_file_descriptions = array( ‘index.php’ => __(‘Main Template’), ‘wp-layout.css’ => __(‘Stylesheet’), ‘style.css’ => __(‘Stylesheet’), ‘wp-comments.php’ => __(‘Comments Template’), ‘comments.php’ => __(‘Comments Template’), ‘wp-comments-popup.php’ => __(‘Popup Comments Template’), ‘comments-popup.php’ => __(‘Popup Comments Template’), ‘wp-footer.php’ => __(‘Footer Template’), ‘footer.php’ => __(‘Footer Template’), ‘wp-header.php’ => __(‘Header Template’), ‘header.php’ => __(‘Header Template’), ‘wp-sidebar.php’ => __(‘Sidebar Template’), ‘sidebar.php’ => __(‘Sidebar Template’), ‘archive.php’ => __(‘Archive Template’), ‘category.php’ => __(‘Category Template’), ‘page.php’ => __(‘Page Template’), ‘search.php’ => __(‘Search Template’), ‘single.php’ => __(‘Post Template’), ‘404.php’ => __(‘404 Template’), ‘my-hacks.php’ => __(‘my-hacks.php (legacy hacks support)’), ‘.htaccess’ => __(‘.htaccess (for rewrite rules)’) ); function get_file_description($file) { global $wp_file_descriptions; if (isset($wp_file_descriptions[$file])) { return $wp_file_descriptions[$file]; } return $file; } function update_recently_edited($file) { $oldfiles = (array) get_option(‘recently_edited’); if ($oldfiles) { $oldfiles = array_reverse($oldfiles); $oldfiles[] = $file; $oldfiles = array_reverse($oldfiles); $oldfiles = array_unique($oldfiles); if ( 5 < count($oldfiles) ) array_pop($oldfiles); } else { $oldfiles[] = $file; } update_option(‘recently_edited’, $oldfiles); } function get_plugin_data($plugin_file) { $plugin_data = implode(”, file($plugin_file)); preg_match(“|Plugin Name:(.*)|i”, $plugin_data, $plugin_name); preg_match(“|Plugin URI:(.*)|i”, $plugin_data, $plugin_uri); preg_match(“|Description:(.*)|i”, $plugin_data, $description); preg_match(“|Author:(.*)|i”, $plugin_data, $author_name); preg_match(“|Author URI:(.*)|i”, $plugin_data, $author_uri); if ( preg_match(“|Version:(.*)|i”, $plugin_data, $version) ) $version = $version[1]; else $version =”; $description = wptexturize($description[1]); $name = $plugin_name[1]; $name = trim($name); $plugin = $name; if (” != $plugin_uri[1] && ” != $name) { $plugin = __(“{$plugin}”); } if (” == $author_uri[1]) { $author = $author_name[1]; } else { $author = __(“{$author_name[1]}”); } return array(‘Name’ => $name, ‘Title’ => $plugin, ‘Description’ => $description, ‘Author’ => $author, ‘Version’ => $version, ‘Template’ => $template[1]); } function get_plugins() { global $wp_plugins; if (isset($wp_plugins)) { return $wp_plugins; } $wp_plugins = array(); $plugin_loc = ‘wp-content/plugins’; $plugin_root = ABSPATH . $plugin_loc; // Files in wp-content/plugins directory $plugins_dir = @ dir($plugin_root); if ($plugins_dir) { while(($file = $plugins_dir->read()) !== false) { if ( preg_match(‘|^\.+$|’, $file) ) continue; if (is_dir($plugin_root . ‘/’ . $file)) { $plugins_subdir = @ dir($plugin_root . ‘/’ . $file); if ($plugins_subdir) { while(($subfile = $plugins_subdir->read()) !== false) { if ( preg_match(‘|^\.+$|’, $subfile) ) continue; if ( preg_match(‘|\.php$|’, $subfile) ) $plugin_files[] = “$file/$subfile”; } } } else { if ( preg_match(‘|\.php$|’, $file) ) $plugin_files[] = $file; } } } if (!$plugins_dir || !$plugin_files) { return $wp_plugins; } sort($plugin_files); foreach($plugin_files as $plugin_file) { $plugin_data = get_plugin_data(“$plugin_root/$plugin_file”); if (empty($plugin_data[‘Name’])) { continue; } $wp_plugins[plugin_basename($plugin_file)] = $plugin_data; } return $wp_plugins; } ?>
    Warning: Cannot modify header information – headers already sent by (output started at /home/shanest/public_html/wp-admin/admin-functions.php:833) in /home/shanest/public_html/wp-admin/admin.php on line 7

    Warning: Cannot modify header information – headers already sent by (output started at /home/shanest/public_html/wp-admin/admin-functions.php:833) in /home/shanest/public_html/wp-admin/admin.php on line 8

    Warning: Cannot modify header information – headers already sent by (output started at /home/shanest/public_html/wp-admin/admin-functions.php:833) in /home/shanest/public_html/wp-admin/admin.php on line 9

    Warning: Cannot modify header information – headers already sent by (output started at /home/shanest/public_html/wp-admin/admin-functions.php:833) in /home/shanest/public_html/wp-admin/admin.php on line 10

    Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘1.5 Admin Problems’ is closed to new replies.