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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • After Upgrade, all actions redirect to WordPress Login
Pages: [1]

Author Topic: After Upgrade, all actions redirect to WordPress Login  (Read 1046 times)

OpinionMover

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: WordPress
  • MySQL version: 5.5
  • PHP version: 5.3
After Upgrade, all actions redirect to WordPress Login
May 29, 2013, 05:10:59 am
Our upgrade seemed to happen without a hitch, but immediately after completion, all CiviCRM actions redirect to the WordPress login.  Logging in drops you back and the dashboard.

We've followed all the troubleshooting options we have found, but the CRM is useless unless we can figure out how to get past the login problem.

As an example, attempting to use search builder returns this redirect url: /wp-login.php?redirect_to=http%3A%2F%2Fdomainname.com%2Fwp-admin%2Fadmin.php%3Fpage%3DCiviCRM%26q%3Dcivicrm%2Fcontact%2Fsearch%2Fbuilder&reauth=1

(the domain above is intended for illustration and not the actual domain) 
« Last Edit: May 29, 2013, 05:37:18 am by OpinionMover »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: After Upgrade, all actions redirect to WordPress Login
May 29, 2013, 11:18:10 am

is your wordpress domain and civicrm domain the same

i.e. example.org OR www.example.org

seems like WP is not recognizing u as being logged in

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

OpinionMover

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: WordPress
  • MySQL version: 5.5
  • PHP version: 5.3
Re: After Upgrade, all actions redirect to WordPress Login
May 29, 2013, 02:24:04 pm
Scratch my earlier reply. The civicrm.settings.php file was missing the www. Not sure how I missed that.

Thanks for the diagnosis.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • After Upgrade, all actions redirect to WordPress Login

This forum was archived on 2017-11-26.