Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at new c (/tmp/execjs20161208-85577-1daoklfjs:136:3912)
    at m.mountComponent (/tmp/execjs20161208-85577-1daoklfjs:47:15602)
    at /tmp/execjs20161208-85577-1daoklfjs:49:31860
    at a.r.perform (/tmp/execjs20161208-85577-1daoklfjs:47:12503)
    at Object.a [as renderToString] (/tmp/execjs20161208-85577-1daoklfjs:49:31821)
    at r (/tmp/execjs20161208-85577-1daoklfjs:50:21164)
    at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-85577-1daoklfjs:32:6073)
    at eval (eval at <anonymous> (/tmp/execjs20161208-85577-1daoklfjs:173:8), <anonymous>:10:23)
    at eval (eval at <anonymous> (/tmp/execjs20161208-85577-1daoklfjs:173:8), <anonymous>:17:3)
    at /tmp/execjs20161208-85577-1daoklfjs:173:8

Q: Electrical problem

asked by on

My car has an electrical problem. The lights aren't working, the windows won't open, and the fuel gauge isn't working.

A: Electrical concerns can often times be diff...

Electrical concerns can often times be difficult to narrow down. It appears that your Mazda may have corrosion issues with its battery cables. It is not uncommon for the battery cables to develop corrosion near the battery terminals. Corrosion tends to spread rather quickly and can travel down inside the wires insulation and create resistance which prevents adequate power from reaching the components the battery powers. When this happens, symptoms such as the ones you describe with your Mazda 6 can definitely be duplicated. One thing you can try yourself is, while wearing safety gloves, opening the hood of your vehicle and locating the battery. Visually inspect the battery terminals and the wires coming off of them. If you see corrosion, then this is likely the reason your lights and gauges are not functioning properly. I recommend enlisting the assistance of a certified mechanic to come by and inspect your vehicle's electrical system. They will have the experience and tools needed to identify the exact cause of your electrical issues. In most cases, they will simply be able to clean the battery posts and terminals so proper battery voltage can reach everything that requires power. If the problem is more severe, such as replacing bad battery cables or a faulty control module, they will be able to make the repairs needed to restore proper function all of your vehicle's systems.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: Gauges have gone dark

Hi there. Since your issue is intermittent this would lead me to believe you are experiencing a bad connection behind your dashboard. A loose connection between your light bulbs and sockets will cause this problem along with a fault in...

Q: The camshaft in our Honda Odyssey 2006 is worn out and the car has been making a ticking noise

If I were you I would get a second opinion for the engine noise. The engine may have a need to have the valves adjusted to reduce or get rid of the noise. This engine does require a regular valve...

Q: Car continually clicks, but doesn't start.

The battery is most likely too week and the jumping gauges are normal for this problem. I would recommend having a mechanic, like the certified ones at YourMechanic, come and check it out the battery and charging system for you...

Related articles

How Do Power Car Windows Increase Passenger Safety?
Power windows are responsible for approximately 2,000 emergency room visits every year. When a power window closes, it exerts enough force to bruise or break bones, crush fingers, or restrict an airway. Though...
P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the P0052 code means This code is seen when the Engine Control Module (ECM) tries to control the...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...