[SOLVED] Java check activated on loginname shows error

12 years 4 months ago - 12 years 4 months ago #186178 by fribse2011
When I activate showing errors in Joomla, I see this message:

At the top:
Notice: Constant _UE_USERAPPROVAL_SUCCESSFUL already defined in ./components/com_comprofiler/plugin/language/danish/danish.php on line 412

This is fixed by deleting line 823/824 in danish.php (should I upload a new danish.php?)


And with the java check of username I see these messages:
Notice: Array to string conversion in ./libraries/joomla/cache/cache.php on line 522

Notice: Array to string conversion in ./libraries/joomla/cache/cache.php on line 554

Warning: array_diff_assoc() [function.array-diff-assoc]: Argument #1 is not an array in ./libraries/joomla/cache/cache.php on line 558

Notice: Constant _UE_USERAPPROVAL_SUCCESSFUL already defined in ./components/com_comprofiler/plugin/language/danish/danish.php on line 412

The last message is cleared with the above fix, the others I'm not sure where the problem is.
But I can decipher that it is to do with the cache function of joomla, so it is probably not in CB???

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

12 years 4 months ago #186194 by krileon
Looks like there's a problem in your language plugin. Likely an unescaped quote. Examples as follows.

Correct:
define( '_UE_MYSTRING', 'That\'s A Field' );
define( "_UE_MYSTRING", "<a href=\"URL\">A Link</a>" );

Bugged:
define( '_UE_MYSTRING', 'That's A Field' );
define( "_UE_MYSTRING", "<a href="URL">A Link</a>" );

I recommend checking the below forge link for language plugins maintained by dedicated translators.

forge.joomlapolis.com/projects/lan-cb?jump=welcome


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.

12 years 4 months ago #186234 by fribse2011
Replied by fribse2011 on topic Re: Java check activated on loginname shows error
I've gone through the file with a syntax checker, no unescaped quote's.
Oh, and I don't see a danish translation.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

12 years 4 months ago #186272 by krileon
Joomla version? CB version? Seams like perhaps a bug in Joomla it self. I recommend purging Joomla cache and seeing if issue persists. I strongly recommend disabling cache as it just provides users with out of date data or at least set cache duration to no greater then 5 minutes.


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.

12 years 4 months ago #186347 by fribse2011
Replied by fribse2011 on topic Re: Java check activated on loginname shows error
Merry Christmas to all.

It's J1.7.3, CB 1.7.1.
For me it definetely looks like a J bug (just wanted to be sure), and I have disabled the cache now. No complaints of the performance as of yet, so I'll let it be as it is.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

12 years 4 months ago #186349 by nant

fribse2011 wrote: Merry Christmas to all.

It's J1.7.3, CB 1.7.1.
For me it definetely looks like a J bug (just wanted to be sure), and I have disabled the cache now. No complaints of the performance as of yet, so I'll let it be as it is.


Do these errors appear with ENglish language settings?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.250 seconds

Facebook Twitter LinkedIn