Support Forum

  • Page:
  • 1

JB Library JB Type Bug

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello, Joomla Bamboo Team.
I used your's plugins JB Library and JB Type. They both have same bug. You use there DS(DIRECTORY_SEPARATOR) in URI strings for example $modbase = JURI::root (true).DS.'media'.DS.'plg_jblibrary'.DS; But if user has windows server he would get DS='\', and it's wrong for URI, thats why plugins work incorrect in that situations.
It would be better use '/' instead of DS. May be you have same bug in other extensions.
P.S.: Sorry if I created topic in not right category.
  • A3a's Avatar
  • A3a
  • JB Pro
  • 1 posts
  • Karma: 0
Last Edit: 12 years 2 months ago by A3a.
The administrator has disabled public write access.
Thanks for posting this.

Ive just added the fix to our repository and will release win an update shortly.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Won't this fix cause issues on win-based local server environments though?

I thought this was the reason to use .DS. in the first place, x-platform compatibility.
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.
Yes I forgot to respond back here as well.

Its the difference between using it in a url string e.g. mysite.com vs including the file via an absolute path e.g. using the OS's folder structure.

Ill have the fix for this soon.

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers