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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Problem migrating site - wrong url reference
Pages: [1]

Author Topic: Problem migrating site - wrong url reference  (Read 1836 times)

david@emediacy.net

  • Guest
Problem migrating site - wrong url reference
May 13, 2008, 02:32:25 pm
I am moving a site to a host with innoDB support. The site is installed and civicrm set up. When i submit the contact form I get sent to the old site url and get the session error message. I updated civicrm_settings.php to the current server info. Do you have any idea where the old url is coming from?

form is here: http://67.228.235.168/index.php?option=com_civicrm&Itemid=49

form submit tales me here: http://lapovertydept.org/index.php?option=com_civicrm&task=civicrm/profile/create&

your help is appreciated,
David

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Problem migrating site - wrong url reference
May 13, 2008, 03:35:19 pm
Go to CiviCRM > Administer > Global Settings

And make sure the directories and resource URLs are correct.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

david@emediacy.net

  • Guest
Re: Problem migrating site - wrong url reference
May 14, 2008, 09:24:11 am
Directory urls are correct and reference urls are local so it is not those two things.

here is want i see in the source:

 <!-- .tpl file invoked: CRM/Profile/Form/Edit.tpl. Call via form.tpl if we have a form in the page. -->

            <form  action="http://lapovertydept.org/index.php?option=com_civicrm&amp;task=civicrm/profile/create&amp;" method="post" name="Edit" id="Edit" >

___________________

Should be http://67.228.235.168
« Last Edit: May 14, 2008, 09:28:29 am by david@emediacy.net »

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Problem migrating site - wrong url reference
May 14, 2008, 09:49:43 am
Open administrator/components/com_civicrm/civicrm/civicrm.config.php

Make sure the reference to your civicrm.settings.php is correct.

Also -- you said you checked the civicrm.settings.php file. Did you correct that file in BOTH the components/com_civicrm AND the administrator/components/com_civicrm directories? There is a frontend and backend version of that file -- both must be edited.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

david@emediacy.net

  • Guest
Re: Problem migrating site - wrong url reference
May 14, 2008, 10:06:35 am
That was it. I did not realize there were two settings files.
Thank you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Problem migrating site - wrong url reference

This forum was archived on 2017-11-26.