To resolve your issue you need to check your camera connection to the pi. To do this you need to type raspistill -t 0 into your terminal. If it is bringing up the preview window, that is not the problem, if it is not bring up the preview window, you need to fiddle with the connection and try again. After that, if that doesn't work, then please run ./RPi_Cam_Web_Interface_Installer.sh. This should bring up for you a crude GUI. Use your arrow keys to select number the 4, or start camera. Once it starts up it should say 'started' next to it. You might get the error message at the bottom saying as
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1) sh: 1: /var/www/html/macros/error_hard.sh: Permission denied mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) or the same error you got earlier. Now to fix this you need to close the terminal and open up a new one, and type cd RPi_Web_Interface and then run again the command ./RPi_Web_Interface_Installer.sh and select configure, enable the autostart and camera. And reboot. When the pi boots up you need to immediately open the terminal and type cd RPi_Web_Interface and ./RPi_Web_Interface_Installer.sh and check if the camera is started and you will know because the green started message will be present next to the start option.