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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
Pages: [1]

Author Topic: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)  (Read 2964 times)

polychuy

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Wordpress 4.1
  • MySQL version: 5.5
  • PHP version: PHP Version 5.2.17
Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 11, 2015, 01:13:32 pm
Help,  trying to install fresh civicrm

On trying to install a fresh civicrm 4.5.5 on WP 4.1 I get the error below.   Please help

Warning: require_once(./packages/vendor/autoload.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/06/3395706/html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 83

Fatal error: require_once() [function.require]: Failed opening required './packages/vendor/autoload.php' (include_path='.:/usr/local/php5/lib/php:/home/content/06/3395706/html/wp-content/plugins/civicrm/civicrm/') in /home/content/06/3395706/html/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 83
« Last Edit: January 12, 2015, 08:45:49 pm by polychuy »

el56

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.5.40
  • PHP version: 5.5.9
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 11, 2015, 03:17:47 pm
Bump. Happened to me too.

polychuy

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Wordpress 4.1
  • MySQL version: 5.5
  • PHP version: PHP Version 5.2.17
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 12, 2015, 08:45:14 pm
Fresh install somewhere else, and same result from a virgin setup.

polychuy

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Wordpress 4.1
  • MySQL version: 5.5
  • PHP version: PHP Version 5.2.17
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 12, 2015, 09:02:07 pm
OKAY...  after redoing my php and forcing it up to php5.5 it worked.   

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 13, 2015, 05:49:38 am
According to

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+PHP+Requirements

PHP 5.3.10+ is required.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

el56

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.5.40
  • PHP version: 5.5.9
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 13, 2015, 08:54:48 am
Quote from: Hershel on January 13, 2015, 05:49:38 am
According to

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+PHP+Requirements

PHP 5.3.10+ is required.

Given what people are reporting, perhaps this assertion should be re-evaluated?
How old is the claim that 5.3 is good enough?

el56

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.5.40
  • PHP version: 5.5.9
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 13, 2015, 09:03:53 pm
Quote from: Hershel on January 13, 2015, 05:49:38 am
According to

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+PHP+Requirements

PHP 5.3.10+ is required.

Well, merely by upgrading my PHP to 5.5 I was able to eliminate the error for me too. So the doc is wrong.
How does one submit a bug report to the documentation?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 14, 2015, 05:26:57 am
What was your PHP version before you upgraded?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

el56

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.5.40
  • PHP version: 5.5.9
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 14, 2015, 06:56:20 am
Quote from: Hershel on January 14, 2015, 05:26:57 am
What was your PHP version before you upgraded?

For me, it was at 5.4 when I ran into the error. Going to 5.5 eliminated it.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 14, 2015, 07:45:47 am
Actually, I can confirm that CiviCRM runs just fine on PHP 5.3.29. Perhaps your were missing a component or had something misconfigured and when you upgraded, that got fixed as part of the process.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

el56

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.5.40
  • PHP version: 5.5.9
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 14, 2015, 08:42:48 am
Quote from: Hershel on January 14, 2015, 07:45:47 am
Actually, I can confirm that CiviCRM runs just fine on PHP 5.3.29. Perhaps your were missing a component or had something misconfigured and when you upgraded, that got fixed as part of the process.

I can confirm that the only thing that changed was the in-place upgrade of PHP. So there is a problem worth investigating, at very least with the minimum PHP needed for install.

It is telling that  the two reports were both on fresh installs. Possibly the demands of first-time installation are greater than those of operation.... that is, current versions of CiviCRM might make demands on PHP for the initial install that they don't make on upgrades.

In any case, as the setup process tries to check for things such as database triggers before trying the install, perhaps some capabilitry in PHP needs to be confirmed as well.

kkvgbg

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: 4.1
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 15, 2015, 02:14:34 am
Adding a "me to" to this. Just did a fresh install and get the same message. Not sure if I can get the host to update to PHP 5.5, so if there are any suggestions for workarounds I'd appreciate it.

For what it's worth, I installed CiviCRM 4.5.3 under MAMP with PHP 5.6.2 previously, and didn't run into this problem.

kkvgbg

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: 4.1
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 15, 2015, 06:19:52 am
Turns out that I could change PHP version with my host, and enabling PHP 5.5. makes the error go away. So it does seem that the installer requires PHP 5.5.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)
January 15, 2015, 07:34:14 am
No, actually the installer and all features of CiviCRM work fine in PHP 5.3. There is no code in CiviCRM that requires PHP 5.5. The installer and features have all been tested and are known to work in 5.3

I can personally attest to the fact that the installer and all features of CiviCRM work fine in PHP 5.3.29, for any CMS. CiviCRM does require certain a server configuration, however.

My guess is that there is something unique about your servers' setup that causes the installer to fail with PHP 5.3 and succeed with 5.5.

CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fresh Install -- Warning: require_once(./packages/vendor/autoload.php)

This forum was archived on 2017-11-26.