English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

XIUS : Unpossible to load css and js files
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: XIUS : Unpossible to load css and js files
#10191
XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 0
Hi Edwin,
I have a problem with XIUS.
All is ok in the finctionnalities of the component and plugins (as far as i know today for my test), but there is a problem with the loading of the css and js files in frontend.

I take for example the css file, in browser panel i see call is done like this :
MYSITE.com/mnt/data/vhosts/.../component/com_xius/assets/css/panel.css

My question is, does you have to make a little patch ? Or do you know what can i modify to make it ok like this :
www.MYSITE.com/templates/MYTEMP...assets/css/panel.css

P.S : I have post in xius forum as well
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10196
Re: XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 54
It seems this is a bug in the computation of the path used by the extension to add the CSS in the page.
The value that you illustrate seems to use the location on your disk and I suspect that the extension is trying to compute a location of the file on the disk and get a wrong answer. This can happen if the extension perform a dirname( __FILE__) that returns a physical location on the disk that is not necessary match the JPATH_xxx value. This is illustrated with the /mnt/data/vhost/

If the extension want to compute a path dynamically, it must use the JPATH_xxxx that contain the correct root, base, path and not use dirname() or real_path that return a physical location that does not match necessary the website document root. They must use the Joomla JPATH values to compute the location on the disk.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10199
Re: XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 0
So this is what i supposed before posting... But can't find where it is in there files.
I will put the link to this post on their forum, thanks Edwin
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10205
Re: XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 0
Hi Edwin,
there is there return :

"I have checked on your site.
We are using joomla standards and its creating some issues with multiSite components.
There is a notice, shown in multisite component: "Some patches are not installed." so try to fix it. Because it might create some issues.
Let me know if still you have same issue after fixing the patch issue."

To explain, the website concerned is a subsite... So i have this notice "patch not ok" on its administrator, but it is normal, we are ok ?
Main site is ok and in last versions for install and patches.
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10208
Re: XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 54
Did you installed all the patches.

Remark, if you try to manage JMS from a slave site, this is normal that you get an error message as you can not convert as slave site into a master website.

As I don't know if you have the patches installed in the master website, I can not tell you more.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10209
Re: XIUS : Unpossible to load css and js files 12 Years, 6 Months ago Karma: 0
That's what i respond (patches are installed)
Thanks
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla