Is there any backup for the installation steps on raspberrypints? I finally got through my issues setting the base program up and was about to start the flow meter part when the site went down. I have some text on what to do but can't quite figure out how to physically attach meters to the alamode board to the pi.
Separately, I was running into the " Call to undefined function mysql_connect() " error and it took me the longest time to resolve so I'm going to post that here for posterity. I was following some guide I downloaded, can't remember exactly where, called RPints-Jessie-FlowMeters-Installation-Instructions.pdf. Essentially what was on raspberrypints.com but with some updated or changed commands. I wasn't able to get php5, mysql-php5, etc. Kept getting errors on the apt-get install commands saying they were unavailable. Eventually I installed without specifying a php version which I guess gave me 7.0. As we all know mysql commands no longer work, they were switched to mysqli. I tried going through the code to make all those updates but I must have been missing some since it never quite worked. [I see now some people here have that updated, hopefully it'll be made available soon for others with updated instructions.] It seemed others in this thread have been getting the php5 versions recently, but I couldn't. Eventually I found the following:
sudo echo "deb
http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi" >> /etc/apt/sources.list
This allowed me to access a place to install php5 from. Since I already have 7.0 installed I continued running into the undefined function call until I also ran the following:
sudo a2dismod php7.0
sudo a2enmod php5
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php5
This disabled php7.0, enabled php5, and finally allowed me to get Raspberry Pints up and running. Hopefully that helps someone else, or future me when I try and set this up again and need to google why it's not working.