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 CiviContribute (Moderator: Donald Lobo) »
  • Joomla CiviContribute Layout & Form Submision Error
Pages: [1]

Author Topic: Joomla CiviContribute Layout & Form Submision Error  (Read 1263 times)

ds505

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
Joomla CiviContribute Layout & Form Submision Error
December 19, 2007, 03:59:15 pm
We have Joomla 1.0.12 & CiviCRM 1.8.11536 and are trying to get the CiviContribute forms to work. We're running into layout and form submission problems
  • See the attachment for the current layout problem - it has the same CiviCRM look and feel as in the admin area. We tried the Invoke.php suggestions from this posting http://forum.civicrm.org/index.php/topic,1657.0.html under both the administrator and main Joomla components folders. We're not sure if it's setup correctly because it didn't change the layout.
  • Also, when submitting the form, we're getting the "Could not find valid key" error. We've modified the index.php file for front-end forms based on http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites. And, we've made sure that the Joomla! and Civi config files have the domain name starting with www.

Another note, in the server error logs we're getting "Cannot modify header information - headers already sent by (output started at /server/administrator/components/com_civicrm/civicrm/civicrm.config.php:1) in /server/administrator/components/com_civicrm/civicrm/js/lang/calendar-lang.php on line 127. We've tried the usual deletion of extra blank lines, but that didn't work.

Any ideas? Thanks so much!
« Last Edit: December 19, 2007, 04:01:32 pm by ds505 »
Data-Scribe(r)
http://www.datascribe.biz

ds505

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
Re: Joomla CiviContribute Layout & Form Submision Error
December 21, 2007, 02:54:19 pm
Well, I figured out the first part - the layout error. First, I deleted the administrator com_civicrm files that were accidentally uploaded under the frontend components/com_civicrm directory. Then, we went to the frontend settings file (/components/com_civicrm/civicrm.settings.php) and changed the part that relates to Joomla sites. We changed it from '0' to '1':

/**
 * Joomla! Front-end Component Flag
 * If this configuration file is being used by a Joomla! front-end CiviCRM component
 * instance, set this value to 1.
 */

define( 'CIVICRM_UF_FRONTEND', 1 );

Still no luck on the form submission error. We're using Authorize.net for the processor.
Data-Scribe(r)
http://www.datascribe.biz

ds505

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
Re: Joomla CiviContribute Layout & Form Submision Error
December 21, 2007, 04:01:47 pm
Alright, we resolved issue #2 - Could not find valid key!

We tried testing out the CiviContribute form in the backend/admin area and it worked. We received the e-mail from the merchant. So, we realized we were missing a few things for the frontend:

  • Entered the SMTP server password in the frontend settings file (/components/com_civicrm/civicrm.settings.php)
  • Deleted the test servers from the Authorize.net payment processor in CiviCRM
  • Entered the SMTP server username in the Global Settings of CiviCRM

After that, everything worked just fine. We hope this helps anyone who's in the same boat.
Data-Scribe(r)
http://www.datascribe.biz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Joomla CiviContribute Layout & Form Submision Error

This forum was archived on 2017-11-26.