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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Problem with Civi install when Migrated to Production server
Pages: [1]

Author Topic: Problem with Civi install when Migrated to Production server  (Read 1451 times)

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Problem with Civi install when Migrated to Production server
June 19, 2012, 09:12:04 am
Hi all,

When I moved CiviCRM with Drupal 7 from my dev server to the production server it fails to work correctly.   I am getting a white screen.  I am also not able to get into any config screens.

I am uploading the files again but I have a feeling that this is not the problem.

I ran update.php and cleared the cache.

Any recommendations?


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 10:19:53 am
Have you gone through all of the steps here http://wiki.civicrm.org/confluence/display/CRMDOC41/Moving+an+Existing+Installation+to+a+New+Server+or+Location ?
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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 10:54:54 am
Hi Hershel,

I did read that after I posted last... I should have done my home work more thoroughly... 

I'm kind of stuck in the middle of the steps. Yesterday I copied the database over and removed the cached templates and today I also did a reset.

But I just get a white screen for anything CiviCRM  :(

I have double checked my civicrm-settings.php file and I believe that this is correct.

I'm getting this kind of warning.

User warning: Smarty error: unable to read resource: "CRM/common/jquery.files.tpl" in Smarty->trigger_error() (line 1093 of /mnt/target05/349486/414442/www.vetshealing.org/web/content/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).

Warning: file_get_contents(/mnt/target05/349486/414442/www.vetshealing.org/web/content/sites/all/modules/civicrm/templates//CRM/Form/label.tpl) [function.file-get-contents]: failed to open stream: No such file or directory in CRM_Core_QuickForm_Action_Display->initializeTemplates() (line 207 of /mnt/target05/349486/414442/www.vetshealing.org/web/content/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php).

Is this indicative of a bad path?

No PHP errors that I can see.

EDIT:

So If I were to do a fresh install, I would assume that I remove all CIVICRM files and then the database would stil be there...

Do you recommend this at this point?

Also,  I cannot figure out the D7 install path for the latest CiviCRM on sourge forge  that would speed things a long rather than uploading.

Thanks for your help...


« Last Edit: June 19, 2012, 10:58:27 am by nvisioncurtis »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 11:57:24 am
Is the file CRM/common/jquery.files.tpl there?
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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 12:03:12 pm
No,

I don't see it either in the downloaded module...  I also don't see it in my dev site which is working.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 12:06:37 pm
It's in

 sites/all/modules/civicrm/templates/CRM/common/jquery.files.tpl
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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 12:14:13 pm
Ok,

Perhaps this at the root of my my problems.

Is there a procedure to 'freshen up' the Civi Install?  I tried to reinstall but I think I would have to delete from my Drupal database and then start all over.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 12:40:36 pm
You can manually replace the files in sites/all/modules/civicrm at any time without affecting your site at all. You should do that.
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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 12:55:17 pm
Hi Hershel,

Thank You! Civi is now working correctly.  However, I am having issues now with my payment processors.

EDIT:
It seems as though CiviCRM did not automatically select https: Is there a setting for this?

Also,  I now see this warning when I submit a donation..
Quote
Notice: Undefined index: in CRM_Contribute_Form_Contribution_Confirm->createHonorContact() (line 1340 of /mnt/target05/349486/414442/www.vetshealing.org/web/content/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Confirm.php).


 


I will keep looking around  but I think this was all okay before my move...

« Last Edit: June 19, 2012, 01:07:52 pm by nvisioncurtis »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 19, 2012, 02:22:24 pm
On civicrm/admin/setting/url?reset=1 is the "Force Secure URLs (SSL)" setting.

Regarding the "Undefined index" warning, I'm not sure.
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.

mxmom253

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.16
  • PHP version: 5.3.8
Re: Problem with Civi install when Migrated to Production server
June 24, 2012, 09:11:18 pm
Hello - I've been reading through your conversation - and dozens of related pages - trying to correct a similar issue. I'm hoping maybe you can help.

I installed the CiviCRM module when I was working in my localhost environment, but didn't realize there were several steps needed to prepare it for moving to my production environment. Consequently, I moved it right along with the rest of my Drupal 7 site without the required modifications.

Now I'm getting a host of errors that seem to all center around the fact that I'm missing the civicrm.settings.php file.

It is in my localhost /sites/default folder, but I've tried moving it to my production environment and keep getting errors:
a "Permission denied" error when I try uploading via my host and "Could not start transfer" when I try to ftp it to the correct folder.

I've tried going through the Install process, thinking a fresh install would correct my issue, but cannot complete the process.

Any guidance you can provide to help get me untangled would be SO appreciated.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Problem with Civi install when Migrated to Production server
June 25, 2012, 03:33:50 am
mxmom253, sounds like you need to open the permissions for sites/default and then you can upload civicrm.settings.php. Anyhow you would then need to edit it. Maybe best to install fresh, and then you can replace the DB with your DB from your PC. See here:

http://wiki.civicrm.org/confluence/display/CRMDOC41/Drupal+Installation+Guide+for+CiviCRM+4.1+-+Drupal+7

for more details. For this also you need to open the permissions for sites/default.
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.

mxmom253

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.16
  • PHP version: 5.3.8
Re: Problem with Civi install when Migrated to Production server
July 05, 2012, 11:07:09 pm
Thank you, Hershel, that seems to have done the trick. It's always the little things, isn't it? I have much more to do to get fully up and running, but at least I'm back on track. I appreciate the information.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Problem with Civi install when Migrated to Production server

This forum was archived on 2017-11-26.