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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • User 1 has lost access to most or all editing functions
Pages: [1]

Author Topic: User 1 has lost access to most or all editing functions  (Read 913 times)

mocolvin

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
User 1 has lost access to most or all editing functions
April 07, 2010, 08:57:43 pm
A few weeks ago I installed Civicrm in a Drupal environment to provide Event management capabilities on our website.  Tonight I needed to make changes in an event price set.  I was able to log on as user 1, go to the event price set page, and select the price set, but when I used the edit link, I lost the login data on the new page and was treated as an unregistered user.  Several attempts were made with the same result.  I tried making changes in the event information with similar results. 

Is there a cookie that is not being found by Civicrm?  Since the last time I was in Civicrm I found it necessary to do a complete reinstallation of OS (from Vista to Windows 7) on the laptop.  I reinstalled files from a  backup.  I am using Firefox browser, but I have also tried IE with the same results.

HELP!!!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: User 1 has lost access to most or all editing functions
April 08, 2010, 02:51:53 pm
CiviCRM keeps track of your session and login information.  If you feel you are being spontaneously logged out, try logging out at yoursite.org/logout and logging back in at yoursite.org/user

Next, try another computer.

These are the easy fixes.  

Then, if this doesn't allow you to edit your CiviCRM page, then check to see that your settings.php file and your civicrm.settings.php file are configured correctly.  It could be that if there is a domain, cookie domain, or SSL conflict resulting in the site feeling you are logged out, even if you feel you are not.   Pay close attention to if the www exists in the URL or not.  If this www disappears or reappears, you have a configuration problem.  Address that configuration problem and you should be happy.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

mocolvin

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
Re: User 1 has lost access to most or all editing functions
April 08, 2010, 03:07:04 pm
About 10 minutes after I submitted my query I discovered the URL change.  I was tipped to it by another posting.  I'm assuming it's something I can fix with a tweak of the htaccess file, but I'll have to figure out which htaccess file it is and what the command is for including URLs with www and those without.

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: User 1 has lost access to most or all editing functions
April 08, 2010, 03:19:45 pm
Although that is partially true, it is not only in your .htaccess file.

It is actually in a few, other different places:

/sites/default/settings.php
/sites/default/civicrm.settings.php

Through the GUI admin interface of CiviCRM go to Administer > Global Settings > Resource URLs

Make sure that all these locations either have the "www" or do not.  consistency is key


PS. If your site is really wacked, you may have to clear out all cached versions of template files and configurations in the database using the instructions here, as if you were moving an installation completely: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location
.....but I don't reccommend doing this unless nothing else has worked first.
« Last Edit: April 08, 2010, 03:25:19 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: User 1 has lost access to most or all editing functions
April 09, 2010, 01:27:02 am

This is non-www to www: (circus.org.nz)

        RewriteEngine on
        RewriteCond %{HTTP_HOST}  ^circus\.org\.nz$ [NC]
        RewriteRule ^/(.*)         http://www.circus.org.nz/$1 [L,R]


Giving stoob karma for the best signature quote of the month


Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mocolvin

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
Re: User 1 has lost access to most or all editing functions
April 09, 2010, 08:48:12 pm
Thanks to everyone for your kind assistance.  Stoob, I think the site is not too wacked and I will check for consistency on the URLs in the settings files.  Eileen, I was hoping someone would be kind enough to give me the htaccess code for rerouting.  In my dotage I'm becoming even too lazy to run a Google search.  Thanks!!

I'm wondering now if the aforementioned problem is the reason my custom data doesn't consistently save. I've just submitted another forum topic on that issue. 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • User 1 has lost access to most or all editing functions

This forum was archived on 2017-11-26.