Forums

WP Dashboard major crash (5 posts)

  1. mangomangomango
    Member
    Posted 3 years ago #

    Well I had just gotten along on my new site (and really enjoyed using wp so far) when I received this crash that's left me helpless.

    When I try to go to my dashboard, instead of loading the page, my browser asks me to download it in the "opening index.php" (choose application to open with, or download to disk) way.
    I had this same problem with a certain article on my site yesterday, but to resolve that I just deleted and replaced that article.
    The problem occurs in Firefox, IE, Safari and all other browsers: it's global!

    The first problem was caused when I edited my .htaccess to include the lines:
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    I had to do this because my brilliant host 1&1 sets up all accounts with php4 instead of 5 and I needed php5 for some plugins.
    This dashboard problem occurred after no changes to the codes since the .htaccess.

    If someone could explain to me why this is happening and how I could fix it, I would be very grateful.

    Thanks

  2. iridiax
    Member
    Posted 3 years ago #

    As a test, disable the affected plugins and try removing your additions from the .htaccess file. Does the problem still occur?

    When your browser gets files to download that should not normally be downloads (.php, .asp), it is generally due to a server misconfiguration. I would switch to a host with php5 since you need it.

  3. Otto
    Tech Ninja
    Posted 3 years ago #

    Yeah, it sounds like the lines they gave you to enable PHP 5 are incorrect.

  4. mangomangomango
    Member
    Posted 3 years ago #

    hmm...thanks for the response.

    iridiax: yeah I did try going back to the original settings without the plugin, but the problem persists. It does seem like a config problem, but I have no idea how to fix it now that I can't even log into the dashboard. I am going to try and switch to another server soon, but I have to stick to this one for at least another 2 months for several reasons.

    Otto42: What lines would I put in otherwise? I put those in after searching the web because I was getting some MCBS warnings. The plugin is working correctly now btw.

  5. mangomangomango
    Member
    Posted 3 years ago #

    well this is going to make me sound silly but I just tried to log into MYURL/wp-admin/ instead of MYURL/wp-admin/index.php which was the link that I had bookmarked and it worked!

    But this still does not explain why my browsers would make me download the dashboard in the latter link. Especially because I have used that same bookmark to log in for the past month. And now it's screwed up all of a sudden.

Topic Closed

This topic has been closed to new replies.

About this Topic