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 »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page generating error
Pages: [1]

Author Topic: Contribution page generating error  (Read 572 times)

matthewdnye

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
Contribution page generating error
May 19, 2010, 04:04:31 am
I am getting the following error on a new contribution page I am trying to set up:

Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/repl10/public_html/components/com_civicrm/civicrm.php on line 19

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/home/repl10/public_html/components/com_civicrm/civicrm:/home/repl10/public_html/components/com_civicrm/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/repl10/public_html/components/com_civicrm/civicrm.php on line 19

I can test drive the page from within the administrative backend, so I assume this is either a path or permission problem based on my past experiences, but I can't seem to figure it out. I've been through the CiviCRM Move Wiki and followed all the steps there. Any help is greatly appreciated.

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Contribution page generating error
May 21, 2010, 09:50:25 am
I'm not a Joomla expert, but the PHP error indicates it cannot find the file it wants. 
1. Confirm that the file actually exists
2. Check the path settings in your CiviCRM or Joomla settings file.  Make sure the path looks correct.
3. If #1 and #2 are correct, clear your cache, particularly if you have done an upgrade lately

When in doubt.  Setup a testing .php yourself manually, and try to include the file in question.  Such as: create "test.php" and write in yourself include(blah/blah/blah/civicrm/blah) and see what works.  This will confirm that file file actually exists.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page generating error

This forum was archived on 2017-11-26.