Closed (fixed)
Project:
Module Builder
Version:
4.7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Sep 2006 at 13:35 UTC
Updated:
28 Jan 2007 at 00:05 UTC
Hi,
When enabling the module_builder module I get the following error:
warning: fsockopen() [function.fsockopen]: unable to connect to cvs.drupal.org:80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\wamp\www\drupal-4.7.3\includes\common.inc on line 371.
I know I am behind a proxy, but don't know where I would set this proxy for php to access module_builder updates.
Hope I'm not posting this to the wrong place.
Cheers,
Kehan
Comments
Comment #1
kehan commentedDon't know if anybody has any help on this yet?
Comment #2
binduwavell commentedModule Builder uses the drupal_http_request() method to retrieve hook documentation (see http://api.drupal.org/api/HEAD/function/drupal_http_request). You will notice that this method doesn't have any way of performing a proxy request. You could manually download the php files from:
http://cvs.drupal.org/viewcvs/drupal/contributions/docs/developer/hooks/...
and put them in a directory called hooks under your drupal/files directory (drupal-folder/files/hooks by default).
You would also need to update the module_builder_last_udpate variable to some non-null value. You could either use something like the developer module or you could simply comment out the two calls to drupal_http_request at the end of module_builder.module.