Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello i downloaded the latest kickstart 2.x dev but i cant install it. I cannot contunue to the step 2. After choosing my language i get "The connection was reset" error.
I use localhost WAMP on windows 7 x64. Here is the apatche error log:
[Wed Jun 20 15:48:02 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.8 configured -- resuming normal operations
[Wed Jun 20 15:48:02 2012] [notice] Server built: Sep 24 2011 19:57:51
[Wed Jun 20 15:48:02 2012] [notice] Parent: Created child process 9060
[Wed Jun 20 15:48:02 2012] [notice] Child 9060: Child process is running
[Wed Jun 20 15:48:02 2012] [notice] Child 9060: Acquired the start mutex.
[Wed Jun 20 15:48:02 2012] [notice] Child 9060: Starting 64 worker threads.
[Wed Jun 20 15:48:02 2012] [notice] Child 9060: Starting thread to listen on port 80.
[Wed Jun 20 15:48:02 2012] [notice] Child 9060: Starting thread to listen on port 80.
[Wed Jun 20 15:48:24 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Wed Jun 20 15:48:25 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.8 configured -- resuming normal operations
[Wed Jun 20 15:48:25 2012] [notice] Server built: Sep 24 2011 19:57:51
[Wed Jun 20 15:48:25 2012] [notice] Parent: Created child process 4960
[Wed Jun 20 15:48:25 2012] [notice] Child 4960: Child process is running
[Wed Jun 20 15:48:25 2012] [notice] Child 4960: Acquired the start mutex.
[Wed Jun 20 15:48:25 2012] [notice] Child 4960: Starting 64 worker threads.
[Wed Jun 20 15:48:25 2012] [notice] Child 4960: Starting thread to listen on port 80.
[Wed Jun 20 15:48:25 2012] [notice] Child 4960: Starting thread to listen on port 80.
[Wed Jun 20 15:48:27 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Wed Jun 20 15:48:28 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.8 configured -- resuming normal operations
[Wed Jun 20 15:48:28 2012] [notice] Server built: Sep 24 2011 19:57:51
[Wed Jun 20 15:48:28 2012] [notice] Parent: Created child process 6772
[Wed Jun 20 15:48:28 2012] [notice] Child 6772: Child process is running
[Wed Jun 20 15:48:28 2012] [notice] Child 6772: Acquired the start mutex.
[Wed Jun 20 15:48:28 2012] [notice] Child 6772: Starting 64 worker threads.
[Wed Jun 20 15:48:28 2012] [notice] Child 6772: Starting thread to listen on port 80.
[Wed Jun 20 15:48:28 2012] [notice] Child 6772: Starting thread to listen on port 80.
Any ideas why my current server configuration could not install the kickstart commerce? I can install normal drupal 7 and 8 sites without any problems.
Possible solution (see #33 for more info):
http://www.drupalcommerce.org/commerce-kickstart-2/installing-using-wamp...
Comment | File | Size | Author |
---|---|---|---|
#24 | connector-fix-too-long-description-breaks-wamp-1648992-24.patch | 922 bytes | jsacksick |
#23 | connector-fix-too-long-description-breaks-wamp-1648992-23.patch | 950 bytes | jsacksick |
Comments
Comment #1
GuGuss CreditAttribution: GuGuss commentedAre you still having the issue ?
A lot of installation issues have been fixed recently !
Comment #2
ANDiTKO CreditAttribution: ANDiTKO commentedWell still having the same issue on WAMP.
I installed it on my localhost with easyPHP (its like wamp). But again it was full of bugs, errors and warnings.
WAMP still dont works
Comment #3
bojanz CreditAttribution: bojanz commentedTry the acquia dev desktop.
I see no concrete php warnings / errors that point to Kickstart, which makes me believe it's WAMP's fault.
Comment #4
GuGuss CreditAttribution: GuGuss commentedUnfortunately, those notices don't give us enough information.
Comment #5
segovia94 CreditAttribution: segovia94 commentedI'm having the same issue with my wamp setup. It appears to be caused by the connector module.
The sub-module info file connector_action_default_register_form.info has a long description name. For whatever reason this is what seems to be causing it. When the description is shortened it works just fine.
Comment #6
joshmiller@segovia94
Operating system? Version? Amount of RAM?
Comment #7
bojanz CreditAttribution: bojanz commentedconnector_action_default_register_form is 38 characters long, which is not really much.
Still sounds like it's a bug in WAMP.
Not sure there's anything I can do.
Comment #8
joshmiller@segovia94 & @bojanz -- This is a very credible bug in Windows, depending on whether you are running WAMP on Fat32, or perhaps using Microsoft Server 2003.
@segovia94, can you please post the FULL path to that file in your system? Down to C:/
http://superuser.com/questions/439387/specific-issue-with-long-pathnames... suggests that the limit is 259 characters long...
Josh
Comment #9
segovia94 CreditAttribution: segovia94 commented@joshmiller
Windows 7 64, 4g ram, WAMP 2.2, Apache 2.2.21, PHP 5.3.8
memory_limit = 300M
Here is the directory path.
C:\Users\Mark\Documents\Websites\d7\profiles\commerce_kickstart\modules\contrib\connector\modules\connector_action_default_register_form\connector_action_default_register_form.info
I use a virtual directory which is why this path is not in the C:\wamp\www directory.
This is obviously for a completely different module, but it appears that this is a description length issue out there as well. http://drupal.org/node/1165674.
Comment #10
ChristianP CreditAttribution: ChristianP commentedHey, I had the same problem, it crashed on the Second step in the installtion but I solved it now.
Go to the connector_action_default_register_form.info file and change the description to something shorter.
For example:
description = "Adepts the default action for new accounts. It does not create account by itself, but shows the register form, pre-filled with profile information from the connection. After register, it connects the connection to the new user account (for login in the future)."
To:
description = "Adepts the default action for new accounts."
Comment #11
bbdata CreditAttribution: bbdata commented#10 worked for me after not being able to get past step 1 of the 7.x-2.0-beta1 install.
Comment #12
joshmillerChanging title and passing this issue to the module maintainer that has commit access to the description.
FWIW, this is a hard sell to "fix" something that is clearly "not broken" -- WAMP is choking on a paragraph of text? Really?
Comment #13
noumanabbas CreditAttribution: noumanabbas commented#10 rocks with an other slight modification of maximum execution time from 30 to 90
Comment #14
stefan93 CreditAttribution: stefan93 commentedworks for me.
i couldn't pass "Verify requirements", i change the description for a shorter one and it works.
\contrib\connector\modules\connector_action_default_register_form\connector_action_default_register_form.info
tanks christian P
Comment #15
ANDiTKO CreditAttribution: ANDiTKO commentedI tried the same code on a different Apache/PHP/MySQL stack and it was working fine (just some warnings, but i was able to install it).
Also long name path like @joshmiller #8 reported was also a problem. I moved my www dir to "d:\www".
I no longer use WAMP. I now use "Open Server" that has some pretty cool features. Nginx, FTP FileZilla, Memcached, Webgrind, APC and others... Its portable and easy to use once you change the language from Russian to English.
Comment #16
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is neither caused by Oauthconnector, nor by WAMP. Yes, it happens in WAMP, but it is reall caused by the
preg_match_all()
regexp code in functiondrupal_parse_info_format()
in Drupal'scommon.inc
The preg_match_all function does not work well on such long .info description strings, and enters a million recursive loops, simply filling the RAM and crashing Apache.
So shorter description strings are preferable (less load on Apache).
The solution is to lower the pcre.recursion_limit in PHP .ini, or via Drupal settings.php:
I set it to 512 to fix my issue on WAMP / Windows 7.
Best to put this in php.ini though, Drupal overwrites settings.php during install, so you need to set it twice.
Comment #17
johns10 CreditAttribution: johns10 commentedI am also experiencing this error when installing on WAMPSERVER 2.2. I get the initial welcome screen. When I hit the "Let's Get Started" button, I get "This webpage is not available."
Tried to set the recursion limit in php.ini. The syntax looks a little different in my php.ini:
I also changed it in settings.php and default.settings.php as follows:
Going to give the acquia deal a try next.
Comment #18
johns10 CreditAttribution: johns10 commentedDerrr . . . Just realized I didn't uncomment those lines. Let's give this another shot.
php.ini snippet:
settings.php/default.settings.php snippet:
Restarted all services and tried install again - still no dice.
Comment #19
johns10 CreditAttribution: johns10 commentedInstalled acquia dev desktop and ran the install - worked just fine.
Comment #20
torgosPizzaI don't want to install Acquia Dev (I use WAMP for other things and have found Acquia sometimes is a bit inflexible). Simply editing the description as per #10 solved the issue quite nicely for me, while just editing the pcre limit did not. Thanks!
Comment #22
interdruper CreditAttribution: interdruper commentedVersion 7.x-2.3 (2013-Feb-14) installation under WampServer 2.2 keeps the same old problem: it hangs at step 2) ('Verify requirements'). Applying this workaround #10 pointed by ChristianP lets the installation progress be completed.
I don't know why this trivial patch is not updated in the current distribution, instead of accusing Wamp of instability in favor of Acquia stack...
Comment #23
jsacksick CreditAttribution: jsacksick commentedThe attached patch is gonna be included in the next Kickstart release.
Comment #24
jsacksick CreditAttribution: jsacksick commentedAttached patch that applies to .make files.
Comment #25
Anonymous (not verified) CreditAttribution: Anonymous commentedThe patch didn't solve the problem for me. I think it is a 64-bit Apache+Windows problem.
My solution eventually was to put the following in Drupal core /index.php (at the top):
Comment #26
voxpelli CreditAttribution: voxpelli commentedI've committed the patch from #24 and tagged a new beta-version to get around this issue
@morningtime: Seems like another issue? Perhaps open up a new issue for it so that it doesn't get lost in this issue? Especially since I think it's best to mark this one as fixed as it has gotten quite long and most seems to agree that the long description that #24 fixes is at least part of the issue and thus this should have been fixed for most.
Comment #27
jsacksick CreditAttribution: jsacksick commentedYou should have added a new line at the end of the file.
See http://drupalcode.org/project/connector.git/commitdiff/c200cee?hp=e4bbe3... it says "No newline at the end of file", this line is needed.
Comment #28
voxpelli CreditAttribution: voxpelli commented@jsacksick: Needed as in it won't work otherwise or needed as it being going coding style?
I know it's at least good git practise to have all files should end with a newline, but it's also good practice to keep all commits atomic so a fix for this would have to be a separate coding style commit and I'm sure there can be other coding style fixes found that can be done at the same time then. Perhaps we should start a coding style cleanup issue?
Comment #30
yonailo CreditAttribution: yonailo commentedI can confirm that setting
Solves the problem in my WAMP 2.2 x64 bits installation, see comments in #16 and #25, and thank you very much morningtime !!
Comment #31
bg17aw CreditAttribution: bg17aw commentedStill not working for me, WAMP 2.2, tried everything I could think of, including the solutions on post #16 and #25.
Any solution guys? It is quite an old bug, plenty time to fix.
Comment #32
grimaz CreditAttribution: grimaz commentedRe-open? Actual for Apache 2.4 branch with PHP 5.4.14
Comment #33
Kojo Unsui CreditAttribution: Kojo Unsui commentedSame bug with Win 7 64bits / WAMP 2.2 64bits php 5.3.13 apache 2.2.22
Tried above solutions without success.
Found solution applying the following on drupalcommerce.org : installing using wampserver
I could begin installation after disabling Xdebug. Maybe simply try this first :)
Comment #34
ANDiTKO CreditAttribution: ANDiTKO commentedComment #36
zrtech CreditAttribution: zrtech commentedSo, I have been having the same issue and it dawned on me after reading through all of these possible solutions and also attempting many of them, that there is a consistency in several people mentioning the usage of 64 bit WAMP as I also was. I decided to remove the 64 bit and replace it with 32 bit and VOILA!! It WORKS! So, just dump 64 bit WAMP and problem solved!
Edit: So I noticed the errors that everyone was complaining about during installation. This occurred with me during the module installation and the store front installation. What I did to resolve this:
After switching over to 32bit WAMP, formatting my database and installing a new copy of commerce kickstart, everything functioned 100% without errors. Cheers! ;-)
Have fun with kickstart!
Zahir Narsisto Rodulfo
ZRTECH - ITS
http://www.zrtechnologies.com
Comment #37
pjcdawkins CreditAttribution: pjcdawkins at Centarro commentedI experienced a problem with the maximum path length (
MAX_PATH
) which was solved by changing the Drush temporary directory.See: http://drupal.stackexchange.com/a/183323/16078
I'd like also to note that there are plenty of VM solutions available that aren't Acquia Dev Desktop, for example https://github.com/geerlingguy/drupal-vm