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) »
  • Weird glitch in Events section
Pages: [1]

Author Topic: Weird glitch in Events section  (Read 1548 times)

klkosi

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 2
  • CiviCRM version: 3.2.2
  • CMS version: Drupal 6.19
Weird glitch in Events section
September 24, 2010, 12:18:45 pm
I haven't been on the forum in a while, but I am experiencing a weird CiviCRM glitch and I was wondering if someone can help me either fix it or get around it.

While in the Events section in CiviCRM (creating or managing an event) the "save" and "save and done" buttons are not saving my changes and are routing me back to the main page of the site when I click on them.  Sometimes they save properly and transfer me to the appropriate page in the CiviCRM events section, but sometimes, seemingly randomly, I experience the glitch described above.  When it happens, I cannot save my event data.  At the moment I'm trying to create two event templates and I'm stuck because of this issue.

Any idea what might be causing this and how to fix it or get around it?

Thank you!

- Karen

klkosi

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 2
  • CiviCRM version: 3.2.2
  • CMS version: Drupal 6.19
Re: Weird glitch in Events section
September 24, 2010, 12:26:34 pm
Also, I notice that the "save" button in the part of the CiviEvent creation pages that manages event fees tends to have the glitch I described above, but again not always.  The actual address it transfers me to is like so:  http://www.mydomain.org/index.php


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Weird glitch in Events section
September 24, 2010, 12:36:49 pm
See if you're accessing those pages from slightly different URLs at different times - e.g.

http://mydomain.org/administrator ...

vs.

http://www.mydomain.org/administrator

Using an alias for your site that's different from what was stored in the settings file at install time can cause problems like this.
Protect your investment in CiviCRM by  becoming a Member!

klkosi

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 2
  • CiviCRM version: 3.2.2
  • CMS version: Drupal 6.19
Re: Weird glitch in Events section
September 24, 2010, 12:49:20 pm
Hi Dave,

As far as I can tell, I'm accessing the pages as www.mydomain.org/administrator

I looked at the page source and this is the source for the portion of the page with the "Save" and "Save and Done" buttons...

Code: [Select]
<!-- .tpl file invoked: CRM/Event/Form/ManageEvent/Tab.tpl. Call via form.tpl if we have a form in the page. -->
    <form  action="/index.php?q=civicrm/event/manage/eventInfo" method="post" name="EventInfo" id="EventInfo" enctype="multipart/form-data" >



  <div><input name="id" type="hidden" value="6" />

<input name="qfKey" type="hidden" value="dd85a240365d1021cf3938d0869fd336_663" />
<input name="cancelURL" type="hidden" value="/index.php?q=civicrm/admin/eventTemplate&amp;amp;reset=1" />
<input name="_qf_default" type="hidden" value="EventInfo:upload" />
<input name="MAX_FILE_SIZE" type="hidden" value="8388608" />
<input name="is_template" type="hidden" value="1" />
</div>

Anything there look fishy? 



Quote from: Dave Greenberg on September 24, 2010, 12:36:49 pm
See if you're accessing those pages from slightly different URLs at different times - e.g.

http://mydomain.org/administrator ...

vs.

http://www.mydomain.org/administrator

Using an alias for your site that's different from what was stored in the settings file at install time can cause problems like this.

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: Weird glitch in Events section
September 24, 2010, 01:40:54 pm
Quote
As far as I can tell, I'm accessing the pages as www.mydomain.org/administrator

Can you check your /administrator/components/com_civicrm/civicrm.settings.php and make sure you have following:

define( 'CIVICRM_UF_BASEURL'      , 'http://www.mydomain.org/administrator' );

HTh
Kurund
Found this reply helpful? Support CiviCRM

klkosi

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 2
  • CiviCRM version: 3.2.2
  • CMS version: Drupal 6.19
Re: Weird glitch in Events section
September 24, 2010, 01:52:40 pm
Hi Kurund...

Umm, I actually can't find the /administrator/components/com_civicrm/civicrm.settings.php file.  I have a civicrm.settings.php file, but it's located in /sites/default/civicrm.settings.php

In that file, I have:

Code: [Select]
/**
 * Site URLs:
 *
 * This section defines absolute and relative URLs to access the host CMS (Drupal or Joomla) resources.
 *
 * IMPORTANT: Trailing slashes should be used on all URL settings.
 *
 *
 * EXAMPLE - Drupal Installations:
 * If your site's home url is http://www.example.com/drupal/
 * these variables would be set as below. Modify as needed for your install.
 *
 * CIVICRM_UF_BASEURL - home URL for your site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/drupal/' );
 *
 * EXAMPLE - Joomla Installations:
 * If your site's home url is http://www.example.com/joomla/
 *
 * CIVICRM_UF_BASEURL - home URL for your site:
 * Administration site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/joomla/administrator/' );
 * Front-end site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/joomla/' );
 *
 * EXAMPLE - Standalone Installations:
 * If your site's home url is http://www.example.com/civicrm/
 *
 * CIVICRM_UF_BASEURL - home URL for your site:
 *      define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/civicrm/standalone/' );
 */
define( 'CIVICRM_UF_BASEURL'      , 'http://www.MYDOMAIN.org/' );


Should I add a second line with http://www.MYDOMAIN.org/administrator/ ?

The thing is, I can't find that /administrator/ folder...  though everything on the site, save this glitch I'm experiencing at the moment, is working fine...  (and I was able to create and edit some event info about two weeks ago).  Also, I'm using CiviCRM with Drupal, if that matters.
« Last Edit: September 24, 2010, 01:57:59 pm by klkosi »

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: Weird glitch in Events section
September 24, 2010, 02:59:30 pm
Your forum profile says you are using joomla, hence pointed you to civicrm.settings.php path in joomla. Your CIVICRM_UF_BASEURL looks correct. Can you update your forum profile correctly. ( http://forum.civicrm.org/index.php?action=profile;u=43052;sa=forumProfile )

Kurund
Found this reply helpful? Support CiviCRM

klkosi

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 2
  • CiviCRM version: 3.2.2
  • CMS version: Drupal 6.19
Re: Weird glitch in Events section
September 24, 2010, 08:16:06 pm
Hi Kurund,

I'm sorry for the profile information.  When I signed up I had originally intended to use Joomla for my project but I ended up working with Drupal instead, and I guess I forgot what my forum profile said.  I've corrected it, though.

Any idea what might be causing the glitch in Drupal?  Everything else seems to be working beautifully and this problem seems so random.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Weird glitch in Events section

This forum was archived on 2017-11-26.