Error while reading configuration.properties file

Error while reading configuration.properties file

I am using the zohocrm php-sdk v2
Everything works fine locally but when I moved my code to our staging server I started getting errors.

The error it is throwing is failed to open stream on the ZCRMClientLibrary.log file. (It is looking for it in my php include_path.)

This isn't the root error though. My error is actually during my \ZCRMRestClient::initialize(); call. 
This calls CommonUtil.php to getFileContentAsMap from configuration.properties file. I have it echo out all the lines from that file but it is trying to through this error:

Undefined offset: 1
WARNING: Exception occured while converting file content as map (file::ZohoOAuthUtil.php)

The properties file does not have any extra characters at the end and I believe the loop makes it through till the last line because I can echo them out.

Any help would be appreciated.