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 Joomla Extensions (Moderator: lcdweb) »
  • Joomla Menu and Events
Pages: [1]

Author Topic: Joomla Menu and Events  (Read 2793 times)

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Joomla Menu and Events
December 13, 2010, 03:39:28 am
only some of my events are showing up in the dropdown list for a new joomla menu item. the ones that aren't showing are the events that i have created since i upgraded civicrm from 3.1.5 to 3.2.5. im also getting an error just above the dropdown box:
Code: [Select]
Warning: Call-time pass-by-reference has been deprecated in /home/rdcdiving/ringwooddivingclub.com.au/public_html/administrator/components/com_civicrm/civicrm/joomla/site/elements/civieventsonline.php on line 35
firstly, why are none of the events showing up and secondly, what does the error mean?
cheers!

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: Joomla Menu and Events
January 13, 2011, 03:23:54 am
Have you installed CiviCRM and joomla in seperate db?

Kurund
« Last Edit: January 13, 2011, 03:46:32 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menu and Events
January 13, 2011, 05:30:41 am
no, they're in the same db. thanks for helping :)

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: Joomla Menu and Events
January 13, 2011, 05:52:11 am
Can't see any errors on joomla demo, so may be try upgrade ?

Kurund
Found this reply helpful? Support CiviCRM

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menu and Events
January 13, 2011, 04:30:38 pm
ok. i just upgraded to 3.3.2 and i still get the error. i also have the latest version of joomla 1.5.22.

any other suggestions?

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: Joomla Menu and Events
January 14, 2011, 10:42:25 am
Can you apply this patch and check if that helps:

Quote
Index: civieventsonline.php
===================================================================
--- civieventsonline.php   (revision 31800)
+++ civieventsonline.php   (working copy)
@@ -32,7 +32,7 @@
                   'return.end_date'               => 1,
                   'return.start_date'            => 1
                   );
-       $events = civicrm_event_search( &$params );
+       $events = civicrm_event_search( $params );


Kurund
Found this reply helpful? Support CiviCRM

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menu and Events
January 14, 2011, 04:54:48 pm
thanks:)

but... that removed the error, however still none of my new events (since upgrading from 3.1.5) are showing in the dropdown.

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: Joomla Menu and Events
January 17, 2011, 05:45:19 am
Can you debug? Sorry no idea :(

Kurund
Found this reply helpful? Support CiviCRM

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menu and Events
January 17, 2011, 02:00:21 pm
sorry for being such a noob but how do i debug? i found the debugging in the civicrm settings and turned it on and even read the documentation on it but im just not sure as to what command to use. it isn't a civicrm url either, it's a joomla url because it's editing a joomla menu. here's the url:
http://www.ringwooddivingclub.com.au/administrator/index.php?option=com_menus&task=edit&type=component&url[option]=com_civicrm&url[view]=Events&url[layout]=register&cid[]=187&menutype=class-registrations

can you please help me debug? thanks.

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: Joomla Menu and Events
January 17, 2011, 11:04:52 pm
I would suggest hiring someone from http://civicrm.org/professional list.

Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menu and Events
January 21, 2011, 10:37:10 am
are your events enabled? do you have the online registration configuration enabled?
is the event current or in the future?

we filter the list available by the above.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menu and Events
January 22, 2011, 05:48:01 pm
everything is enabled. the events are both current and future.

i read somewhere that someone else was having this problem and that it was a bug from upgrading from 3.1 to 3.2... something to do with the database. does this make sense?

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menu and Events
January 22, 2011, 06:57:21 pm
i don't know of any issues with the upgrade. we pull the event list using the api, and restrict to online, active, currrent/future events. the only issue i recall at one point was that event templates were also listed, but that was corrected.

PM me login details and i'll take a quick look
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menu and Events
January 22, 2011, 09:01:57 pm
you are correct -- the events listing is not always pulling current/future events. the issue becomes apparent when you have more than 25 events in your system, as that is the max number pulled for the dropdown (thus newer events don't appear in the list). there's no issue with the db -- just the way that list is generated

an issue with patches has been filed here: http://issues.civicrm.org/jira/browse/CRM-7425
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • Joomla Menu and Events

This forum was archived on 2017-11-26.