WatershedArts / Footfall

Application that allows you to monitor the traffic in and out of your building, using the RPi Camera and openFrameworks
Other
332 stars 131 forks source link

Network upload problems #75

Closed maxso96 closed 7 years ago

maxso96 commented 7 years ago

I got to finally run the program without experiencing error on the compile and runtime of the program itself. I tried to edit the config.json file to connect it to the db. `"usehttp": true,

"postserver":"http://localhost", "postextension":"upload.php",`

But when I ran footfall I noticed that it can't connect to the db. I followed exactly what is written in the server.md, but it says

`[warning] ofThread: - name: Thread 2 - Calling startThread with verbose is deprecated.

What seems to be causing this? Please help thanks

DHaylock commented 7 years ago

Hi @maxso96

If you go to http://localhost/events.php, do you get anything?

Best

maxso96 commented 7 years ago

Yes I get the page but its static.

DHaylock commented 7 years ago

Ok, here come a stream of silly questions. :) can you check that your secret keys match?

maxso96 commented 7 years ago

The key to dbconnect.php is the same, do I have to also edit the secret.php?

DHaylock commented 7 years ago

Hi @maxso96

This line should match your secret key in your config.json. It's like another level of protection.

maxso96 commented 7 years ago

Wew silly of me :) I matched them both just like what you said. Thanks again Sir, now I get it and it's operating completely!

Again, best wishes and thanks a lot! 💯

DHaylock commented 7 years ago

No worries. I will update the docs as this isn't in them, sorry about that.

Best