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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Standalone testing
Pages: [1]

Author Topic: Standalone testing  (Read 12975 times)

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Standalone testing
December 07, 2008, 02:51:11 pm
Hi, just installed 2.1-SVN as standalone this morning. A couple of things I noticed.

1. The installer still claims 5.2.1 is required, although 5.2.0 appears to work fine. Debian stable is at 5.2.0 (with security fixes). Unless 5.2.1 is *really* required, I would recommend we update install.php to check only for the major version; we run the risk of having people not try out 2.1 (because they think it won't work on their PHP, when in fact it works fine) or - worse - having them break a PHP install trying to upgrade when there was no need to do so. This was raised at http://forum.civicrm.org/index.php/topic,4430.0.html but I don't think a bug was opened.

2. I sent an email to a contact who does not have an email address configured. On first submission, I didn't think to fill out the email address in the box provided. CiviCRM prompted me to enter the email address, and I did so. When viewing the sent email in the contact's Activity history, the "To" field says "Array" rather than the email address used.
@xurizaemon ● www.fuzion.co.nz

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Standalone testing
December 07, 2008, 02:58:43 pm
Re (2) above, I am impressed to see that CiviCRM has thoughtfully recorded the email address I used against the contact I used it for.

Cool :)

Generally looks really good, guys. Haven't had much of a chance to thrash it yet ...
@xurizaemon ● www.fuzion.co.nz

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: Standalone testing
December 07, 2008, 09:29:39 pm
Quote from: xurizaemon on December 07, 2008, 02:51:11 pm
1. The installer still claims 5.2.1 is required, although 5.2.0 appears to work fine. Debian stable is at 5.2.0 (with security fixes). Unless 5.2.1 is *really* required, I would recommend we update install.php to check only for the major version; we run the risk of having people not try out 2.1 (because they think it won't work on their PHP, when in fact it works fine) or - worse - having them break a PHP install trying to upgrade when there was no need to do so. This was raised at http://forum.civicrm.org/index.php/topic,4430.0.html but I don't think a bug was opened.

there are a couple of functions which are in php 5.2.1 which we use. i dont remember the function name(s) right now

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

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Standalone testing
December 08, 2008, 12:29:37 pm
Unless you're doing things with SWF / ming that I'm not aware of, looks like those would have to be stream_socket_shutdown() or sys_get_temp_dir().

I can't find either of those functions in CiviCRM 2.1-SVN r18583.

 * Full list of functions in PHP 5.2.x

Looks like the 5.2.1 requirement came in at r15437 - http://fisheye.civicrm.org/browse/~raw,r=15437/CiviCRM/trunk/install/index.php
« Last Edit: December 08, 2008, 12:51:59 pm by xurizaemon »
@xurizaemon ● www.fuzion.co.nz

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Standalone testing
December 09, 2008, 12:30:34 pm
Have opened a ticket and added a patch.

http://issues.civicrm.org/jira/browse/CRM-3919
@xurizaemon ● www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Standalone testing

This forum was archived on 2017-11-26.