×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Notice: Undefined index:

Notice: Undefined index: 10 months 3 weeks ago #35430

  • Wouter
  • Wouter's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Dear,

I just installed CComment, but under every blog article I get some weird notice error. Is there anybody that know what the problem is?




Best regards,

Wouter
Attachments:

Notice: Undefined index: 10 months 3 weeks ago #35433

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Go in the backend-> settings-> open the component in question -> com_content for example and just resave the configuration. After that refresh the page in the frontend. Is the error gone?

Regards,
Daniel

Notice: Undefined index: 10 months 3 weeks ago #35439

  • Wouter
  • Wouter's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks for the help, but unfortunately noting changed. I still have the error code. :(

Notice: Undefined index: 10 months 3 weeks ago #35440

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Intersting. What joomla installation is this?

line 253 is this:
		$languages = JLanguageHelper::getLanguages('lang_code');
		$languageCode = $languages[ $lang->getTag() ]->sef;

It seems that you have a NL-nl as language, but the JLanguageHelper class isn't returning the configuration for Nl-nl. How is your website configured? What languages do you have?

Regards,
Daniel
The following user(s) said Thank You: Wouter

Notice: Undefined index: 10 months 3 weeks ago #35441

  • Wouter
  • Wouter's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I have Joomla version 2.6.5. Front-end I use Dutch and back-end English.

But I just found a fix for the problem, the problem was that my content language was misconfigured. The language tag was wrong so Ccomment was searching for nl-NL, but the tag that I insert was NL-BE. After I changed it to nl-NL, the problem was fixed.



Thanks anyways for the help! :)
Attachments:

Notice: Undefined index: 10 months 3 weeks ago #35444

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Glad we sorted that out.
  • Page:
  • 1
Time to create page: 0.245 seconds