Page 1 of 1

I do not have access to http: // localhost / csweb / api

Posted: April 9th, 2018, 12:55 pm
by jenbba
Hi, I'm starting the use of CSWEB. Below I detail the steps taken so far:
1. Full installation of CSWEB
2. access to http: // localhost / csweb / ui or by ip address http: //192.168.XX.XX/csweb/ui
3. Load dictionary at platform CSWEB
4. Local test and between my network for access from tablets is correct.

The problem I have is in the synchronization test I can not access the link http: // localhost / csweb / api or
http: // localhost / api

What am I doing wrong?

Re: I do not have access to http: // localhost / csweb / api

Posted: April 9th, 2018, 2:08 pm
by jenbba
After so much searching I find this post.
http://www.csprousers.org/forum/viewtopic.php?t=1904

My error is that I was trying to access http: // localhost / csweb / api from the browser.
But with the previous indications I made the test of access from the synchronization and if it connects.

My question now is what files should be placed on the server and where exactly?

Re: I do not have access to http: // localhost / csweb / api

Posted: April 10th, 2018, 1:55 pm
by jenbba
After many hours of reading I managed to synchronize. :D
For those who have the same problem, I recommend reading the instructions of the CSWEB installation attached to the download, follow the example found in the Example Folder 7.1 Synchronization in Logic and locate the project files in the folder C: \ wamp64 \ www \ csweb \ files

Thanks.

Re: I do not have access to http: // localhost / csweb / api

Posted: April 10th, 2018, 2:26 pm
by josh
Note that with CSPro 7.1 there is the deploy application tool for synchronizing the application files (.pen and .pff). If you use this tool you don't need to worry about where to put files on the server. The only limitation is that updating the application files on the device is not automatic when you use the deploy tool. You have to go to "Add application" on the tablet to do the update.

The synchronization in logic is good for advanced synchronization where you have multiple data files to sync or want to control synchronization using a menu program but if you just have one data file to sync you can just set up synchronization using the dialog under the Options-->Synchronization menu.

Re: I do not have access to http: // localhost / csweb / api

Posted: April 10th, 2018, 3:37 pm
by jenbba
Thanks Josh,
I'm going to try using the application tool. We plan to implement several survey formats so we would be working with the synchronization in logic.
Best regards