Prevents some warnings

When PHP is configured to display warnings/errors, this should hide
them.
Updates credential path to be consistent

Some files were pointing to the root directory. This should make it
consistently use php/credentials.php
Prevent another warning

Prevent warning about using the undeclared variable $gpsLatLong. This
whole line might be able to be removed if this is never set?