PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Webdev: Problem using 2 configurations in PCSCLOUD
Webdev: Problem using 2 configurations in PCSCLOUD
Iniciado por guest, 09,jun. 2016 22:11 - 2 respuestas
Publicado el 09,junio 2016 - 22:11
I use WebDev20 and have a project that I would like to use two configurations on. The first configuration was successfully deployed into my pcscloud account. Call it SiteA which uses database DataA. I needed the exact same code to use a different database (DataB) so i used the "Manage the configurations" program to set up SiteB. It works fine testing on localhost, but when I try to deploy the site I get the permission errors below. I have tried active/passive ftp and about every option I can think of to no avail. Has anyone run across this?? Thanks.

[attachment 2023 frame4.png]
Publicado el 10,junio 2016 - 14:01
Hi Peter,

It seems a bit awkward to me to use configurations for that purpose.
A more common approach would be to use the same site and just change the connection to the database.
How to do that depends on if your site is public or private.
If it is private you can use the login to determine the datebase, if public you could use parameters, user choice or different urls for each database.

Best regards,
Piet
Publicado el 13,junio 2016 - 19:35
Thanks for the advise. The problem was resolved as a bug in pcscloud. it is fixed now.