AFTER a cron run, got the following:
Fatal error: civicrm_menu() [function.require]: Failed opening required 'CRM/Utils/Menu.php' (include_path='.:/var/www/htdocs/civicspace/modules/civicrm:/var/www/htdocs/civicspace/modules/civicrm/packages:.:/usr/local/lib/php:/usr/lib/php') in /home/towninco/public_html/modules/civicrm/modules/civicrm.module on line 182
In attempting to create a test site (of which I am clearly incapable), I had changed the following key sections (by accidentally overwriting my live site's files) in the public_html/sites/default/civicrm.settings.php
<?php
/**
* CiviCRM configuration file.
*/
1. FIRST CHANGE:
/**
*
* Update the CIVICRM_UF_DSN setting to match your Drupal or Mambo database username, server and DB name.
* Database URL format:
* define( 'CIVICRM_UF_DSN', 'mysql://my_username:my_password@localhost/my_db?new_link=true');
*/
2. SECOND CHANGE:
/**
* Site URLs:
*
* This section defines absolute URLs to access the host CMS (Drupal or Mambo) and CiviCRM.
* IMPORTANT: Trailing slashes are required for CIVICRM_HTTPBASE and CIVICRM_RESOURCEBASE.
*
* EXAMPLE: if your Drupal site url is http://www.example.com/civicspace/
* these variables would be set as below. Modify as needed for your install. If you do not
* have clean url's turned on, make sure CIVICRM_MAINMENU is valid for your install.
* e.g. define( 'CIVICRM_MAINMENU' , '/civicspace?q=civicrm' )
*/
define( 'CIVICRM_UF_BASEURL' , 'http://www.my_site.com/civicspace/' );
define( 'CIVICRM_HTTPBASE' , '/civicspace/' );
define( 'CIVICRM_RESOURCEBASE', '/civicspace/modules/civicrm/' );
define( 'CIVICRM_MAINMENU' , '/civicspace/civicrm' );
3. THIRD CHANGE:
/**
* CiviCRM Database settings:
*
* Define the version of MySQL you are running.
* CiviCRM has been optimized for MySQL 4.1, but will also run on many 4.0.x versions.
* If you are using a 4.0.x release of MySQL, you MUST change CIVICRM_MYSQL_VERSION to 4.0
*
* Define the database URL (CIVICRM_DSN) for the CiviCRM database and the Drupal/Mambo database
* Database URL format:
* define( 'CIVICRM_DSN', 'mysql://my_username:my_password@localhost/my_db?new_link=true');
*
At every other point, the values remained the same as default.
So my question:
1. Can I fix this by simply overwriting this file with an original default drupal file (a 'starting-over' option)? ie. to public_html/sites/default/civicrm.settings.php
2. How can I access a clean default drupal file?