Title: 1.5 Admin Problems
Last modified: August 18, 2016

---

# 1.5 Admin Problems

 *  [shanest](https://wordpress.org/support/users/shanest/)
 * (@shanest)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/)
 * 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)

 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126179)
 * Check for unwanted spaces and blank lines at the beginning and the end of wp-
   config.php
 * Have you set the permissions for the files you want to be able to edit to 777?
 *  Thread Starter [shanest](https://wordpress.org/support/users/shanest/)
 * (@shanest)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126182)
 * Yes to both
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126184)
 * That file may have been uploaded in Binary instead of ASCII form. Delete all 
   the files in /wp-admin and reupload them.
 *  Thread Starter [shanest](https://wordpress.org/support/users/shanest/)
 * (@shanest)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126292)
 * Thanks that worked and I appreciate all the help you given me, I’m pretty new
   to WordPress.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126294)
 * Welcome 🙂

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/15-admin-problems/#post-126294)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
