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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Civi broken after moving WP to run from root directory
Pages: [1]

Author Topic: Civi broken after moving WP to run from root directory  (Read 810 times)

ajdele

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
  • CiviCRM version: 4.3.4
  • CMS version: WP 3.5.1
  • MySQL version: 5.1.65-cll
  • PHP version: 5.3.6
Civi broken after moving WP to run from root directory
November 03, 2012, 11:38:12 am
I've lost function on public facing civi pages (event registration, donate) after starting to run wordpress from the root directory. I used a 'wp' directory to set everything up, then swapped the index.php and .httaccess to launch the wordpress site publicly. It worked great for Wordpress, not so great for the CiviCRM plugin. I found and changed the BASEURL definition in settings.civicrm.php but it doesn't seem to help, in fact it has seemed to break a lot of the little helper images in the on the admin side of civi. Any help is appreciated!

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: Civi broken after moving WP to run from root directory
November 03, 2012, 11:44:33 am

might want to follow the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC42/Moving+an+Existing+Installation+to+a+New+Server+or+Location

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

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Civi broken after moving WP to run from root directory
November 04, 2012, 05:16:06 am
ajdele, you need to adjust the directories in your civicrm.settings.php file and also you may need to run

UPDATE `civicrm_domain` SET `config_backend`=NULL ;

to reset the directories in the database. These items are also listed on that page Lobo referenced.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Civi broken after moving WP to run from root directory

This forum was archived on 2017-11-26.