Photoresistor problem

So I am working on a project and it requires measuring six outputs from six photoresistors. I am using the six analog inputs on the Arduino Uno however only half of the inputs are working. Ports 0,1,2 work while 3,4,5 don't work. I have tried switching photoresitors and switching ports however it is always 3,4,5 that don't work. I have used other sensors and know that these analog inputs work. My wiring is just having the photoresistor and a 5K ohm resistor in series and it is the same for each port. I'm not really sure why this is happening? Thank you ahead of time for helping me out!

I forgot to mention the ports that aren't working have outputs that jump around between 200-500 while the ports that are working have a constant output

guest521:
My wiring is just having the photoresistor and a 5K ohm resistor in series and it is the same for each port.

That is not a complete or adequate description of your wiring.

It looks like this:

OK, that wiring diagram looks OK. I suspect that ports 3,4,5 are not really wired up like that. I suggest you post a photo of your wiring. Maybe you are using one of those breadboards in which the 5V and ground buses have a break half way along.

Yup that was the problem. I haven't worked with a breadboard like that before. Thanks for your help