Exception in rendering!

Message: window is not defined

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

Q: Headlight Issue

asked by on

I am having problems with my Headlights. I have replaced the Headlight Switch, the Daytime Running Lamp Module and the Ambient Sensor. When I start the car, the DRL's come on. If I turn my Headlight switch to on, the Parking lights stay on and the DRL's turn off. When I switch my Headlights off, the DRL's come back on. When it starts to get dark, the Ambient light sensor will make my dashboard light up and then the DRL's go out..Since they go out, I have no Headlights until the morning because the Headlight switch won't turn them on...Help....

My car has 185600 miles.
My car has an automatic transmission.

A: The daytime running lights are not suppos...

Hello.

The daytime running lights are not supposed to function at the same time as the headlights. The daytime running lights are only supposed to come on during the day, to provide additional visibility for daytime driving, independently of the headlights. When the headlights are turned on the daytime running lights should turn off. If they are not turning on it may be possible that perhaps the bulbs have burned out, or there is an issue with the fuse or relay. If you run into any issues, consider contacting a certified technician, like one from YourMechanic, as certified technician can diagnose any issues with your lights firsthand and help you make the right repair.

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: Where do I connect a pair of DRLs so that they work the way they should?

If your fuse box has a spare position that is powered in the ignition "Run" position, this would be a good place to tap into a power source, and can be fused appropriately based on the current (amps) your new...

Q: How Do Daytime Running Lights Work?

Basically, daytime running lights, or (DRL) as they may be listed, are your vehicle's low beam headlights that are on during daytime driving. By having them on they increase the visibility of your vehicle on the highway, much like when...

Q: Changed heads. Engine runs great until I put it in gear, then I have no power from transmission, shifts hard, and breaks are hard.

Hey there. Given that you performed a fair amount of engine work and have no doubts with the battery out of the car, it is possible that the throttle position sensor and engine management have lost their "pairing" values and...

Related articles

Rules of the Road For Iowa Drivers
Driving on the roads requires knowledge of the rules, many of which are based on common sense and courtesy. However, even though you know the rules in...
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...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.