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 (Moderator: Dave Greenberg) »
  • Civicrm does not load (Joomla)
Pages: [1]

Author Topic: Civicrm does not load (Joomla)  (Read 1514 times)

dragontree

  • Guest
Civicrm does not load (Joomla)
July 23, 2010, 04:25:40 am
I have several joomla installations (with civicrm) on the same server. They are identical (different content) but for some reason civicrm stopped working on some of them.
The url "http://www.site.net/administrator/index.php?option=com_civicrm" just does not open. There are no error messages. PHP and apache logs show notheing either.

Any ideas?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm does not load (Joomla)
July 23, 2010, 05:15:44 am
It's hard of us to help you unless you provide details on error / behavior. Also did you upgrade etc?

Kurund
Found this reply helpful? Support CiviCRM

dragontree

  • Guest
Re: Civicrm does not load (Joomla)
July 23, 2010, 05:29:54 am
There is not much to tell...
I did not upgrade, still using v3.1.4

Error occurs when I log in to the joomla backend and try to open civicrm. When i click on the civicrm link (http://www.site.net/administrator/index.php?option=com_civicrm) nothing happens except in the firefox tab header it says "Loading..."

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm does not load (Joomla)
July 23, 2010, 05:34:28 am
Did you try in any other browser ?

Kurund
Found this reply helpful? Support CiviCRM

dragontree

  • Guest
Re: Civicrm does not load (Joomla)
July 23, 2010, 05:48:47 am
Yes, same thing in IE8 and Chrome

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Civicrm does not load (Joomla)
July 23, 2010, 04:32:02 pm
Check your webserver (apache?) logs for errors.
Protect your investment in CiviCRM by  becoming a Member!

dragontree

  • Guest
Re: Civicrm does not load (Joomla)
July 26, 2010, 12:56:51 am
as I said before, there are no errors in the apache log.
But i found an error in php log:
Code: [Select]
[26-Jul-2010 11:01:39] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /var/www/keskliit/administrator/components/com_civicrm/civicrm/packages/PHPgettext/streams.php on line 114
The function called in that file looks like this:
Code: [Select]
  function read($bytes) {
    if ($bytes) {
      fseek($this->_fd, $this->_pos);

      // PHP 5.1.1 does not read more than 8192 bytes in one fread()
      // the discussions at PHP Bugs suggest it's the intended behaviour
      $data = '';
      while ($bytes > 0) {
        $chunk  = fread($this->_fd, $bytes);
        $data  .= $chunk;
        $bytes -= strlen($chunk);
      }
      $this->_pos = ftell($this->_fd);
     
      return $data;
    } else return '';
  }
So i guess the problem is with fread?

I problably didn't get that error before because I didnt let it load for that long.
« Last Edit: July 26, 2010, 01:07:20 am by dragontree »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm does not load (Joomla)
July 26, 2010, 01:10:50 am
Can you check file permissions? Make sure they are readable by webserver.

Kurund
Found this reply helpful? Support CiviCRM

dragontree

  • Guest
Re: Civicrm does not load (Joomla)
July 26, 2010, 01:15:09 am
its 644 so it looks ok.

dragontree

  • Guest
Re: Civicrm does not load (Joomla)
July 26, 2010, 01:39:28 am
Thanks to Kurund, I managed to fix the problem.

I use civi in my native language and i have translated it offline and compiled the .mo file myself. I guess the were some problems in the language file because after updating it the problem was gone.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm does not load (Joomla)
July 26, 2010, 02:28:16 am
You can also help us to translate: http://www.transifex.net/projects/p/civicrm/

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Civicrm does not load (Joomla)

This forum was archived on 2017-11-26.