cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox asks to download like.php from sites with Facebook social button

SOLVED
Highlighted
New User

Firefox asks to download like.php from sites with Facebook social button

So, I don't know if this is a problem with one site or Facebook in general, but everytime I access this site, a download window for "like.php" appears four times in a row. I've seen the same problems in this forums when I searched for it, but none of them provided a final answer. By the way, I formated my PC some weeks ago and the problem happened before it, so it can't be cache, history or something like that.

This may be about "Do Not Track" and/or other privacy extensions that I use. If it's not possible a solution now, could anyone explain why this happens? Is it because of the site, Facebook, Firefox, settings or extensions?

1 ACCEPTED SOLUTION

Accepted Solutions
Regular User

Re: Firefox asks to download like.php from sites with Facebook social button

Try anyway to clear cookies and/or reset Firefox, and if that doesn't work try to do the same thing on IE and on Firefox Portable.

6 REPLIES
Regular User

Re: Firefox asks to download like.php from sites with Facebook social button

That should be an issue on the server. Firefox should not ask you to download a PHP file. Instead it should ask you to download a HTML equivalent.

Try this: get the PHP file and open it. If you don't find < ?php in the file it means it's an issue on Firefox and you may want to clear your cookies.

Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache. Note: This will temporarily log you out of all sites you're logged in to. To clear cache and cookies do the following:


  1. Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
  2. Under "Time range to clear", select "Everything".
  3. Now, click the arrow next to Details to toggle the Details list active.
  4. From the details list, check Cache and Cookies and uncheck everything else.
  5. Now click the Clear now button.

Further information can be found in the Clear your cache, history and other personal information in Firefox article.

If this doesn't work, maybe you'd need to reset Firefox.

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.


Further information can be found in the Refresh Firefox - reset add-ons and settings article.

If this doesn't work too or you found < ?php then the issue may be on the server, which doesn't process CGI commands for the mimetype. That's an issue on Facebook and should be fixed soon.

Did this fix your problems? Please report back to us!

New User

Re: Firefox asks to download like.php from sites with Facebook social button

I can't download it, says it could not be read!

Regular User

Re: Firefox asks to download like.php from sites with Facebook social button

Try anyway to clear cookies and/or reset Firefox, and if that doesn't work try to do the same thing on IE and on Firefox Portable.

New User

Re: Firefox asks to download like.php from sites with Facebook social button

Well, it did work on Firefox Portable. Maybe is one of the extensions. Thanks!

Regular User

Re: Firefox asks to download like.php from sites with Facebook social button

Then reset Firefox.

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.


Further information can be found in the Refresh Firefox - reset add-ons and settings article.

Did this fix your problems? Please report back to us!

Support Forum Moderator

Re: Firefox asks to download like.php from sites with Facebook social button

If you close Firefox, then start Firefox in Safe Mode, does the problem still occur? To start in Safe Mode, go to Help > Restart with Add-ons Disabled.

If the problem does not occur in Safe Mode, then you can disable your extensions one-by-one until you find out which one is causing the problem. See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.

My money is on Social Fixer. Smiley Happy