Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Problem when SEF is on

  • colin
  • colin's Avatar Topic Author
  • New Member
  • New Member
More
IP: 92.25.124.252 13 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
More
IP: 207.229.131.129 13 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.
  • colin
  • colin's Avatar Topic Author
  • New Member
  • New Member
More
IP: 92.19.242.105 13 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
  • colin
  • colin's Avatar Topic Author
  • New Member
  • New Member
More
IP: 92.19.242.105 13 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! :-)
More
IP: 207.229.131.129 13 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.
More
IP: 207.229.131.129 13 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.