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 Profiles (Moderator: Dave Greenberg) »
  • Error adding new field
Pages: [1]

Author Topic: Error adding new field  (Read 1239 times)

ansm

  • Guest
Error adding new field
March 16, 2009, 01:30:28 pm
I added a custom field to my profile, which is being used in event registration.  I am using CiviCRM 2.2/Drupal 6.10.
I get the following error:
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Page/AJAX.php' (include_path='.:/home/zvmlyg/public_html/sites/all/modules/civicrm:/home/zvmlyg/public_html/sites/all/modules/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/zvmlyg/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php on line 183

The lines are:
else {
                $newArgs  = explode( '/',
                                     $_GET[$config->userFrameworkURLVar] );
                require_once( str_replace( '_',
                                           DIRECTORY_SEPARATOR,
                                           $item['page_callback'] ) . '.php' );

The page_callback is:
CRM_Event_Controller_Registration.php
In fact this file does not appear in the distribution.  Could this be a serious bug?
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: Error adding new field
March 16, 2009, 10:13:36 pm
Not able to replicate on my local install. Can you provide more details to replicate.
If possible replicate this on http://drupal.demo.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error adding new field
March 17, 2009, 12:00:13 pm
Quote from: ansm on March 16, 2009, 01:30:28 pm
The page_callback is:
CRM_Event_Controller_Registration.php
In fact this file does not appear in the distribution.  Could this be a serious bug?

If what you're saying is that the file below is not present in your installation ... then it's possible that something went wrong in the upgrade and some 2.2 files that should have been copied / untarred did not make it:

home/zvmlyg/public_html/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php

You might want to repeat untar / copying of the 2.2 distribution files.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Error adding new field

This forum was archived on 2017-11-26.