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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Need some guidance
Pages: [1]

Author Topic: Need some guidance  (Read 7316 times)

flashl

  • Guest
Need some guidance
May 06, 2007, 12:14:37 pm
I have a stable joomla site v1.0.12 on Apache/2.0.52 (Win32) PHP/5.0.5 PEAR 1.5.3. I downloaded latest software civicrm-1.7.9370-joomla-php5.zip. Configured profile, org, indivs, groups, menu item, etc. Added an event and contribution. Now, I am trying to configure a public civicrm menu item.

I am using: Configuring Front-end Profile Listings and Forms in Joomla! Sites. After entries from step 3. to modify index.php file.

The following error appears on frontpage:
Notice: A session had already been started - ignoring session_start() in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\modules\mod_header_image.php on line 171. This complaint I know is comming from another product but it only complains with the changes to index.php.

Is it ok to comment session info in index.php?

Also, at step 2. Verify that the Profile(s): option=com_civicrm&task=civicrm/profile&reset=1&gid=1, receiving:

Code: [Select]
Sorry. A non-recoverable error has occurred.

Return to CiviCRM menu.

Error Details:
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] =>
    [message] => Fontfile not found or not readable.
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Fontfile not found or not readable." code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

I have GD installed but not Free Type Library. Is the missing Free Type Library the cause of the error?

Also, there are other errors that appear:
Notice: Undefined index: _qf_Edit_cancel in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php on line 732

Notice: Undefined index: type in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\DAO.php on line 354

Notice: Undefined index: type in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\DAO.php on line 367

Notice: Undefined index: type in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\DAO.php on line 381

Notice: Undefined index: type in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\DAO.php on line 381

Notice: Undefined index: type in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\DAO.php on line 381

Notice: Undefined variable: customFiles in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Profile\Form.php on line 225

Notice: Undefined index: Individual in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\BAO\UFField.php on line 389

Notice: Undefined index: Other in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\BAO\UFField.php on line 402

Notice: Undefined index: Contribution in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Core\BAO\UFField.php on line 402

Notice: Undefined property: CRM_Profile_Form_Edit::$_fieldset in F:\Program Files\Apache Group\Apache2\htdocs\pns_html\administrator\components\com_civicrm\civicrm\CRM\Profile\Form.php on line 252

Where do I start troubleshooting?

Regards[/code]

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Need some guidance
May 06, 2007, 04:17:36 pm
Answers for your 2nd and 3rd points (not sure about the sessions issue - possibly someone else can answer this).

* The fontfile not found... fatal error is due to the fact that you've enabled the Capthca feature for this profile (in the Profile's Advanced Settings)... AND your Captcha Font and/or Captcha Font Path settings are invalid (Administer CiviCRM >> Global Settings >> Miscellaneous). You can verify that this is the problem by turning off Captcha for the Profile and reloading that Profile's URL. Then you'll need to figure out where your true-type font library is located (if you have one).

* The "Notices" are "expected" for this release in Joomla. We eliminated many of them for 1.7, and we are hunting them down and fixing (hopefully) the remaining ones for 1.8. I believe folks using Joomla! are suppressing them by changing a setting in php.ini which controls how notices are handled.
Protect your investment in CiviCRM by  becoming a Member!

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: Need some guidance
May 06, 2007, 05:18:10 pm

You might want to hack mod_header_image.php  and remove the session_start( ) hack from that file

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

flashl

  • Guest
Re: Need some guidance
May 07, 2007, 07:48:30 am
FYI, regarding fontfile in the profile, you were correct. I discovered after some research that did have fontfiles installed but the profile did not point to them. After pointing the misc. profile entry to the font directory path (E:\WINNT\Fonts) and a valid fontfile (script.fon or tahoma.ttf) the "fontfile" error remains.

I am trying to setup a public page where the donations are non-monetary i.e. donated flea market sale items. Contribution Amounts allows for: real-time monetary or Contribution Amounts. How do I create labels for donated items?

Thanks for the help.
« Last Edit: May 07, 2007, 08:08:16 am by flashl »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Need some guidance
May 07, 2007, 09:55:03 am
RE: fontfile error - I'm pretty sure the library we're using requires that you point to a .ttf file. What specific error are you getting when pointing to tahoma.ttf?

RE: non-monetary donations... our "assumption" is that for a donated items case, you would want to collect BOTH an approximate value of the item (using the "Contribution Amounts" block - with any combination of fixed amounts and/or the Other Amount field) AS WELL as embedding a Profile in the page which would allow folks to name and/or describe the item or items being contributed.

So - you would uncheck the "Execute real-time monetary transaction" checkbox, configure the amount fields as needed and also create a profile for the donated item(s) descriptions (which you would embed in the page using "Custom Page Elements").

If this approach does NOT fit your use case - let us know why and what specific inputs you would need to include on the Contribution page.
Protect your investment in CiviCRM by  becoming a Member!

flashl

  • Guest
Re: Need some guidance
May 07, 2007, 03:15:16 pm
The complaint configured as tahoma.ttf is:
Code: [Select]
Sorry. A non-recoverable error has occurred.

Return to CiviCRM menu.

Error Details:


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

    [code] =>
    [message] => Fontfile not found or not readable.
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Fontfile not found or not readable." code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

Did I somehow violate this rule: "Do not enable this feature for stand-alone profile forms"?

I believe that I am almost there. Presently, I am confused as to why "Custom Page Elements" is insisting on having a custom element at top AND bottom. I know that I am not understanding something. This guide on the page "Add any number of fields to your contribution form by selecting CiviCRM Profiles (collections of fields) to include at the beginning of the page, and/or at the bottom." suggest to me top or bottom and both.

I have created and chosen the Flea Market donated item using custom fields for top of page, when I return both top and bottom have the same profile. This creates a page with the contrib form at top and bottom. Do I need to break the Flea market profile into two separate profiles, one for top and another for bottom?[/code]
« Last Edit: May 07, 2007, 03:49:48 pm by flashl »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Need some guidance
May 07, 2007, 04:01:44 pm
Both the "top of page" and "bottom of page" custom elements (profiles) are optional. You should be able to set none, one or both.
Protect your investment in CiviCRM by  becoming a Member!

flashl

  • Guest
Re: Need some guidance
May 07, 2007, 04:11:16 pm
Using it as it behaves works for me and probably as you described but I didnt understand. What I have now is the Flea Market profile assigned to top of page and Volunteer profile assigned at bottom of page. It now presents the page with all the needed information. SWEET!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Need some guidance

This forum was archived on 2017-11-26.