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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • FIXED - amp test fails
Pages: [1]

Author Topic: FIXED - amp test fails  (Read 419 times)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
FIXED - amp test fails
March 22, 2015, 06:15:45 am
I thought I installed buildkit successfully.  I thought I did what I was meant to for amp config.

However I am getting a 403 error, so something isn't right.  The complete info is below.


Quote
Connect to test application
Expect response: "response-code-QJlwpmZ6B0"
PHP Warning:  file_get_contents(http://localhost:7979/index.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
 in /home/joanne/buildkit/vendor/totten/amp/src/Amp/Command/TestCommand.php on line 153

Warning: file_get_contents(http://localhost:7979/index.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
 in /home/joanne/buildkit/vendor/totten/amp/src/Amp/Command/TestCommand.php on line 153
Received incorrect response: ""

I am not a developer, just a wannabe, so I really have no idea how to fix this. Suggestions would be appreciated,
« Last Edit: March 22, 2015, 04:26:34 pm by joanne »

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: amp test fails
March 22, 2015, 03:56:36 pm
Did you try alternating between "amp test" and restarting Apache? (Restarting Apache is generally "apache2ctl restart" or "apachectl restart" or "/etc/init.d/apache2 restart"... it depends on the Linux distro.)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: amp test fails
March 22, 2015, 04:17:23 pm
Have run amp config, amp test and restarted the server (using sudo service apache2 restart) numerous times

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
FIXED - Re: amp test fails
March 22, 2015, 04:23:18 pm
But tried again anyway and this time it worked.  :-[   (Perhaps my inclination was to assume I had done something wrong during amp config and I always reran that also, not just amp test?  After about 20 reruns/restarts I can't remember the exact combinations.)
« Last Edit: March 22, 2015, 04:51:29 pm by joanne »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • FIXED - amp test fails

This forum was archived on 2017-11-26.