?
avatar WhiteKarma
WhiteKarma
30 Oct 2019

Hello all,

To integrate an existing joomla website with another platform ( sub site B ) running on the same server ( on localhost, on port XX ( different port than the one used by joomla website ) ) served by kestrel webserver on UBUNTU server 16.04, we are using an empty template that echoes the HTML markup of the other application ( sub site B ). The content is obtained with curl, after authentication on sub site B, on the same server via https://localhost:XX/.

The template has a library that handles the authentication on the sub site B and via an iframe within a joomla article associated with that template, allows the interaction and integration with sub site B.

After authenticating on the joomla website, if i point the browser to the template directly, the CSS and JS and IMG links are respected ( basically they keep the address base prefix https://localhost:XX/ ) and thus the content renders fine.

After an update the links of the template embedded on the joomla page, instead of pointing to ( https://localhost:XX/ ( the correct address of sub site B ) they are now pointing to /localhost/ as if they were part of the same website ) and therefore, the content is not rendered correctly because of 404 errors of the browser not finding none of the incorrectly referenced resources of sub site B, present on a different port.

After authentication, the browser pointing directly to the empty template still renders nicely... It only breaks the links when the resulting HTML coming from sub site B is integrated on the final joomla page of the existing joomla website.

All used to work well until very recently, can you advise how to correct the situation according to the best practices?

Thank you very much in advance!!!

avatar WhiteKarma WhiteKarma - open - 30 Oct 2019
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Oct 2019
avatar Quy Quy - close - 30 Oct 2019
avatar Quy Quy - change - 30 Oct 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-10-30 19:34:24
Closed_By Quy
avatar Quy
Quy - comment - 30 Oct 2019

Please post support questions to the Joomla Forum. If a bug if found, please open an issue here. Thank you.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26869.

avatar WhiteKarma
WhiteKarma - comment - 30 Oct 2019

Thank you @Quy,

I did both, ( link for joomla forum here: https://forum.joomla.org/viewtopic.php?f=713&t=975409&p=3584719#p3584719 ). The integration was fine since 2016. Is it possible that there was a change on how iframe or template links references are simplified on recent versions?

Thank you very much for your project and for your valuable help.

Add a Comment

Login with GitHub to post a comment