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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Blank pages after CiviCRM install
Pages: [1]

Author Topic: Blank pages after CiviCRM install  (Read 1757 times)

rrosko

  • Guest
Blank pages after CiviCRM install
August 12, 2009, 10:18:57 am
I'm attempting to setup CiviCRM on a development domain with the idea of doing the install and config, then moving the site over to the production domain when ready.

I had CiviCRM installed on my production domain for testing purposes a few months ago and it worked like a charm, but I uninstalled it after a few days of successful testing.

However, since then, I've taken a domain backup, restored the domain on dev domain, and I've attempted to reinstall CiviCRM, I go through a successful install but get nothing but blank pages when I attempt to go to any CiviCRM page/link.

I've removed all CiviCRM tables from the database and have reinstalled numerous times with the same result.

The error log is huge about 68MB all from my attempts yesterday, and I'm only getting 2 fatal errors -

Quote
PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'PEAR.php' (include_path='.:/var/www/vhosts/production_domain/httpdocs/administrator/components/com_civicrm/civicrm:/var/www/vhosts/production_domain/httpdocs/administrator/components/com_civicrm/civicrm/packages:.:') in /var/www/vhosts/dev_domain/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://dev_domain/administrator/index.php?option=com_config

I also get hundreds of open_basedir warnings, but I have -
Code: [Select]
php_admin_value open_basedir none
I've created a vhosts.conf file to address the PEAR issue, but get blank pages throughout the whole site when I do that, so I only have the open_basedir setting from above in there now, and my php.ini file is opened up as far as memory limits and max_execution time go.

Any thoughts?

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: Blank pages after CiviCRM install
August 12, 2009, 12:36:11 pm

if u r getting lots of open_basedir warnings, it most likely indicates that open_basedir is still enabled. I would try to track that down and ensure that it is disabled (or add the civicrm directories to the path)

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

rrosko

  • Guest
Re: Blank pages after CiviCRM install
August 12, 2009, 03:02:05 pm
Well, the good news is that I have got rid of the open_basedir warnings. I don't get any now, and as I come to think of it...The open_basedir notices I received were before I implemented the vhosts.conf file...

So anyway, the blank screen persists and I still get the fatal error around Pear.php, but I've also noticed a new error for IDS -

Quote
[Wed Aug 12 11:32:49 2009] [error] [client 99.35.133.54] PHP Warning: require_once(PEAR.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php

Quote
[Wed Aug 12 11:48:39 2009] [error] [client 99.35.133.54] PHP Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php:187\nStack trace:\n#0 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(132): IDS_Monitor->__construct(Array, Object(IDS_Init))\n#1 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)\n#2 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(45): CRM_Core_Invoke::invoke(Array)\n#3 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(22): civicrm_invoke()\n#4 /var/www/vhosts/sf-it.net/httpdocs/libraries/joomla/application/component/helper.php(162): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/sf-it.net/httpdocs/administrator/includes/application.php(136): JComponentHelper->renderComponent('com_civicrm')\n#6 /var/w in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php on line 187, referer: http://www.sf-it.net/administrator/index.php?option=com_civicrm

Make any sense?

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: Blank pages after CiviCRM install
August 12, 2009, 07:06:57 pm

can u follow all the steps from here:

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

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

rrosko

  • Guest
Re: Blank pages after CiviCRM install
August 13, 2009, 09:01:41 am
I've gone through most of that list already.

When I get to step #6 - asking to go to the following url for Joomla sites - http://<joomla_site>/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1 - I continue to get a blank page, so I can't go any further in that list.

The one thing I can't seem to resolve is the PEAR fatal errors I'm receiving. It looks like it can't find the PEAR.php file and when I look for it here - "<joomla_root>/administrator/components/com_civicrm/civicrm/packages/PEAR/" - there is no PEAR.php file to be found, there is just a "pear" file with no extension. In the "admin.civicrm.php" file - it also notes - "require_once 'PEAR.php';" - and there is no path. So where IS the PEAR.php file, or is there one to begin with?

About ready to reinstall from scratch for the 6th time going through this process. It would be nice if I could get this to work...

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: Blank pages after CiviCRM install
August 13, 2009, 09:34:44 am

there should be a file

<joomla_root>/administrator/components/com_civicrm/civicrm/packages/PEAR.php

if it does not exist, it means that your unzip / xfer of civicrm package dropped a few files

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

rrosko

  • Guest
Re: Blank pages after CiviCRM install
August 13, 2009, 04:22:18 pm
So, I've gone through and uninstalled CiviCRM. Manually deleted any files left on the server, and wiped out any civicrm tables in the DB.

I've used the 2.2.8 ALT install files uploaded to the tmp folder, and was able to reach the "Successfully installed CiviCRM" message.

From that point, any link I click on to try and reach CiviCRM yields a blank page.

I immediately checked my error log and here's what it shows - the good news is that the PEAR.php error is gone now, but I looked and there is still no PEAR.php file as noted in the previous post above.

Quote
[Thu Aug 13 16:01:15 2009] [error] [client 99.35.133.54] PHP Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php:187\nStack trace:\n#0 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(132): IDS_Monitor->__construct(Array, Object(IDS_Init))\n#1 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)\n#2 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(45): CRM_Core_Invoke::invoke(Array)\n#3 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(22): civicrm_invoke()\n#4 /var/www/vhosts/sf-it.net/httpdocs/libraries/joomla/application/component/helper.php(162): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/sf-it.net/httpdocs/administrator/includes/application.php(136): JComponentHelper->renderComponent('com_civicrm')\n#6 /var/w in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php on line 187
[Thu Aug 13 16:01:32 2009] [error] [client 99.35.133.54] PHP Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php:187\nStack trace:\n#0 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(132): IDS_Monitor->__construct(Array, Object(IDS_Init))\n#1 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)\n#2 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(45): CRM_Core_Invoke::invoke(Array)\n#3 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(22): civicrm_invoke()\n#4 /var/www/vhosts/sf-it.net/httpdocs/libraries/joomla/application/component/helper.php(162): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/sf-it.net/httpdocs/administrator/includes/application.php(136): JComponentHelper->renderComponent('com_civicrm')\n#6 /var/w in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php on line 187, referer: http://www.sf-it.net/administrator/index.php
[Thu Aug 13 16:02:46 2009] [error] [client 99.35.133.54] File does not exist: /var/www/vhosts/sf-it.net/httpdocs/components/com_comment, referer: http://www.sf-it.net/administrator/index.php
[Thu Aug 13 16:02:53 2009] [error] [client 99.35.133.54] PHP Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php:187\nStack trace:\n#0 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(132): IDS_Monitor->__construct(Array, Object(IDS_Init))\n#1 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)\n#2 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(45): CRM_Core_Invoke::invoke(Array)\n#3 /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php(22): civicrm_invoke()\n#4 /var/www/vhosts/sf-it.net/httpdocs/libraries/joomla/application/component/helper.php(162): require_once('/var/www/vhosts...')\n#5 /var/www/vhosts/sf-it.net/httpdocs/administrator/includes/application.php(136): JComponentHelper->renderComponent('com_civicrm')\n#6 /var/w in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php on line 187, referer: http://www.sf-it.net/administrator/index.php

Any thoughts?

rrosko

  • Guest
Re: Blank pages after CiviCRM install
August 13, 2009, 05:50:09 pm
Got it to work now by following this post - http://forum.civicrm.org/index.php/topic,9302.0.html

I can at least access the backend, haven't trying doing anything yet.

Feels so much better to at least move forward tho!

rrosko

  • Guest
Re: Blank pages after CiviCRM install
August 14, 2009, 10:57:16 am
So guess what, I could access the CiviCRM backend last night, and this morning I can't.

I attempted to make a menu item to the CiviCRM Dashboard on the front-end, but other than that, nothing has changed. So when I click a link to go to any CiviCRM component page, I get the blank screen again. I removed the menu-item, but blank pages still remain.

I could access it last night, but now when I check the error log I have my PEAR errors again...

Quote
[Fri Aug 14 09:46:48 2009] [error] [client 99.35.133.54] PHP Warning: require_once(PEAR.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_menus&task=view&menutype=mainmenu
[Fri Aug 14 09:46:48 2009] [error] [client 99.35.133.54] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'PEAR.php' (include_path='.:') in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_menus&task=view&menutype=mainmenu
[Fri Aug 14 09:47:01 2009] [error] [client 99.35.133.54] File does not exist: /var/www/vhosts/sf-it.net/httpdocs/administrator/templates/khepri, referer: http://www.sf-it.net/administrator/index.php?option=com_menus&task=view&menutype=mainmenu
[Fri Aug 14 09:47:49 2009] [error] [client 99.35.133.54] PHP Warning: require_once(PEAR.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_config
[Fri Aug 14 09:47:49 2009] [error] [client 99.35.133.54] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'PEAR.php' (include_path='.:') in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_config
[Fri Aug 14 09:47:53 2009] [error] [client 99.35.133.54] PHP Warning: require_once(PEAR.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_config
[Fri Aug 14 09:47:53 2009] [error] [client 99.35.133.54] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'PEAR.php' (include_path='.:') in /var/www/vhosts/sf-it.net/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15, referer: http://www.sf-it.net/administrator/index.php?option=com_config

What now?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Blank pages after CiviCRM install

This forum was archived on 2017-11-26.