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) »
  • GET calendar-lang?en_US - Fatal Error
Pages: [1]

Author Topic: GET calendar-lang?en_US - Fatal Error  (Read 1344 times)

jgaryt

  • Guest
GET calendar-lang?en_US - Fatal Error
March 05, 2009, 08:22:30 am
Hi all,

Whilst checking to see why some of my pages were not fully SSL secured (with Firebug) I noticed that a "GET calendar-lang?en_US" call was returning this error:

Code: [Select]
Warning:  require_once(../../civicrm.config.php) [function.require-once]: failed to open stream: No such file or directory in
/home2/mysite/public_html/sites/all/modules/civicrm/js/lang/calendar-lang.php on line 3

Fatal error:  require_once() [function.require]: Failed opening required '../../civicrm.config.php' (include_path='.:/usr/local/lsphp5/lib/php') in
/home2/mysite/public_html/sites/all/modules/civicrm/js/lang/calendar-lang.php on line 3

My civicrm.config.php file is located in the "\sites\default" directory, where I thought it was supposed to be, so this file can not be found by the calender-lang.php.

I attempted to change the calender-lang.php line 3 to point to the civicrm.config.php, but I could never get the error to go away.

The "GET calendar-lang?en_US" call is the only one that is not HTTPS, so I'd like to fix it, and whatever other issues this is causing.

Thanks!

jgaryt

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: GET calendar-lang?en_US - Fatal Error
March 05, 2009, 09:42:45 am
Can you check if you have correct Resource Urls, http://drupal.demo.civicrm.org/civicrm/admin/setting/url?reset=1

and also correct CIVICRM_UF_BASEURL in your civicrm.settings.php.

HTh

Kurund
Found this reply helpful? Support CiviCRM

jgaryt

  • Guest
Re: GET calendar-lang?en_US - Fatal Error
March 05, 2009, 09:52:05 am
Thanks for the reply,

Yes, my URL settings are correct, and my civicrm.confog.php setting is too:
Code: [Select]
define( 'CIVICRM_UF_BASEURL'      , 'http://www.mysite.org/' );


Is is a php.ini path issue?  I can't access that to edit though...

jgaryt

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: GET calendar-lang?en_US - Fatal Error
March 05, 2009, 10:02:24 am
IMO it's not a php.ini issue. Do you have you civicrm.settings.php file in sites/defaults ? Check http://forum.civicrm.org/index.php/topic,1216.msg5283.html#msg5283

HTh

Kurund
Found this reply helpful? Support CiviCRM

jgaryt

  • Guest
Re: GET calendar-lang?en_US - Fatal Error
March 05, 2009, 10:22:23 am
I do have the file in /sites/defaults/ (I read that post before I posted here too)

and my civicrm_root is
Code: [Select]
$civicrm_root = '/home2/username/public_html/sites/all/modules/civicrm';
« Last Edit: March 05, 2009, 10:41:07 am by jgaryt »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • GET calendar-lang?en_US - Fatal Error

This forum was archived on 2017-11-26.