• I seem to have a really weird problem in my dashboard. When I click on a link to go to a place in the dashboard it will just keep loading untill finally, instead if going where I want, it will bring up a download dialog for a file.

    For example…
    If I click to logout it may sit for while, and then bring up a download dialog for wp-login.php

    If I try to apply a new theme it will sit and load for awhile, and then bring up a download dialog for themes.php

    I know this blog works, because I had it working. I have also had other wordpress blogs do this soon after install, and eventually it seemed to go away.

    What could be going wrong here, and why on earth is it making me download these files, and the sometimes not even executing the link I clicked on???

Viewing 4 replies - 16 through 19 (of 19 total)
  • I had this problem after moving some directories around on the Apache server, changing URLs, and reconfiguring WordPress by editing the database directly… not reinstalling.

    Anyway, I fixed it by deleting all my cookies in Firefox. I suppose I could have gone in and only deleted the WordPress cookies, but whatever. Hope this helps.

    Kyle Health

    I was having this problem with all instances of “post.php” (i.e. creating a new post or editing old ones). Our web host finally figured out that our apache server wasn’t parsing php files correctly and they did some magic on their end that solved the problem.

    I would talk to your web host if you are having similar problems.

    You’ll have to update the memory_limit in your php.ini file. I’ve explained it on my site here.

    https://www.jarrodgoddard.com/web-development/wordpress-prompting-to-download-files-instead-of-displaying-them

    Your memory_limit is too small, I updated mine to 25M and it worked fine. To determine this was the problem, I checked my error logs and saw that the memory was exhausted and I had to update the memory_limit in my php.ini.

    Hmmm. Someone ever considered subdirectories and file rights or redirects (mis)configured on the server?
    I have this on all wp files, but not on a simple phpinfo() run on a new server I’m working. The phpinfo() command should show someone who knows Apache info about what’s wrong, but unfortunately not me ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘WordPress files download when I click links’ is closed to new replies.