WatershedArts / Footfall

Application that allows you to monitor the traffic in and out of your building, using the RPi Camera and openFrameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network upload problems

maxso96 opened this issue · comments

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.

  • Not Keeping Backup Logs
    [ error ] Can't upload due to no network`

What seems to be causing this? Please help thanks

Hi @maxso96

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

Best

Yes I get the page but its static.

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

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

Hi @maxso96

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

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! 💯

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

Best