PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB19] URL with hostname messed up the page
[WB19] URL with hostname messed up the page
Iniciado por guest, 27,ago. 2015 09:30 - 2 respuestas
Publicado el 27,agosto 2015 - 09:30
Hi,

Today my client tested the webdev app using URL hostnsame e.g. http://MyServer/eCRM
shows some of the web pages control messed up ( some pages with table covering the listbox) .

Previously when using ip address e.g. http://192.168.1.1/eCRM works well without the page's control messed up.

Anybody have any idea what could be the reason ?

Regards,

PETER ZHOU
Miembro registrado
44 mensajes
Publicado el 27,agosto 2015 - 21:47
Try define a URL for this site on database and load value in a string variable to identify your server url.

See this my little sample :)

Procedure CONFSITEURL(varID is 8-byte int)

MyURL is string = ""
MySubDirectUpLoad is string= ""
MySubDomain is string = ""

HReadSeek(tbl_conf_site,idsite,varID)
IF HFound(tbl_conf_site) = True THEN
MyURL = tbl_conf_site.urlsite
MySubDirectUpLoad = tbl_conf_site.UploadFolder
MySubDomain = tbl_conf_site.SubDomain
END


RESULT (MyURL,MySubDirectUpLoad,MySubDomain)


So, try compose ur Global string to URL site on initializing project/application :)

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Publicado el 02,septiembre 2015 - 04:52
Hi,

Further to my investigation, it seems only happen under IE and not chrome.

Anybody have any idea what could be the reason?

Regards,

PETER ZHOU