Namaste.

I have been working on a CiviCRM installation with Drupal 5.1. Some initial difficulty getting it installed, so a few questions on configuration. Main problems:

1. All of the links in "Administer CiviCRM" are doubled in each section of the page (ex: Access Control
Access
Control)

2. "Recently viewed" - despite being two links, "individual" and the "recently viewed contact" appear as one word with no space, colon, etc. between them on the first line (ex: Individualavatarwebdesign@yahoo.com)

3. Drop down menus doubling unaligned "#" pegs - (import / CiviContribute /CiviMember menus)

4. Tables coming in too wide for 3 column layout in some sections - nowrap solution?

Thanks for any suggestions.

peace
Jeffrey

Comments

avatarwebdesign’s picture

Global Settings - navigating

Fatal error: Cannot instantiate non-existent class: crm_admin_form_setting_component in /-/-/-/modules/civicrm/CRM/Core/Controller.php on line 289

avatarwebdesign’s picture

Hi Jeffrey - These symptoms indicate that your CiviCRM Resource URL is
not set correctly. Basically, you are seeing the ALT tags instead of
the images, because the images aren't being loaded.

To fix this, go to Administer CiviCRM >> Settings >> Resource URLs and
check the value there. If you paste that value into your browser bar,
then append "i/contact_ind.gif" to the end, it should bring you to the
Individual Contact icon.

For example, on our demo site, the setting is:
http://demo.civicrm.org/drupal/modules/civicrm/

... and browsing to
http://demo.civicrm.org/drupal/modules/civicrm/i/contact_ind.gif loads
the icon.

NOTE: mistake on initial editing of configuration file was saved in global settings - correcting this solved issues 1 to 3

I am still having some tables load too wide for a 3 column lay out and receiving the fatal error when "enabling components" - issue 4 + footnote

avatarwebdesign’s picture

Debugging Drupal 5.1 + CiviCRM 1.6 Installation:
(Blue Marine - 3 column layout)

Summary of Open Issues:

1. Administer - Global Settings - Setup
+ "Enable Components" --- leads to:
" Fatal error: Cannot instantiate non-existent class: crm_admin_form_setting_component in /-/-/-/modules/civicrm/CRM/Core/Controller.php on line 289"
+ critical

2. contact search bar - dropdown menu - no dropdown?
- just an arrow (?)
+ minor - any functionality there?

3. advanced search - address fields - no info in dropdown section
- all other dropdown boxes ok (not configured yet? other problem?)
+ unknown (EDIT: this is no longer arising - resolved)

4. search criteria: find contacts search page - not working?
+ no search button here?
menus: find - all contacts +dropdown (in) any group + dropdown
(tagged) -a + dropdown + >>
- no buttons??? functionality? only leads to advanced search?
- missing components? Note: 3rd menu is cut off
+ unknown

5. contact search results - return page - too large for 3 column

CiviContribute Page - too large for 3 column
Find Contributions - same
Import Contributions - ok w/ 3 column

CiviMember Page - too large for 3 column
Find Members - content & right column overlap incorrectly
Import Members - ok w/ 3 column

+ NOTE: possible solution - create special 2 column view for above pages while keeping 3 column theme in over-all site
+ other solutions? font size or no-wrap?
+ suggestions?

Everything else looking ok after initial install - not too certain about the values input into the config files and may need to re-edit those values, but 95% working after initial test

Install Issues:
1. one config.settings file in both sites/default and civicrm/main level
2. civicrm.css in two locations also: css file + main level civicrm directory
3. drupal folder as drupal or modules?
4. two config.settings + css files really needed? Correct locations?

avatarwebdesign’s picture

Donald A. Lobo commented on CRM-1593:
-------------------------------------

a. Looks like most of these are install issues that bugs per se. please
use the civicrm-dev mailing list at http://lists.civicrm.org/ for this

b. what version of php / mysql / drupal / civicrm?

c. are you using a php optimizer, if so which one and version. This
might be a potential cause for item 1

d. items 2,3 and 4 seem like a misconfiguration / bad templates_c
directory etc. Seems like the system cannot find dojo.js

e. you might want to switch to a 2 column layout for civicrm pages. The
3 column issue is know and is not likely that it will be fixed anytime
soon

other questions, please post on the list. If you can get on IRC
(irc.freenode.net, #civicrm), we could help u debug it there

avatarwebdesign’s picture

You're right.... system cannot find dojo.js - how to correct that?

Versions:

php: 4.4.4
mysql: 4.1.21-standard
Drupal: 5.1
civicrm: 1.6

php optimizer: unknown

I think I may need to reconfigure the settings in config.settings to enable the mail? I left them blank initially - anything below and including smtp password i left empty in the file.

I will check the 2 panel / 3 panel lay out combination once I get the civicrm satisfactory / all working normally. Any possibility for horizontal scroll bars on those tables in 3 column, as I saw that in another page.

Thanks for the assistance.

avatarwebdesign’s picture

1. u should not change / touch civicrm.config.php

2. try to make these settings absolute in civicrm.settings.php

$civicrm_root = './modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', './modules/civicrm/templates_c/'
);

i.e. make them

$civicrm_root = '/home/.../../../modules/civicrm/';
etc

Donald

Namaste. I went through every folder in the civicrm folder and found a couple of other 0

value files from the ftp upload. I changed the civicrm.config.php to the original file and put

the absolute values in the civicrm.settings.php file. Now the address on the error message

has changed to:

invalid flag after regular expression
calendar-lang.php (line 2)
Warning: main(CRM/Core/Config.php) [

href='function.main'>function.main

]: failed to open stream: No such file or directory in

/-/-/public_html/-/civicrm/js/lang/calendar-lang.php on line 4

I am wondering because Drupal 4.7 has a calendar but 5.0 doesn't (?) and I am upgrading

from 4.7 also - looked at the bluemarine.css file and it is a 4.7 version. I am using a 5.0

bluemarine css and the settings are different - no calendar.

I also think the find contacts page is strange because there is no search button there but it

may just be cut off by 3 column view and I have no reference for the standard, correct

page to judge it by.

If you have a chance, let me know what you think about this.

peace
Jeffrey