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) »
  • Installation Very Slow
Pages: [1]

Author Topic: Installation Very Slow  (Read 1234 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Installation Very Slow
April 16, 2009, 01:20:27 pm
I've just installed Civi on an existing drupal 6 site. It's running very slow. 30-40 second page draws. The Drupal part of the site runs fine. It's installed on a dedicated server with plenty of resources.

The log is showing the following error, don't know if it is related or not:
Quote
include_once() [<a href='function.include'>function.include</a>]: Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blahblah/public_html/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

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: Installation Very Slow
April 16, 2009, 01:30:56 pm

use firebug and see what file is taking the longest to load. If i had to guess, your js/css/image path is wrong and the browser might be timing out

in production, you definitely want to have js/css/images being cached and also enable compression on all files (gzip)

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

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Installation Very Slow
April 16, 2009, 09:35:19 pm
Thanks for the suggestion. Yah... definitely looks like some file permissions issues going on. I'll report back.
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Installation Very Slow
April 16, 2009, 11:23:14 pm
I don't think the paths are wrong. Just lots of JS files being called, including a tiny_mce one even though I chose FCKeditor for WYSIWYG. The "commonWidgets.js" is large at over 370K.

Should I just delete the TinyMCE JS file?

I've seen people mention gziping. I know how to use the tar command. Do I just gzip each file individually?

The admin page takes 30 seconds to load and that's with everything turned off except the core of CiviCRM. Here are the stats from Firebug, I've posted them in the order of longest response times to shortest response times:

http://pastebin.ca/1394689

Thanks in advance for any suggestions.

Shai

Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Installation Very Slow

This forum was archived on 2017-11-26.