- Posts: 3
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!
Cant load jQuery if site installed in subfolder
- qvsoft
-
Topic Author
- New Member
-
Less
More
IP: 58.187.27.16
13 years 10 months ago #1515
by qvsoft
Cant load jQuery if site installed in subfolder was created by qvsoft
Hi,
jQuery easy does not work properly on the subfolder.
For example:
yourdomain.com/subfolder
If can not load jQuery, because jQuery path will not be replaced on this case.
So please check on this.
jQuery easy does not work properly on the subfolder.
For example:
yourdomain.com/subfolder
If can not load jQuery, because jQuery path will not be replaced on this case.
So please check on this.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 10 months ago #1516
by admin
Olivier.
Replied by admin on topic Re: Cant load jQuery if site installed in subfolder
Hello,
can you give me a live URL so I can check why this is not working?
I cannot really diagnose anything otherwise.
My versions of jQuery Easy are tested on sub folders and work just fine, so there is something specific about your configuration.
Thank you!
can you give me a live URL so I can check why this is not working?
I cannot really diagnose anything otherwise.
My versions of jQuery Easy are tested on sub folders and work just fine, so there is something specific about your configuration.
Thank you!
Olivier.
- qvsoft
-
Topic Author
- New Member
-
Less
More
- Posts: 3
IP: 58.187.27.16
13 years 10 months ago #1520
by qvsoft
Replied by qvsoft on topic Re: Cant load jQuery if site installed in subfolder
Hi,
It's not my site, it's my client's site( www.brain-objects.net/second-thought-waves/ ), now i don't have admin access anymore, but i have fixed it by replace this:
Line 539:
Replace:
$body = preg_replace('#JQEASY_JQLIB#', $this->_jqpath, $body, 1);
By:
$body = preg_replace('#/second-thought-waves/JQEASY_JQLIB#', $this->_jqpath, $body, 1);
If i don't replace it, the site will load
<script type="text/javascript">JQEASY_JQLIB</script>
It's not my site, it's my client's site( www.brain-objects.net/second-thought-waves/ ), now i don't have admin access anymore, but i have fixed it by replace this:
Line 539:
Replace:
$body = preg_replace('#JQEASY_JQLIB#', $this->_jqpath, $body, 1);
By:
$body = preg_replace('#/second-thought-waves/JQEASY_JQLIB#', $this->_jqpath, $body, 1);
If i don't replace it, the site will load
<script type="text/javascript">JQEASY_JQLIB</script>
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 10 months ago #1521
by admin
Olivier.
Replied by admin on topic Re: Cant load jQuery if site installed in subfolder
Thanks for posting your resolution.
This is rather strange behavior.
You are basically asking to replace
'/second-thought-waves/JQEASY_JQLIB' with '$this->_jqpath'
in
'<script type="text/javascript">JQEASY_JQLIB</script>'
where '/second-thought-waves' is not even present.
I'll see if somebody else has a comment on that.
Thanks again.
This is rather strange behavior.
You are basically asking to replace
'/second-thought-waves/JQEASY_JQLIB' with '$this->_jqpath'
in
'<script type="text/javascript">JQEASY_JQLIB</script>'
where '/second-thought-waves' is not even present.
I'll see if somebody else has a comment on that.
Thanks again.
Olivier.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.172.231
13 years 7 months ago #2048
by admin
Olivier.
Replied by admin on topic Re: Cant load jQuery if site installed in subfolder
Hello,
it has been a long time and I wanted to let you know I had finally figured out what went wrong and issued a fix (v1.4.2). I do apologise for not finding it sooner though.
it has been a long time and I wanted to let you know I had finally figured out what went wrong and issued a fix (v1.4.2). I do apologise for not finding it sooner though.
Olivier.
The following user(s) said Thank You: qvsoft
- qvsoft
-
Topic Author
- New Member
-
Less
More
- Posts: 3
IP: 113.178.60.61
13 years 7 months ago #2049
by qvsoft
Replied by qvsoft on topic Re: Cant load jQuery if site installed in subfolder
Great!
Thank so much for the best extension!
Thank so much for the best extension!
