econpy / torque

A set of tools used with the Torque app for Android to store OBD2 data in MySQL, view GPS data from Torque on a map in real time using the Google Maps JavaScript API, plot OBD2 data in time series charts, and export the data to CSV or JSON.
MIT License
285 stars 120 forks source link

Noob Needs Help - No Front End? #26

Open duelldesign opened 9 years ago

duelldesign commented 9 years ago

Hopefully this is just a dumb noob mistake.

I've followed the tutorial and didn't think that I had run into any issues.

I can't seem to get the front end site to come up? I go to the address of my vps where I've configured this, but I just get the default ubuntu apache page?

Thanks for any help!

Coppan commented 9 years ago

/session.php ???

duelldesign commented 9 years ago

No luck with that, I'll just post it right here: http://162.248.165.237/torque/session.php

Coppan commented 9 years ago

Maybe torque isnt in the root of the webserver?

duelldesign commented 9 years ago

This is how the directory is laid out:

var/www/ 2 folders here: html and torque

so sessions.php would be located here: var/www/torque/sessions.php

Coppan commented 9 years ago

your site says:

By default, Ubuntu does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf. The default Ubuntu document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.

Coppan commented 9 years ago

move it to the "html" folder??

duelldesign commented 9 years ago

Awesome, that works now.

Now I just have to figure out why there aren't any sessions available to load. I should have a few in there.

Thank you so much for your help!

Coppan commented 9 years ago

No worries mate! i guess the post.php couldent be reached until now?

Coppan commented 9 years ago

i mean upload_data.php :-)

duelldesign commented 9 years ago

I think you're probably right!

I'll test and let you know!

duelldesign commented 9 years ago

Revisiting this!

I've since gone to create a new install on a VPS and I don't see where there is a page provided to display the info. Am I doing something wrong again?