Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Problem when SEF is on

More
11 years 10 months ago #1561 by colin
Problem when SEF is on was created by colin
Hi

I have a complex site with a number of jQuery installs. All are off and using jQE to handle jQuery and jQ UI from local files.

Everything works OK with SEF off, but when its turned on problems occur.

With SEF off jQE is loading files like this:
example.com/media/system/js/jquery.min.js

with SEF ON jQUery Easy is trying to load it from:
http://media/system/js/jquery.min.js

The domain has been wiped out.
Any idea why?

J!2.5.8
only basic J! SEF - no 3PD sef extension is loaded

I only have this on localhost dev machine so no visible url

thanks

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #1562 by admin
Replied by admin on topic Re: Problem when SEF is on
Hello,
could you tell me what is the local path you have set in jQuery Easy? Thank you.

Olivier.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #1563 by colin
Replied by colin on topic Re: Problem when SEF is on
hi

thanks for reply

I tried it with leading slash
/media/system/js/jquery.min.js
and without
media/system/js/jquery.min.js

same problem

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #1564 by colin
Replied by colin on topic Re: Problem when SEF is on
I am sorry - I was wrong about that.

without leading slash the jQ files ARE loaded via jQEasy - but I now have a lot of "jQuery is not defined" errors.
different problem! :-)

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #1565 by admin
Replied by admin on topic Re: Problem when SEF is on
It should start with the leading /.
I myself have SEF On and do not have this problem.
Are you using URL rewriting also?
Actually, the path does not need the domain name to work.

Olivier.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #1566 by admin
Replied by admin on topic Re: Problem when SEF is on
Got your last message after my answer. Ok!

Olivier.

Please Log in or Create an account to join the conversation.