This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

CiviCRM - Fatal error, site blocked!! - Fatal error: civicrm_initialize() civicrm.module on line 227

Hy
I was trying to install the last CiviCrm module (civicrm-1.6.8517-drupal-php5.tar) on a Drupal 5.1 (drupal-5.1.tar) CMS.
My configuration is: MySQL Server 5.026, and PHPMyAdmin 5.018.
I'm totaly novice concerning this product so after having installed drupal correctly, I managed to install CiviCRM with the wiki documentation given by CiviCRM.
(http://wiki.civicrm.org/confluence/display/CRM/Install+CiviCRM+1.6+for+D...)

First I got this error message: "Parse error: syntax error, unexpected ',', expecting '(' in /home.13/s/o/s/sosbuena/www/modules/civicrm/drupal/civicrm.module on line 429" -> Donald A. Lobo advised me to try with the CiviCRM module for PHP4 server, what I did.

Now I got a new error message:

Fatal error: civicrm_initialize() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/www/modules/civicrm:/www/modules/civicrm/packages:.:/usr/local/lib/php') in /home.13/s/o/s/sosbuena/www/modules/civicrm/drupal/civicrm.module on line 227

I think that the mistake is situated in my civicrm.settings.php file.
So I join the current configuration:

define( 'CIVICRM_UF' , 'Drupal' );
define( 'CIVICRM_UF_VERSION' , '5.1' );
define( 'CIVICRM_UF_URLVAR' , 'q' );
define( 'CIVICRM_UF_DSN' , 'mysql://sosbuenadrupal:mypassword@mysql5-2/sosbuenadrupal?new_link=true' );

Spread Firefox Affiliate Mod

Hi all,

Does anyone know how to update it to work with 5.x

I tried adding the file affiliates.info and it installed well.

I almost got it working. But i had few problem in the Admin Panel. so i uninstalled it.

:(

Please help.

Thanks,

Webcal

is there any way i can set it up so that other users can create an account on my webcal, or do i have to individually create accounts on my own?

Creating a template for blogs?

I am using drupal 5.1

I am creating blogs where people can post their pictures
to share with the community, however this is what I want to do.

For each picture I have inserted some html codes so that others
can embed the picture on their site. I want to set up a template,
so that all they need to do is enter in their url from FLICKR
or Photobucket for example.

checkbox settings not saved after settings are submitted

Hi all
I a am writing 5.x module (to handle past events )
I have a problem with checkbox values - the value are not saved after form is saved
in the settings form i have a radio and a few checkboxs , the radio value is saved but the checkboxes value stay as there default value
here is the code

function past_events_admin_settings(){
$form = array();

$form['past_events_action'] = array(
'#type' => 'radios',
'#title' => t('Past Events Action to take'),
'#default_value' => variable_get('past_events_action', 'Manage'),
'#options' => array('manage' => t('manage by the settings below'), 'delete' => t('Delete Event'))
);

$form['past_events_manage_options'] = array(
'#type' => 'fieldset',
'#title' => t('Manage Options'),
'#collapsible' => FALSE,
'#collapsed' => FALSE,
);
$form['past_events_manage_options'] ['unsticky']= array(
'#type' => 'checkbox',
'#title' => t('UnSticky event'),
'#default_value' => variable_get('past_events_unsticky',0),
);
$form['past_events_manage_options'] ['unpublish']= array(
'#type' => 'checkbox',
'#title' => t('UnPublish event'),
'#default_value' => variable_get('past_events_unpublish',0),
);
$form['past_events_manage_options'] ['unpromote']= array(
'#type' => 'checkbox',
'#title' => t('UnPromote event'),

Views + Blonde moment...

Uhh, yeah, I can't figure out what I'm doing wrong here.. I hope someone can point out what's going on...

I have a series of views that I created in drupal 4.7x, and have converted to 5.x without any problem. I can edit these views without any issue.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions