• Resolved Griff

    (@onii-chan)


    Hello! ??

    I am having an issue that I’ve never encountered before. I set up a fresh install of WordPress today, and tried making a menu.

    If I try to add a page to the menu, I get a php error saying:

    Fatal error: require_once() [function.require]: Failed opening required '/path-to-the-file/wp-admin/includes/ajax-actions.php' (include_path='.:/usr/local/php5_3/lib/php') in /path-to-the-file/wp-admin/admin-ajax.php on line 33

    I thought perhaps something weird happened, like maybe the admin-ajax.php file corrupted when uploading it or something. So I created a new database, uploaded a fresh copy of WordPress, and I’m still having the same issue.

    No plugins are activated, my theme is the default Twenty Fourteen, I’m running 3.8.1, and no tweaks have been made.

    Also, I have other WordPress websites running on my server (which is from GoDaddy) without this issue.

    Any idea what could be the problem?

    Thanks! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • What server are you running? XAMPP? WAMP?

    I can see its a localhost installation, which may have something to do with it. I’m not sure what is needed to create menu items, but maybe something like rewrite module is inactive on your server settings.

    Thread Starter Griff

    (@onii-chan)

    Thanks for replying. As far as I know, it’s an Apache server

    hmm, should be alright then. Very strange that right out of the box its throwing errors. Is the site URL in your settings set to https://localhost ?

    Thread Starter Griff

    (@onii-chan)

    Thanks once more for sticking with me on this. ??

    I managed to resolve the issue by reinstalling WordPress via the WordPress installation itself. (Dashboard > Updates > Re-install now).

    I have no idea why this error occurred…maybe it has something to do with my FTP client (Filezilla)…regardless, if anyone in the future runs into this problem, hopefully reinstalling from the Updates page will help. ??

    Of course onii-chan! I’m glad you were able to resolve the issue!

    Happy Coding!

    I too have just had this problem, again using FileZilla to do the upload. A Re-install is not required – the issue seems to be
    \wp-admin\includes\ajax-actions.php does not get copied first off.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu Issue – Error in admin-ajax.php on line 33’ is closed to new replies.