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 (Moderator: Dave Greenberg) »
  • EVENT TEMPLATE EDITING PROBLEM
Pages: [1]

Author Topic: EVENT TEMPLATE EDITING PROBLEM  (Read 1800 times)

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
EVENT TEMPLATE EDITING PROBLEM
July 28, 2011, 09:21:32 am
Hi all,
I'm tryng to setting up civicrm 4.0.4 under Drupal 7.7.
I've followed step-by-step installation procedure and all seem work.
I've only one problem.
When I edit Edit Template (editing existing one or creating new one) I can only edit Info&Settings tab. If I move to other tab (Event Location, Fees, etc...) clicking "Save" or "Save and New" it will directly go to drupal Home Page.... and save nothing.. without error. :-((
The interesting issue is that if I click "Edit Template" and edit the Info&Settings field without moving to other tab, it works properly. But If I move to other tab and then came back to Info&Settings it redirect me to drupal home page...
I can't find the problem. I've try to downgrade to drupal 6.6 with civicrm 3.4 but it's the same....
Could you help me please!?
Thanks you very much
Simone

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: EVENT TEMPLATE EDITING PROBLEM
July 28, 2011, 10:45:45 am
Might be a problem with using multiple URLs to access Drupal and CiviCRM (i.e. http://mysite.org AND http://www.mysite.org). This causes session and authentication problems. Check for differences in drupal settings, civicrm.settings.php, CiviCRM > Administer > Global Settings > Resource URLs.
Protect your investment in CiviCRM by  becoming a Member!

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
Re: EVENT TEMPLATE EDITING PROBLEM
July 28, 2011, 01:33:46 pm
Sorry but I don't understand,
I access to Civicrm using the url http://<my_ip>/drupal/?q=civicrm/

In Resource_URL form I've:
URL CIVICRM RESOURCE = http://<my_ip>/drupal/sites/all/modules/civicrm
URL_SEND_IMAGE = http://<MY_IP>/drupal/sites/default/files/civicrm/persist/contribute/

Please could you explain me what could I check/edit in my configuration?
Thank you very much

in attachments my settings.php and civicrm.settings.php


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: EVENT TEMPLATE EDITING PROBLEM
July 28, 2011, 02:31:17 pm
So you are accessing your site via IP address? Are you always doing that - or do you sometimes use the domain? If you sometimes use the domain (e.g. http://mydomain.org) and sometimes the IP (http://194.xxx.x.xx) I think that can cause problems.

Otherwise, ff CIVICRM_UF_BASEURL (civicrm.settings.php) and $base_url are the same, and if you go to CiviCRM > Administer > Global Settings > Resource URLs - you also see the same base URL + sites/all/modules/civicrm/, then my theory may be wrong. Check for errors in your web server and drupal logs.
Protect your investment in CiviCRM by  becoming a Member!

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
Re: EVENT TEMPLATE EDITING PROBLEM
July 29, 2011, 07:47:09 am
I've checked but all variables has the same value...

I've just tried to enable Clean_Url adding rewrite function in Apache and now I can access to civicrm by http://ip/drupal/civicrm

This is the url of event template editing form:
http://myIP/drupal/civicrm/event/manage/eventInfo?action=update&id=5&reset=1

What it's possible that only this page doesn't work for me!?!!? I'm have not other ideas...  :-[ :-[

Please have you some suggestion?
Tnks very muck

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
Re: EVENT TEMPLATE EDITING PROBLEM
August 01, 2011, 03:32:57 am
Any Ideas please?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: EVENT TEMPLATE EDITING PROBLEM
August 01, 2011, 07:12:03 am
Have you checked for javascript errors w/ firebug? Have you checked your webserver and drupal logs for errors or warnings?
Protect your investment in CiviCRM by  becoming a Member!

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
Re: EVENT TEMPLATE EDITING PROBLEM
August 01, 2011, 08:57:37 am
- I've activated firebug but not errors...
- In drupal error/log reports I've no messages (I've activate all messages logging level).
- I've made new fresh installation (os + apache + drupal + civicrm) without difficult or error.

Could be a permission problem? It's strange that all other form works ok! This is very big problem for me... Please help me.

I'm using apache 2.2 and php 5.3, are some particular modules needed?

Thanks you very much!


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: EVENT TEMPLATE EDITING PROBLEM
August 01, 2011, 03:41:20 pm
No idea what's happening :-(
Just tried those exact steps on our Drupal 7 / CiviCRM 4 demo and it works properly.

http://d7.demo.civicrm.org/civicrm/event/manage/fee?action=update&reset=1&id=6

If you checked apache logs / error logs and there's also no info there - I'm out of ideas.
Protect your investment in CiviCRM by  becoming a Member!

simo0082

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.7
  • MySQL version: 5
  • PHP version: 5.3.2
Re: EVENT TEMPLATE EDITING PROBLEM
August 02, 2011, 05:10:00 am
SOLVED, I've found the solution,
The problem was that i've not enable clean_url in drupal.

I've enabled it and now it work.

I've seen that, only in this form, javascript can't manage url ..index.php?q=civicrm.... and truncate it in /index.php (drupal home page).

But, could it be a bug?

Thank you very much.
Simone

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: EVENT TEMPLATE EDITING PROBLEM
August 09, 2011, 11:39:54 am

this is a bug, filed here:

http://issues.civicrm.org/jira/browse/CRM-8630

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • EVENT TEMPLATE EDITING PROBLEM

This forum was archived on 2017-11-26.