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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Issue after changing to live site
Pages: [1]

Author Topic: Issue after changing to live site  (Read 1426 times)

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Issue after changing to live site
April 02, 2012, 08:49:14 am
I am currently changing hosts, and i opted just to install a fresh install on my new host (hostmonster).  I am changing from dreamhost. 

However, the issue lies really in how the development went.  Because I was developing along side an existing site, I developed my site at a test location from hostmonster http://<IP>/~<site>/default (NOTE:  /default is where my Joomla is installed to)

After changing to the live site, I can log into the administration of Joomla just fine, and I can get to the main site of civicrm. 

However, when I try to go anywhere else within civicrm, it is adding ~<site> into the address bar.

I have modified the Base URL to read:  http://<site>/default

But when I try to manage my events it links me to:  <site>/~<site>/default/...

If i remove ~<site> then it will work, but it is very annoying to have to do this on every page I visit. 

Am I missing something?  Is there another location to change other than "Cleanup Caches and Update Paths"

Any help would be much appreciated

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 02, 2012, 11:45:21 am
Visit

civicrm/menu/rebuild?reset=1

to rebuild menus.
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.

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Re: Issue after changing to live site
April 02, 2012, 01:00:12 pm
I ran the following:

On the Main site:
<Site>/index.php?q=civicrm/menu/rebuild&reset=1

And on the administrator site:
<Site>/administrator/index.php?q=civicrm/menu/rebuild&reset=1

Both resulted in no change

I also tried running:
<Site>/administrator/index.php?option=com_civicrm/menu/rebuild?reset=1 - 404 error
and
<Site>/index.php?q=civicrm/menu/rebuild&reset=1 - No Change

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 02, 2012, 01:37:47 pm
http://<your_joomla_home>/administrator/index.php?option=com_civicrm&task=civicrm/menu/rebuild&reset=1
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.

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Re: Issue after changing to live site
April 03, 2012, 09:14:04 am
When I attempt to run that, it directs me to the following site:

http://<Joomlasite>/~<sitename>/default/administrator/?option=com_civicrm&task=civicrm/dashboard&reset=1

[update] I forgot to add that it resolves to a 404 error.

In essence it is still populating that ~<sitename> part into the URL. 

I navigated to that site, after I was logged into the administrator site, is that not correct?

Thank you for your help so far, and I appreciate your spending some brief moments to try to assist me in this matter.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 03, 2012, 09:15:53 am
You changed the base URL in both files?

Did you run this SQL:

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
?
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.

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Re: Issue after changing to live site
April 03, 2012, 09:53:20 am
On the "Settings - Cleanup Caches and Update Paths" page, I modified both the Base Directory and the Base URL

I just ran the SQL you provided. 

I don't want to mess anything up, so should I then run the menu refresh item?


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 03, 2012, 10:15:08 am
You can always run the rebuild menus URL. It is safe.
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.

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Re: Issue after changing to live site
April 03, 2012, 10:27:04 am
I logged into the administration site, and entered the following:

http://<your_joomla_home>/administrator/index.php?option=com_civicrm&task=civicrm/menu/rebuild&reset=1

it directed me to here:

http://<sitename>/~<sitename>/default/administrator/?option=com_civicrm&task=civicrm/dashboard&reset=1

the ~ part is still coming back

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 03, 2012, 10:30:12 am
I would manually edit the two civicrm.settings.php files. One should be in components/com_civicrm/ and the other in administrator/components/com_civicrm/ I think (I forget exactly) and scroll through until you find the BASE_URL setting and make sure it's correct.
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.

dvlstx

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.3
  • MySQL version: 5.1.61-community-log
  • PHP version: 5.2.17
Re: Issue after changing to live site
April 03, 2012, 10:56:39 am
That Did it for me!

Thank you very much for assisting me with this issue. 

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Issue after changing to live site
April 03, 2012, 11:30:39 am
You are welcome. :)
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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Issue after changing to live site

This forum was archived on 2017-11-26.