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 CiviEvent (Moderator: Yashodha Chaku) »
  • Civi Event registration form blank on public wordpress page
Pages: [1]

Author Topic: Civi Event registration form blank on public wordpress page  (Read 726 times)

DaveT

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 1
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7
  • MySQL version: 5.5.28
  • PHP version: 5.3
Civi Event registration form blank on public wordpress page
September 26, 2012, 07:11:32 pm
I have created an event registration page with profiles

The page works fine if accessed directly using the event link
mysite.org/wordpress/?page=CiviCRM&q=civicrm/event/info&page_id=4&reset=1&id=1&noFullMsg=true

When I try to enter the event registration into a wordpress page using this code:
[civicrm component="event" id="1" mode="live" action="register"]

Whenever this code is inserted into the page, the only thing that is displayed on the public page is the headline for the page.

The event registration page is active, the profile seems to work correctly when accessed with the direct link.

(Similar issue seems to occur with a contributions page)

Any help would be appreciated.

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: Civi Event registration form blank on public wordpress page
September 27, 2012, 12:13:59 am

any errors or warnings in either your php or apache logs?

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

DaveT

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 1
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7
  • MySQL version: 5.5.28
  • PHP version: 5.3
Re: Civi Event registration form blank on public wordpress page
September 27, 2012, 05:42:56 am
thanks for quick reply

I am a bit over my head on this.  There did not seem to be a log file so I added a php.ini line to add an error_log

error_log = /var/log/php_errors.log

I created an empty file of that name in the directory


I reran the problem page but do not see any errors in the new file.  Not sure if this means it hasn't thrown an error yet or it is still not logging.  i did restart httpd after adding the error log line

DaveT

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 1
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7
  • MySQL version: 5.5.28
  • PHP version: 5.3
Re: Civi Event registration form blank on public wordpress page
October 15, 2012, 12:59:24 pm
Following up - I was able to get the event registration to work on another instance of CiviCRM that I am running.  Not sure what the difference is between the two installations.  Will try to troubleshoot the differences when I have some time.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Civi Event registration form blank on public wordpress page

This forum was archived on 2017-11-26.