I've installed civicrm 1.2 on Drupal 4.6. When I try to administer civicrm, I am given the error Access Denied, and I have to login again. I've tried it logged in as user 1 and another user wiht civicrm admin permissions. When I try to do a function, and get the Access Denied, if I login again then the function will be applied or I'll get access to the menu, etc. Any idea what this could be?
Also, when I try to synch users I get the error:
user warning: Smarty error: unable to read resource: "CRM/Admin/Form/Drupaluser.tpl" in /home/.../modules/civicrm/packages/Smarty/Smarty.class.php on line 1088.
The "..." is the compete path to the modules directory.
Any ideas? I think I installed everything correctly.
Comments
Somone else had a similar problem, I believe
This generally means an error in the path settings in the configuration file. The CRM-dev list can help you at http://www.openngo.org/mailinglists.html
Alternatively, you might want to consider the CivicSpace distribution which includes an automated installer. (CivicSpace includes a number of drupal modules, including CiviCRM and does the basic configuration for you)
http://www.civicspacelabs.org/home/download
David Geilhufe
Social Source Foundation
Try CiviCRM http://www.openngo.org/
Same CiviCRM login problem - did you resolve?
I'm having the exact same problem with CiviCRM 1.3 with Drupal 4.6.5. Did you find which path was wrong in the configuration file? I can't seem to locate it. Maybe been staring at it too long.
Found the solution for root directory Drual install
I couldn't figure out what the correct paths were on my own, so I installed CivicSpace and ran the automated installer to see what paths it gave me. This is the configuration I got--it should work for anyone with a ROOT DIRECTORY installation of Drupal. In civicrm.settings.php--
Under "File system paths for this install" change:
to:
Under "Site URLs" change:
to:
CiviCRM is working fine now for me.
Also made clearer to me through the CivicSpace install were some CiviCRM and Drupal permission settings. After (re)uploading civicrm.settings.php and making sure the new paths work, chmod the directory 'files' and all its directories to 755 (drwxr-xr-x). Also chmod the 'sites' directory and all its directories and files to 755 (drwxr-xr-x) if you can (on Dreamhost I had to chmod them to 555 (dr-xr-xr-x)).
worked for me too
same solution for Access Denied problem on mac clients Safari, Firefox, and Netscape (had no problem on IE)
is there any other way around this ?
i am running civicrm 1.3 on top of drupal 4.66 and it installed as follows:
http://www.example.com --> contains 1 drupal site which is not related
http://www.example.com/database --> contains drupal 4.66 installation with civicrm
i keep getting the 'access denied' error when i try to do anything and it forces me to re-login continually...
please advise
thanks
- jochen
-------
http://quilted.org
http://jochenhartmann.com