Mozilla Firefox (Also Gecko Web Engine, powers multiple browsers), tends to pull pages in pieces from the server while error-checking code, and if it discovers a error, it may decide to download the entire page, render the error into the most readable format then re-download the entire page again, before displaying. This can cause a few issues. 1. PHP statistics counters will show 2 separate page loads for each page load.
2. When transferring page to page, if the error is present on all pages, the layout will flash to default white screen between each page load. Its very annoying for admins like myself with a dark background.I discovered this issue with a some VERY small errors in my CSS Style Sheet. It caused the page to load twice every time. It would see the error half way processing, then re-render the page itself, presumably fixing the error, then re-download, and display. Played circles with my statistics, and white flashes between page changes.
Something good to note: Firefox by default, will load a page twice every time, if it is the first cache of the page. So, if you clear your browser cache, visit the site again, it will load twice that once until the cache is cleared, or overwritten.
Try these:
1. Verify all HTML Color Codes are prepended by # - E.G. "#ffffff" not "ffffff".
2. Verify all CSS Sheet parameters end with ; (Even though it may display properly. It may cause dual page loads.)
3. Verify any font parameters are specifically correct. E.G
Correct Font Code.smalltext {color:#000000; font: bold 1px Verdana;}
Is Not The Same As (No Space Before "Bold"):.smalltext {color:#000000; font:bold 1px Verdana;}
4. One very important issue that causes this. Make sure all CSS Background Image parameters are correct, or not present. Just deleting the image path, without removing the parameter, will cause the error in Firefox. I used to delete the image path, and leave the code for later use. But found this error was caused by that.E.G. (This image path is non-existant, thus Firefox will read it as a error.)
body {background-image:url("");}
An efficient way to error-check all the code, is to use the Firefox built in Error Console, OR, remove pieces of the code in order, until the issue does not present itself, then find the error within the code that causes the dual loading.