Well, I finally fixed the poll (for real this time). :) It turned out being a really stupid mistake on my part. One of the variables in the script asks for the "poll directory," and instead of entering the location to the data files, I entered the location to the scripts. I spent a lot of time troubleshooting and double-checking things, and it turned out to be something really obvious. :(
