[#2708] mod_cblogin missing client attribute in CB 1.7

9 years 3 months ago - 9 years 3 months ago #172598 by hrweb
In CB 1.7/Joomla 1.7 the mod_cblogin (and moderator/online) module manifests are missing the client attribute. The installer assumes that the client is 'site', which is ok. But, in \libraries\joomla\installer\adapters\module.php around line 75 we have the following code:

constant('JPATH_' . strtoupper($client))

Since $client is empty, the constant function tries to evaluate "JPATH_" and issues a warning, when the code is run in a debugger. (If it's run outside of a debugger, you see nothing.)

The problem here is that the language files wouldn't be loaded. I haven't checked yet to see if there are actually any language files affected by this.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

9 years 3 months ago #172612 by krileon
Was able to confirm your issue and have created a bug ticket to be addressed with next release.

forge.joomlapolis.com/issues/2708


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.393 seconds

Facebook Twitter LinkedIn