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) »
  • Pear error message
Pages: [1]

Author Topic: Pear error message  (Read 1443 times)

gadders70

  • Guest
Pear error message
November 17, 2007, 02:54:36 pm
Hi,

this is a similar message to that posted by Renevasquez on 9th November 07, and since it wasn't that long ago and the solution was never posted...

I have just completed the installation of Civicrm and have encountered the same issue :


Sorry. A non-recoverable error has occurred.

Please review the CiviCRM Installation Guide and try searching the CiviCRM Mailing List Archives for information on the error below.

Error Details:

[pear_error: message="Permission denied" code=13 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]



The system information is as follows :

PHP built on : Linux
Joomla 1.0.12 Stable
PHP 5.1.6
Database version 5.0.27
Web server Apache / 2.2.0 (Fedora)
Civicrm 1.9.11960
MySQL 5.0.27

I figure that the problem from the nature of the error message has got to be related to a permissions issue on the server. However, since I'm not the first person to encounter this problem, I figure that I wont be the last...

Any pointers to figuring out more details on the permissions issue gratefully received. I have searched the internet for any related issues in Pear, I have attempted to change all the permissions on folders related to Pear, to no avail.

Many thanks in advance for helping me before I pull all my hair out...

G

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: Pear error message
November 17, 2007, 10:54:43 pm

Can you edit

CRM/Core/Error.php, and change the lines (147 - 149) FROM

Code: [Select]
        if ( $config->backtrace ) {
            self::backtrace( );
        }

TO

Code: [Select]
            self::backtrace( );

i.e. remove the conditional on the backtrace  and try to access a civicrm url. this should give us more information and locate the source of the error

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

gadders70

  • Guest
Re: Pear error message
November 18, 2007, 09:17:27 am
Hi Lobo,

thanks for taking the time to reply. I have commented out those lines and here is the results:

backTrace

/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 148
, handle,
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 901
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/packages/PEAR.php, PEAR_Error, 566
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/packages/Net/Socket.php, raiseError, 143
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/packages/HTTP/Request.php, connect, 619
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Utils/System.php, sendRequest, 741
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Admin/Form/Setting.php, checkURL, 103
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php, setValues, 1010
/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php, initVariables, 471
/var/www/html/joomla/administrator/components/com_civicrm/admin.civicrm.php, singleton, 35
/var/www/html/joomla/administrator/components/com_civicrm/admin.civicrm.php, civicrm_init, 48
/var/www/html/joomla/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 32
/var/www/html/joomla/administrator/index2.php, require_once, 69

I'm not too hot on tracebacks, but my guess is that it's related to the :

Request.php, connect, 619 which then generates an error?

Many thanks once again,

G



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: Pear error message
November 18, 2007, 10:05:28 am

Your best bet is to edit file:

/var/www/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Admin/Form/Setting.php, line 103

and change FROM

Code: [Select]
                if ( CRM_Utils_System::checkURL( "{$baseURL}components/com_civicrm/civicrm/{$testIMG}" ) ) {
                    $defaults['userFrameworkResourceURL'] = $baseURL . "components/com_civicrm/civicrm/";
                }

TO

Code: [Select]
                    $defaults['userFrameworkResourceURL'] = $baseURL . "components/com_civicrm/civicrm/";

Looks like your hosting provider's security policy does not allow your system to make outbound http calls. This will make a few things not work in civicrm including mapping

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

gadders70

  • Guest
Re: Pear error message
November 18, 2007, 10:11:01 am
Fantastic!!!!!

Thanks so much for your time. This enables the CiviCRM URL to be accessed.

I'm very grateful to you - many thanks.

G

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

This forum was archived on 2017-11-26.