Forums

Getting 404 errors when trying to do some Admin Task (16 posts)

  1. crazysteve5575
    Member
    Posted 6 months ago #

    Hello all.

    I have Recently Upgraded My WordPress Install to 3.2.1

    I am having an issue, where if i try to do some actions in the dashboard i get a 404 page can not be found error.

    The first time i noticed it was while inserting photos into my post, i clicked on the gallery tab.

    I disabled all my plugins, and changed my theme to the Default theme.

    I then got the error while trying to delete a plugin. The only thing i have noticed, while doing the actions, it seems to strip my domain out. The address bar shows "http://wp-admin/plugins.php?action=delete-selected&checked[0]=hello.php&plugin_status=inactive&paged=1&s&_wpnonce=7dbcb5b883"

    when clearly it should have my domain name http://www.thecrazysteve.com between the http:// and the /wp-admin/

    I can still log into the dashboard and navigate around without problems.

    i did try reinstalling the 3.2.1 update just to see if that would fix it, but it did not.

    any suggestions would be great.

  2. keesiemeijer
    moderator
    Posted 6 months ago #

    Try:
    - updating your permalinks by choosing the default permalink structure or re-saving your current structure at Settings > Permalinks in your admin panel. WordPress will rebuild the .htaccess file. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    - Do a manual upgrade by using FTP or whatever file management application your host provides.

  3. crazysteve5575
    Member
    Posted 6 months ago #

    changed the Permalink Structure, no error, but did not help.

    Followed the guide for manual upgrade. this did not help either.

  4. keesiemeijer
    moderator
    Posted 6 months ago #

    Try putting WordPress in debug mode: http://codex.wordpress.org/Editing_wp-config.php#Debug . And See what errors are displayed.

    Check if the permissions are correct on files and folders: http://codex.wordpress.org/Changing_File_Permissions

    try:
    - renaming or deleting the .htaccess file by using FTP or whatever file management application your host provides. If you delete it make a backup first.

    Are you using any cache plugins?

  5. crazysteve5575
    Member
    Posted 6 months ago #

    ok i turned on debugging, and right on the main page of the dashboard i see this

    Warning: include(/homepages/7/d373872834/htdocs/thecrazysteve/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /homepages/7/d373872834/htdocs/thecrazysteve/wp-settings.php on line 62
    
    Warning: include() [function.include]: Failed opening '/homepages/7/d373872834/htdocs/thecrazysteve/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/7/d373872834/htdocs/thecrazysteve/wp-settings.php on line 62

    To my knowledge ive not used caching. im not familiar with what this is. Is cashing built into wordpress?

    I looked and i dont have advanced-cache.php in that folder.

  6. keesiemeijer
    moderator
    Posted 6 months ago #

    From the Warnings I think you have a cache plugin activated (wp-content/advanced-cache.php). Look under Plugins > Installed Plugins and try to deactivate it.

  7. crazysteve5575
    Member
    Posted 6 months ago #

    Help
    Screen Options

    Plugins

    All (12) |
    Inactive (12) |
    Recently Active (7)

    I dont have any cache plugins installed, and i dont have any plugins activated.

  8. keesiemeijer
    moderator
    Posted 6 months ago #

    If you still have the same warnings try:

    - changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Change it back to 755 if this solves the problem.

    http://codex.wordpress.org/Changing_File_Permissions

  9. crazysteve5575
    Member
    Posted 6 months ago #

    That did not work either. It may be related to this http://wordpress.org/extend/plugins/wp-super-cache/faq/

    ill dig through and check it out. I vaguely remember installing this a long time ago. Im not really sure why the references are there. or why this is all of a sudden an issue.

  10. keesiemeijer
    moderator
    Posted 6 months ago #

  11. crazysteve5575
    Member
    Posted 6 months ago #

    Ok i followed those instructions, and i deleted the rogue entrys for this plugin.

    I no longer get cache errors, but i am still getting the 404 errors.

    The thing that is weird is it seams like certain pages open up, completely missing the domain name.

  12. crazysteve5575
    Member
    Posted 6 months ago #

    i have 2 blogs, i went to delete a plugin on both. Looking at the source of that page.

    the site that's not working has an extra "/"
    Broken Site
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="7dbcb5b883" /><input type="hidden" name="_wp_http_referer" value="//wp-admin/plugins.php?action=delete-selected&checked%5B0%5D=hello.php&plugin_status=inactive&paged=1&s&_wpnonce=7dbcb5b883" /> <input type="submit" name="submit" id="submit" class="button" value="Yes, Delete these files" />
    Working Site
    <input type="hidden" name="_wp_http_referer" value="/wp-admin/plugins.php?action=delete-selected&checked%5B0%5D=wordbook%2Fwordbook.php&plugin_status=inactive&paged=1&s&_wpnonce=302407f8fa" /> <input type="submit" name="submit" id="submit" class="button" value="Yes, Delete these files" />

    Where would that extra "/" come from before /wp-admin/ and how can i get rid of it?

    i also notice the extra "/" when im in the dashboard.

  13. keesiemeijer
    moderator
    Posted 6 months ago #

    Look under Settings > General if the "WordPress address (URL)" or the "Site address (URL)" have a trailing slash.

  14. crazysteve5575
    Member
    Posted 6 months ago #

    it does, but its grayed out, and i cant change it.

  15. keesiemeijer
    moderator
    Posted 6 months ago #

    Look in your wp-config.php for these lines:

    define('WP_HOME','http://www.thecrazysteve.com/');
    define('WP_SITEURL','http://www.thecrazysteve.com/');

    Change them to without a trailing slash or remove these lines from your wp-config.php and change the urls under Settings > General.

  16. crazysteve5575
    Member
    Posted 6 months ago #

    That was the ticket!

    Thanks for your help i removed the / at the end of both of those lines and it seems to be working fine now

Reply

You must log in to post.

About this Topic

Tags

No tags yet.