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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Export not working
Pages: [1]

Author Topic: Export not working  (Read 1393 times)

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Export not working
August 30, 2009, 09:48:44 am
I have a brand new CiviCRM installation (with Drupal).  I have imported about 4000 contacts, and I can search and print and email, but one thing we need to do is export to a csv for an envelope printer.  When I select export, the screen goes white after a couple of seconds (too soon for a timeout).  Does anyone have any idea why this might be happening?

ThePayIsLousy

  • Guest
Re: Export not working
August 30, 2009, 11:21:07 am
I'm a CiviCRM newbie, so hopefully someone else will weigh in...  I hope I'm not wasting your time, but here are some ideas:

--Try your export in a different browser.  I had a problem where IE8 wouldn't render a page that Firefox had no problem with.

--Debug the page by viewing the page source and using the debug tools.  My problem turned out to be a CiviCRM bug in the HTML used for display.  I found it b/c someone on this forum suggested using the debugging tools.   IE8's are very nice.  I don't know how to use Firefox's yet -- just started using FF as my primary browser.

--Do you have any file download mgrs installed that could be getting in the way?

--Can you download a smaller number of records to a .csv (say, one or two)?

--Did you try a custom field mapping?

Hope one of those helps...

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Export not working
August 30, 2009, 04:36:35 pm
In IE8 (I generally use Firefox, or Chrome) but get the same result in all three (on two machines - one XP, one Vista):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

The URL is:
http://ebulletin.nupge.ca/civicrm/contact/search?_qf_Select_display=true&qfKey=b02bdff8a5da52d6666feb469b89ca3f

I've tried single contacts as well as groups (between 5 and 40 contacts) and get the same result - as soon as I choose Export, and then Go, I get a white screen.

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: Export not working
August 30, 2009, 04:54:15 pm

can u check your apache error logs / drupal watchdog table and see if there are any notices there

can u also do the same things on drupal.demo.civicrm.org and ensure it works (just want to make sure the same sequence of events work!)

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

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Export not working
August 30, 2009, 05:48:53 pm
I tried the export on the demo site (with other people's data) and it worked fine.

Here's the error in the apache log:

[Sun Aug 30 23:36:58 2009] [error] [client 24.201.39.180] PHP Fatal error: Cannot access protected property CRM_Export_Form_Select::$_action in /var/www/vhosts/nupge.ca/subdomains/ebulletin/httpdocs/sites/all/modules/civicrm/CRM/Contact/Form/Task.php on line 87, referer: http://ebulletin.nupge.ca/civicrm/contact/search?_qf_Basic_display=true&qfKey=b02bdff8a5da52d6666feb469b89ca3f

kathc

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Export not working
August 30, 2009, 06:05:03 pm
Searching for the error now, I found an indication that this may be caused by PHP 5.1.6 (the host is RHEL, which apparently does not like being updated to 5.2).  I'll see if I can change servers.

Moved to another server (different everything, so not entirely conclusive, but this one is using 5.2) and the export is fine. 

When I was first installing (way back last week) I found a reference to 5.1.6 being usable (I believe it said there were no known issues) but apparently it's not.  I'll report this to the place doing my hosting, and see if they can talk to RedHat and find out what their problem is with upgrading.
« Last Edit: August 31, 2009, 10:16:23 am by kathc »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Export not working

This forum was archived on 2017-11-26.