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) »
  • Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email.php
Pages: [1]

Author Topic: Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email.php  (Read 3101 times)

sandraqu

  • Guest
Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email.php
July 24, 2007, 05:59:32 am
Fatal error: main() [function.require]: Failed opening required 'HTML/QuickForm/Rule/Email.php'

Bah!

I had trouble with a similar error and Config.php - now that is resolved.
This Drupal 5.x is installed on Netfirms, and at first I got a Fatal Error ... Config.php due to two issues:

1. Forgetting to add 'modules' to the path (shown below), and
2. Not including mydomainname.org after 'www'.

So the final and working path looks something like this, with the items in brackets replaced with proper directories:
/mnt/<other/dirs/in/netfirm>/www/<mydomainname.org>/drupal/sites/all/modules/civicrm


So.. now this Email.php err.
Where in the settings.php file is the path for Email.php set?  I did not setup any of the SMTP or e-store stuff because I did not think it was necessary, but perhaps it's causing this err. 

Please help,

--Sandra

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email.php
July 24, 2007, 08:46:52 am
If your $civicrm_root is configured properly, then both it and $civicrm_root/packages should be added to the include path.

I assume your $civicrm_root is set to the abovementioned path; can you check that you indeed have a /mnt/<other/dirs/in/netfirm>/www/<mydomainname.org>/drupal/sites/all/modules/civicrm/packages/HTML/QuickForm/Rule/Email.php file on your server?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

sandraqu

  • Guest
Re: Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email
July 26, 2007, 07:47:16 am
Excellent observation.  You are indeed correct - the file was missing.  I guess that on file upload the server cut off after about 5 directories deep.  I'm missing files that are that deep in other directories as well.

Thank you for your reply,

--Sandra

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Fatal error: main() [function.require]: Failed ... HTML/QuickForm/Rule/Email.php

This forum was archived on 2017-11-26.