CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • 'Undefined index' errors after installing Spanish translation
Pages: [1]

Author Topic: 'Undefined index' errors after installing Spanish translation  (Read 29745 times)

jordisan

  • Guest
'Undefined index' errors after installing Spanish translation
July 08, 2008, 12:05:13 am
I have installed CiviCRM 2.0.4 over Joomla 1.5 (following the guide at http://civicrm.org/node/297).

Everything seems OK after installation; but multiple errors appear after installing the Spanish translation. Most of them are 'Undefined index' errors.

For instance, in the Contributions TotalS page:
Notice: Undefined index: contribution_amount_low in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Contribute\Form\Search.php on line 335
Notice: Undefined index: contribution_amount_high in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Contribute\Form\Search.php on line 335


In the modification of a Membership Type:
Notice: Undefined variable: reminderMsg in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Member\Form\MembershipType.php on line 193
Notice: Undefined variable: reminderMsg in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Member\Form\MembershipType.php on line 193


I guess ... Is CiviCRM is translating something it shouldn't?

felixufer

  • Guest
Re: 'Undefined index' errors after installing Spanish translation
July 08, 2008, 02:05:03 am
Hi jordisan,

first off all welcome to the CiviCRM-Forum!

I hope you noticed the following sentence in the documentation:
Please note that CiviCRM 2.0 is officially NOT COMPATIBLE with Joomla 1.5 and that the CiviCRM team will not provide support for folks trying to run this combination.

Still, I guess you can easily fix it by creating the missing entries in the .po-language-files. Therefore you have to identify the missing words and phrases, they are all in "ts()"-brackets. e.g. ts('Renewal Reminder Message').
For each missing word and phrase respectively you have to create a new entry in the language files.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: 'Undefined index' errors after installing Spanish translation
July 08, 2008, 10:43:50 am
Quote from: jordisan on July 08, 2008, 12:05:13 am
Everything seems OK after installation; but multiple errors appear after installing the Spanish translation. Most of them are 'Undefined index' errors.

For instance, in the Contributions TotalS page:
Notice: Undefined index: contribution_amount_low in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Contribute\Form\Search.php on line 335
Notice: Undefined index: contribution_amount_high in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Contribute\Form\Search.php on line 335


In the modification of a Membership Type:
Notice: Undefined variable: reminderMsg in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Member\Form\MembershipType.php on line 193
Notice: Undefined variable: reminderMsg in C:\AppServ\www\joomla\administrator\components\com_civicrm\civicrm\CRM\Member\Form\MembershipType.php on line 193


Are you sure these errors do not appear when you switch back to English? They don’t seem to be translation-related… :|
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jordisan

  • Guest
Re: 'Undefined index' errors after installing Spanish translation
July 08, 2008, 11:21:25 pm
I really though the error messages didn't appear after first install, but now I have switched back to English and the errors are still there :(

I sent this issue some time ago to this forum, and someone (sorry, I don't remember who) replied he has detected the problem and was working on it because... Unfortunately, the full topic was removed (because of a spam-reply).

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: 'Undefined index' errors after installing Spanish translation
July 09, 2008, 09:16:13 am
Quote from: jordisan on July 08, 2008, 11:21:25 pm
I really though the error messages didn't appear after first install, but now I have switched back to English and the errors are still there :(

Ok, so that’s not a language-dependent issue, then. I filed CRM-3300 and we’ll take care of them.

Quote from: jordisan on July 08, 2008, 11:21:25 pm
I sent this issue some time ago to this forum, and someone (sorry, I don't remember who) replied he has detected the problem and was working on it because... Unfortunately, the full topic was removed (because of a spam-reply).

I fixed that other issue, and the fix made it to the newly-released CiviCRM 2.0.5.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • 'Undefined index' errors after installing Spanish translation

This forum was archived on 2017-11-26.