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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • can't access pages under civicrm URL.
Pages: [1]

Author Topic: can't access pages under civicrm URL.  (Read 1544 times)

dustbin111

  • Guest
can't access pages under civicrm URL.
May 11, 2009, 07:01:22 pm
I had CiviCRM running on a Drupal 6.x LAMP site fine.

The site was running in a test subdirectory I moved to the parent directory for production.  At first, this broke the site but the drupal site was fixed when I uninstalled CiviCRM.  Since then, I have tried reinstalling CiviCRM multiple times with various methods.  Currently it is running after I downloaded and uninstalled directly on the server via putty.  CiviCRM appears to be installed correctly:

   - ‘http://www.example.com/sites/all/modules/civicrm/install/index.php’ says “Oops! CiviCRM is Already Installed”
   - I can actually use/update the “Name and Address” fields that CiviCRM created via the Drupal Profiles.

The Problem:

I cannot access civicrm/dashboard or any other page under the civicrm URL.  I can access any .txt files under the directory, so I do not think it is a permission issue.  Everytime I try, I get a “500 Internal Server Error” in Internet Explorer.

   - Other threads have led me to believe this could be a php memory issue, but I have 100MB allotted via the php.ini file.
   - I’ve gone through the site move instructions at http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location multiple times.
   - Can’t find any php/apache logs, erroneous or otherwise.

Why can’t I see the pages under civicrm URL?

Help.

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: can't access pages under civicrm URL.
May 11, 2009, 09:55:27 pm

for any 500 internal error, you need to check the apache error log and find the php error being thrown. you might want to ask you hosting provider for access to these logs

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

dustbin111

  • Guest
Re: can't access pages under civicrm URL.
May 12, 2009, 03:21:57 am
The php Error log was not turned on by default.  I got with my hosting provider last night and turned it on (everyone likes to bash thier hosting providers -- mine is awesome!).  Anyway, below is what the error logs spit out this morning:


[12-May-2009 04:16:27] PHP Fatal error:  Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in /var/www/html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php:217
Stack trace:
#0 /var/www/html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php(108): IDS_Filter_Storage->getFilterFromXML()
#1 /var/www/html/sites/all/modules/civicrm/packages/IDS/Monitor.php(167): IDS_Filter_Storage->__construct(Object(IDS_Init))
#2 /var/www/html/sites/all/modules/civicrm/CRM/Core/IDS.php(131): IDS_Monitor->__construct(Array, Object(IDS_Init))
#3 /var/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)
#4 /var/www/html/sites/all/modules/civicrm/drupal/civicrm.module(339): CRM_Core_Invoke::invoke(Array)
#5 /var/www/html/includes/menu.inc(348): civicrm_invoke('dashboard')
#6 /var/www/html/index.php(18): menu_execute_active_handler()
#7 {main}
  thrown in /var/www/html/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php on line 217

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: can't access pages under civicrm URL.
May 12, 2009, 06:23:27 am

did u delete the Config.IDS.ini file which is the last step mentioned in the moving document?

seems like that is the issue. if not, ping us on IRC and we can chat

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

dustbin111

  • Guest
Re: can't access pages under civicrm URL.
May 12, 2009, 10:20:59 am
Brilliant!

We’ll chalk this up to:
•   Misconception on my part.
•   Badly worded documentation.

When I uninstalled (later reinstalled) civicrm manually, I thought I was following the documentation and:
•   deleted everything in the civicrm directory
•   deleted the civicrm.settings.php file
•   dropped the databases.

When I got to the last step on the move documentation, the civicrm directory had already been deleted, so obviously “civicrm/upload/Config.IDS.ini” and “/civicrm/templates_c/*” had already been deleted: there was nothing left to delete.  Done, right?  Wrong and I’ll take the hit for that.

But I made that misconception because the path to the civicrm directory says:

   <your-path-to-your-files-directory>

Hey! That could mean anything as everything on the darn server is a file in a directory…  so…  Let’s work on that wording a little.
 
I really had no idea the paths would be stored anywhere outside civicrm.settings.php.

Lobo, you are a god, and I thank you immensely.


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: can't access pages under civicrm URL.
May 12, 2009, 01:21:10 pm

1. Note the wiki is community editable. So feel free to edit and make things more clear

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

2. I've taken the liberty and edited the file to make it a bit more clear. please modify and clarify a bit more if needed :)

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • can't access pages under civicrm URL.

This forum was archived on 2017-11-26.