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) »
  • Weird problems after moving from local server to production
Pages: [1]

Author Topic: Weird problems after moving from local server to production  (Read 1170 times)

jakedeo

  • I’m new here
  • *
  • Posts: 9
  • Karma: 2
Weird problems after moving from local server to production
May 29, 2008, 08:44:05 am
Hello,

When I have been setting up civi under drupal everything was working just fine... but now when I move to a production server the css files and images are not being loaded. The first thing I did was go to Resource URLs under the admin section on Civi but those folders are set properly. I have changed all of the info in civicrm.settings.php and everywhere else I can find info. The site also seems to be running really slowly. When I go to Directories under the Civi global settings at the top of the page I get:

warning: Invalid argument supplied for foreach() in /sites/all/modules/civicrm/CRM/Core/Config/Defaults.php on line 203.

I had this working on the server before and now seems to be broken again, but haven't figured it out yet. I even replaced all of the files on the server with new ones in case something got corrupted.

Help? Thanks!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Weird problems after moving from local server to production
May 29, 2008, 10:21:26 am
Hi,

Try using firebug to see what css/js... are in 404 (the net tab).

A least, you will know what's missing and where civi is looking for them. Might give a hint.

X+

P.S. The directories (eg for the cache) are set up properly ? can apache write in them ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

franc23

  • Guest
Re: Weird problems after moving from local server to production
August 07, 2008, 09:06:59 pm
For the benefit of those who still have this error, I ran into the same issue after moving servers and it was because I didn't follow step 5 as listed here:

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

When I pointed the browser to http://<drupal_site>/civicrm/admin/setting/updateConfigBackend?reset=1, and set the new Base Directory and Base URL, it kept processing for a long time and finally got the folders right.

No more issues, the basic problem was that the base directories was not set and as a result the civicrm site was slower - not drupal - and certain images were not appearing, besides those php error messages. Using firebug it showed that the css and js files were not present which helped me realize that it was a directory issue.

Hope this helps  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Weird problems after moving from local server to production

This forum was archived on 2017-11-26.