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) »
  • Contribution Page ID is NOT accepted on Menu Manger
Pages: [1] 2 3

Author Topic: Contribution Page ID is NOT accepted on Menu Manger  (Read 6873 times)

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Contribution Page ID is NOT accepted on Menu Manger
March 28, 2009, 12:18:08 pm
I am trying to create a Menu item on the top menu for "Donate". I go to the menu manager and select page type as "Contribution page" and in the "basic parameters" I see the drop down menu for "Contribution ID". I t is NOT populated. It will not accept any value. It is colored yellow.

Any thoughts?

Thanks,
C

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Page ID is NOT accepted on Menu Manger
March 29, 2009, 07:00:45 pm
Have you configured an Online Contribution page for your site (CiviContribute >> Manage Contribution Pages ?

If so, are you seeing any warnings or error messages in the menu manager?
Protect your investment in CiviCRM by  becoming a Member!

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Re: Contribution Page ID is NOT accepted on Menu Manger
March 30, 2009, 07:28:08 am
Yes, I have the two "default" pages (Help Support CiviCRM!, etc.) and two others that we created in CiviCrm 1.7. They all have ID's and the one we have created in civicrm 2.2 is ID'd #5. None of the ID's appear to populate the drop down menu in Menu Manager "Contribution" type page.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 02:17:48 am
Quote
I go to the menu manager and select page type as "Contribution page" and in the "basic parameters" I see the drop down menu for "Contribution ID". I t is NOT populated. It will not accept any value. It is colored yellow.

The latest page type i see is -
CiviCRM Contribution Pages
 + Contributions
 + Personal Campaign Pages
 + Personal Campaign Info Pages

and no "Contribution page".

I guess this could be due to views directory not being in the updated state. Can you try  -
COPY (overwrite if needed) "joomla/administrator/components/com_civicrm/civicrm/joomla/site/views" directory INSIDE "joomla/components/com_civicrm/" directory.
and check if it makes any difference ?

« Last Edit: March 31, 2009, 02:53:42 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Re: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 07:15:25 am
Go ahead and select the "Contributions" option under Menu Item Manager. You will see a drop down box under "Basic Parameters". The drop down box has nothing in it. According to the wiki it should be populated with the various Contribution pages ID numbers that you have created in the "Manage Contributions Page".

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 07:24:59 am
I do see that drop down list of contribution IDs on my setup :)

And to solve the problem in your case, i recommended the solution. Did "copying views dir" work by the way ?
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 09:54:16 am
Actually, if the site is configured properly - at Menu Manager >> Main Menu >> New >> CiviCRM >> CiviCRM Contribution Pages >> Contributions ... you should see a drop-down with a list of your Online Contribution Page TITLES (rather than the contribution page ID's that we used to show).

In case Deepak's instructions for updating the menu manager config are unclear... assuming command line access:
Code: [Select]
// from your joomla installation root directory
cp administrator/components/com_civicrm/civicrm/joomla/site/views components/com_civicrm
Protect your investment in CiviCRM by  becoming a Member!

samw3

  • Guest
Re: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 01:36:25 pm
I'm working with carpenter on this problem.  We copied the views over and still there is nothing in the drop down.

I've also ran the queries that are embedded in the tmpl/default.xml file and the data is there in the database.  It's just that joomla is not seeing it.

Is there a cache that needs to be cleared or something?  Why isn't joomla picking this up?

Any other ideas?

Thanks,

Sam

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: Contribution Page ID is NOT accepted on Menu Manger
March 31, 2009, 02:11:30 pm

since we are running out of ideas, here's another shot in the dark that might work. i'm assuming u r on 2.2.1

1. uninstall civicrm (this should not touch the db tables)

2. install civicrm and follow steps 1 to 3

http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Joomla+Sites+to+2.2

3. See if this helps fix the situation

to be super safe, make a copy of both the code and database in case things go wrong and/or a bug in the software messes things up (both are likely)

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

Signals

  • I’m new here
  • *
  • Posts: 27
  • Karma: 1
  • Learning CiviCRM for future opportunities
    • Halton-Peel Hispanic Association
Re: Contribution Page ID is NOT accepted on Menu Manger
April 01, 2009, 09:27:17 pm
Lobo,

As you may know from another thread, I have been faced with the same problem.  I have tried copying views directory... no joy.  I uninstalled 2.2.0 and installed 2.2.1.  Still nothing.

I tried to see if anything is different between my site and the demo site at http://joomla.demo.civicrm.org.  Interestingly, the same error appears there when I try to set up a menu item.  I looked, however, and I am not seeing any Contribution Pages, nor even the Component.  I can't test it because I can't create a Contribution Page.  Any thoughts on perhaps another CiviCRM over Joomla demo site I could log into and look around?

Thanks,
Matthew


Signals

  • I’m new here
  • *
  • Posts: 27
  • Karma: 1
  • Learning CiviCRM for future opportunities
    • Halton-Peel Hispanic Association
Re: Contribution Page ID is NOT accepted on Menu Manger
April 02, 2009, 12:47:33 am
Out of curiosity, is it possible that
Code: [Select]
index.php?option=com_civicrm&view=Contributions has something to do with it?  I have seen code fail in the past because of an uppercase letter or an accidental plural.  Is it possible the system should be looking for "=contributions" or "=Contribution", perhaps case-sensitive on some platforms but not others? 

Just a thought...

Matthew

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: Contribution Page ID is NOT accepted on Menu Manger
April 02, 2009, 07:01:11 am

the views code was contributed by a community member. To be honest, we dont really understand the mechanism of how it works etc very well, hence our ability to debug / help fix the issue is quite limited

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

Signals

  • I’m new here
  • *
  • Posts: 27
  • Karma: 1
  • Learning CiviCRM for future opportunities
    • Halton-Peel Hispanic Association
Re: Contribution Page ID is NOT accepted on Menu Manger
April 02, 2009, 07:44:13 am
Thanks for the reply.  I understand, as I am in a group with a core coder with Joomla who indicated that it was "messy code", with an upgrade expected for a near-future revision.

In the meantime, it confuses me that this application is in use with so many people and my instance, which is not terribly unique (not much more than core Joomla app), will not work.

I would like to see if there are any similarities between my instance and anyone else who has this problem.  For example: My specifics are...

ISP: ICDSoft (SureServer.com)
Other Extensions: JoomFish (now removed but no change), JoomlaShine Epic Template and ImageShow

What other variables may affect this?

Matthew

actsacts

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
Re: Contribution Page ID is NOT accepted on Menu Manger
April 02, 2009, 10:21:00 am
Matt,

I logged into the CiciCRM 2.2 Demo Joomla Frontpage with IE7 and Firefox 3.08. Here is the error I get on the Demo site under Menu Manager>Main Menu>New>CiviCRM>Contirbutions . . . with BOTH browsers:

Warning: Invalid argument supplied for foreach() in /var/www/joomla.demo.civicrm.org/public/libraries/joomla/html/html/select.php on line 68

Warning: Invalid argument supplied for foreach() in /var/www/joomla.demo.civicrm.org/public/libraries/joomla/html/html/select.php on line 68

In my actual install I get an no error message, ut I do get this screen with the debug ON.
It is interesting to note that I am also having trouble with the CiviEvent module NOT appearing in the menu manager.

I am attaching a screenshot. It seems that none of the modules are being found.

Hope this helps you guys

carpenter

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1.63-community-log
  • PHP version: 5.2.17
Re: Contribution Page ID is NOT accepted on Menu Manger
April 02, 2009, 10:38:15 am
Matt,

Having identical problems.

ISP: Startlogic.com VPS product
Other Extensions: None

PS Donald, my double posting as a separate ID = carpenter/actsacts registers according to which browser I use.

Pages: [1] 2 3
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Page ID is NOT accepted on Menu Manger

This forum was archived on 2017-11-26.