/wp-admin/admin-header.php
:$admin_title = get_bloginfo( 'name' );
$admin_title = get_bloginfo( 'name', 'display' );
The default second argument is ‘raw’, but the value retrieved is used to display the title and it does not get translated properly.
This is not very important, but would be nice to get it right?
Thank you.
admin-header.php
from my CPANEL, the path was.. public_html/wp-admin
Where can I get an another copy of the file admin-header.php
so that I can upload it to the same folder again from where it got deleted.
While trying to auto update my 3.1.4 install the update crashed and delivered an “admin-header.php fault on line …..” error message on the domain and admin access.
In trying to gain access I uploaded an old admin-header.php file. All worked again but any plugin update or install gives a “Could not create directory. /wordpress” error.
I did try to find a solution on the forum with various searches, but could not find related discussions. In trying to leverage the differences in the admin-header.php files, I found my knowledge is insufficient to tackle the issue.
What best to do? What is the admin-header.php function in all this, if any?
Help or pointers appreciated.
]]>What am I missing?
Thanks in advance.
]]>Fatal error: Call to undefined function is_network_admin() in /home/primal99/public_html/wp-admin/admin-header.php on line 16
I followed the steps for a manual upgrade and received the same error. Any solutions? A rollback feature would be nice for incidents like this.
]]>The errors on my sites seemed to start with version 3+ but possibly sooner as I was on a hiatus for about 6 months.
https://www.ads-software.com/support/topic/experiencing-random-internal-server-errors-update-wp-29?replies=26#post-1322680
I’ve been having a significant number of errors lately while doing routine WP admin tasks, and I have tried so many things that I’m willing to follow any lead I can find that might help me resolve my issues.
Is this something that is done purposely? I added a ?> at the end of the admin-header.php file just in case but I would prefer to know if I’ve done something that might introduce more errors or security issues.
I won’t know if the constant 404 errors / 500 internal server errors have been corrected until I work with the site again, but I would appreciate anyone telling me how I can find out if this is important. (Since I did edit my admin-header.php file on 2 sites as a test of sorts, and I might need to change it back…)
]]>I am now getting a number of errors, but the fatal error that crashes my admin site is at the bottom:
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3237
Notice: get_bloginfo was called with an argument that is deprecated since version 2.2! The home option is deprecated for the family of bloginfo() functions. Use the url option instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'remove_post_custom_fields' was given in /home/entechce/public_html/wptest/wp-includes/plugin.php on line 395
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/entechce/public_html/wptest/wp-includes/functions.php on line 3321
Warning: require_once(./admin-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/entechce/public_html/wptest/wp-admin/index.php on line 45
Fatal error: require_once() [function.require]: Failed opening required './admin-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/entechce/public_html/wptest/wp-admin/index.php on line 45.
I think it has something to do with relative paths, but i’m not exactly sure how to resolve it. The wp-admin site is what is broken, because the main site works, just has a bunch of warnings to display.
Has anyone run into this problem? Or does anyone have any ideas? Thank you very much!
]]>I have no idea how to fix this. I FTPed into my account and looked in the wp-admin dir and saw that the file in question is in that dir.
Warning: main(/home/content/*/*/*/*/html/wp-admin/options-head.php): failed to open stream: No such file or directory in /home/content/*/*/*/*/html/wp-admin/admin-header.php on line 52
Warning: main(/home/content/*/*/*/*/html/wp-admin/options-head.php): failed to open stream: No such file or directory in /home/content/*/*/*/*/html/wp-admin/admin-header.php on line 52
Fatal error: main(): Failed opening required '/home/content/*/*/*/*/html/wp-admin/options-head.php' (include_path='.:/usr/local/lib/php') in /home/content/*/*/*/*/html/wp-admin/admin-header.php on line 52
]]>