your Firefox has been hijacked by malware.
First of all, see if you have any 3rd party search toolbar add-ons installed, Firefox Tools > Add-ons, and disable and any 3rd party toolbars. Whilst you are there, search through the remaining toolbars for anything that looks suspicious. Restart Firefox and try again.
If that doesn't solve it, download, install, run, update, then perform a full scan with the free version of Malwarebytes' Antimalware.
Reboot the computer and test again. if that fails, do the same with the free version of SUPERAntispyware.
I have a problem with firefox searching google everytime i search in the toolbar at the side of the address bar i just get an error 302 Moved The document has moved here. but when i click on here it just brings the same page up. and when i load the google website and search something in that i have to click cached to bring the websites up as directly clicking on them doesnt work and just brings me to loads of *!@:ty advertising sites. Also when i type something in the address bar ie. play it doesnt come up with the play.com website anymore it just comes up with that same 302 moved error all the time. even the firefox homepage wont show up anymore and acg safe search thingy dont work which tell me what websites are safe and which one are not Does anyone know whats wrong ?