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) »
  • Strange things on basic functions
Pages: [1]

Author Topic: Strange things on basic functions  (Read 1415 times)

stuartdrennan

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Strange things on basic functions
February 23, 2010, 05:00:32 am
Hi All

I am loving this piece of software.  So far so good, sort of....

I am having problem producing mailing labels and exporting contact.  I just produces a blank white page.  I have checked the apache logs and there is nothing in either the error or access logs.  I have tried resetting permissions on the entire site and update owner and group permissions, but still no go. 

Any help would be VERY much appreciated.

Thanks

Stuart

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Strange things on basic functions
February 23, 2010, 08:29:14 am
How many contacts are you exporting / creating mailing labels?

Kurund
Found this reply helpful? Support CiviCRM

stuartdrennan

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: Strange things on basic functions
February 23, 2010, 10:09:59 am
Hi thanks for getting back.

Tired all contacts (125) and limited set (10) with no joy....

Stuart

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: Strange things on basic functions
February 23, 2010, 10:25:13 am

whats the response code on that page? i.e. what does the apache access logs tell you about what was returned when the url was invoked

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

stuartdrennan

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: Strange things on basic functions
February 23, 2010, 02:44:17 pm
Hi....

On mailing labels:

The error_log is now reporting this:

*** Changed for security

[Tue Feb 23 22:38:22 2010] [error] [client ***] PHP Fatal error:  Cannot access private property CRM_Utils_PDF_Label::$averyName in /var/www/vhosts/***/httpdocs/administrator/components/com_civicrm/civicrm/packages/tcpdf/tcpdf.php on line 5549, referer: http://***/administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&

access_log

***- - [23/Feb/2010:22:38:21 +0000] "POST /administrator/index2.php?option=com_civicrm&task=civicrm/contact/search& HTTP/1.1" 200 232 "http://****/administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 GTB6 (.NET CLR 3.5.30729)"


On export:

error_log

[Tue Feb 23 22:41:08 2010] [error] [client ***] PHP Notice:  Array to string conversion in /var/www/vhosts/***/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Utils/String.php on line 132, referer: http://***/administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&&_qf_Basic_display=true&qfKey=e494ec08c727edef8acc63cf876bd076
[Tue Feb 23 22:41:08 2010] [error] [client ***] PHP Fatal error:  Cannot access protected property CRM_Export_Form_Select::$_action in /var/www/vhosts/***/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task.php on line 96, referer: http://***/administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&&_qf_Basic_display=true&qfKey=e494ec08c727edef8acc63cf876bd076

*** - - [23/Feb/2010:22:41:08 +0000] "GET /administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&&_qf_Select_display=true&qfKey=e494ec08c727edef8acc63cf876bd076 HTTP/1.1" 200 232 "http://***/administrator/index2.php?option=com_civicrm&task=civicrm/contact/search&&_qf_Basic_display=true&qfKey=e494ec08c727edef8acc63cf876bd076" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 GTB6 (.NET CLR 3.5.30729)"


Thanks again

Stuart





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: Strange things on basic functions
February 23, 2010, 04:28:03 pm
can u try this patch:

http://fisheye2.atlassian.com/browse/CiviCRM/branches/v3.1/CRM/Utils/PDF/Label.php?r1=26284&r2=26380

Also what version of PHP / Accelerators are u using? a bit strange that we have not run into the mailing error so far

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

stuartdrennan

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: Strange things on basic functions
February 23, 2010, 11:48:08 pm
Hi

Sorry, what do I do with that patch?

PHP 5.1.6.

Stuart

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Strange things on basic functions
February 24, 2010, 12:12:01 am
Quote
Sorry, what do I do with that patch?
You need to make changes to the file in your local install as mentioned in the patch.

Quote
PHP 5.1.6.
Note that CiviCRM requires PHP 5.2.x, so few things might not work for your install, so you should also consider upgrading PHP.

Kurund
Found this reply helpful? Support CiviCRM

stuartdrennan

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: Strange things on basic functions
February 24, 2010, 01:42:53 am
Thank you so much for your help. 

A combination of the Lapel.php patch and the update to 5.2.10 fixed both those problem.  I should have noticed the 5.2.x requirment, sorry about that.

Thanks again

Stuart

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Strange things on basic functions

This forum was archived on 2017-11-26.