Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7659861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:23:19+00:00 2026-05-31T13:23:19+00:00

I m facing very weird problem in wordpress wp-admin. I was trying to upload

  • 0

I m facing very weird problem in wordpress wp-admin. I was trying to upload image to the post and i encountered a problem. I turned on firebug and saw http://www.mysite.com/wp-admin/media-upload.php?post_id=36671 is not found (404 error),
Addtionally,
http://www.mysite.com/wp-admin/ajax-admin.php is not found as well [in firebug]

actually the file DOES EXIST in the right folder in the server. I then edited this file put following lines at top of the page

echo "Hello World";
exit;

Now the file is found. Can anybody suggest a solution? My wordpress version is 3.3.1

THE ISSUE CREATOR.

The problem creator line was do_action(‘admin_init’);
i commented line do_action(‘admin_init’); in admin.php now everything works except that ADMIN design is messed up.
Any Help will be appreciated.

EDIT :
I turned on WP_DEBUG, And i just see Notices, 500s of them, I don’t see any other warnings or errors.

Thanks
Sabin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:23:19+00:00Added an answer on May 31, 2026 at 1:23 pm

    I fixed this problem doing following stuffs.

    I commented
    do_action(‘admin_init’); on admin.php in wp-admin folder.

    This messed up the admin design, then I added following lines in my theme’s functions.php

    function itg_admin_css_all_page() {
    
    wp_register_style($handle = 'itg-admin-css-all', $src = "/wp-admin/css/colors-classic.css", $deps = array(), $ver = '1.0.0', $media = 'all');
    
    wp_enqueue_style('itg-admin-css-all');
    }
    add_action('admin_print_styles', 'itg_admin_css_all_page');
    

    And this solved the problem temporarily.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am facing a very weird problem: I am using mailer.py as post-commit hooks
In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I
ohk i am facing this very weird problem . i have a cloud server
Im facing a very annoying problem in PHP when Im trying to watermark the
I am facing very weird problem, i made an web application for my client,
I'm facing a very weird problem. This is map.h: #define MAP_WIDTH 256 #define MAP_HEIGHT
I'm facing a very weird kind of problem while running my application. When I
I am facing this very weird problem, I have created a custom UITableViewCell on
I am using MAMP and codeigniter framework. Am facing a very weird problem. There
I am facing very strange problem. After debugging from my side, I thought to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.