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) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Help wanted with error getting while importing a .csv file
Pages: [1]

Author Topic: Help wanted with error getting while importing a .csv file  (Read 1346 times)

bookguide

  • Guest
Help wanted with error getting while importing a .csv file
October 28, 2009, 04:38:41 pm
Hello All,

I am a student and doing a project for non-profit organization that wants to transfer their data to CiviCRM. I converted the database file into a .csv file and tried uploading into CiviCRM. But, I got the following error (and i got the same error when i tried to add a custom field to the pre existing group or default group in drupal itself).
I have done my research on civicrm forums regarding this and found couple of answers. But, unfortunately, those answers did not really help. One forum said that civicrm is not compatible PHP 5.3. And, if that is the case how should i role back to PHP 5.2? I have wamp server (Apache 2.2.11 and MySQL 5.1.36) installed and drupal 6.14

This is the error that I am getting:

warning: Parameter 1 to CRM_Import_Form_MapField::formRule() expected to be a reference, value given in C:\wamp\www\drupallessons\sites\all\Modules\civicrm\packages\HTML\QuickForm.php on line 1591.

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    QuickForm Error: unknown error

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            
  • => CRM_Core_Error
  • [1] => handle
            )

        
Code: [Select]
=> -1
    [message] => QuickForm Error: unknown error
    [mode] => 16
    [debug_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [type] => HTML_QuickForm_Error
    [user_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [to_string] => [html_quickform_error: message="unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Form rule callback returned invalid value in HTML_QuickForm::validate()"]
)
[/b]

Any help appreciated.
Thanks in advance.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Help wanted with error getting while importing a .csv file
October 28, 2009, 04:42:43 pm

CiviCRM is not compatible with PHP 5.3

u will need to roll back and use an older version of WAMPserver. You might want to check the WAMP site for details

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bookguide

  • Guest
Re: Help wanted with error getting while importing a .csv file
October 28, 2009, 04:47:38 pm
by the way, I did try to upload a file in sandbox and it seemed fine (except it gave me some other errors that i can fix in regards to the .csv file)

bookguide

  • Guest
Re: Help wanted with error getting while importing a .csv file
October 28, 2009, 04:55:47 pm
Hi lobo,

Are you sure that rolling back to a different  version of PHP will help? If so, where can I get the PHP 5.2 version? I checked wamp srever's website (http://www.wampserver.com/en/download.php) and phpmyadmin website (http://www.phpmyadmin.net/home_page/downloads.php). But, I did not find the earlier version of PHP.

Sounds like the project just got interesting!!!

Thanks again!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Help wanted with error getting while importing a .csv file

This forum was archived on 2017-11-26.