When attempting to install Coder, it breaks my D7 WAMP dev site.

I place the coder folder in my modules directory, and then attempt to go to /admin/modules and then I get a "Connection Reset While Page was Loading" Error in every browser.

I have made sure I am meeting all of the dependencies of the module, still no difference.

Thanks,
Russ

Files: 
CommentFileSizeAuthor
#4 screenshot.jpg34.01 KBkd8fre

Comments

solotandem’s picture

Based on the information you provide, why is this automatically an issue with Coder? A web search for that error string would suggest a firewall or security software as being the cause?

kd8fre’s picture

Solotandem,
If i remove the coder module files, everything works. If I put them back, it does not. This is a local server, only accessing from the machine the server is on, so Firewall is not a problem.

Russ

solotandem’s picture

Let's explore, "I have made sure I am meeting all of the dependencies of the module, still no difference." What are the dependencies you have met? Be specific, possibly include a screen shot of the modules page for the coder related modules. Does your web server have write access to appropriate files directories?

kd8fre’s picture

StatusFileSize
new34.01 KB

Solotandem:
These are the dependencies I have met:

The 7.x branch requires:

the Grammar Parser (as a library, not "enabled" as a module)
the Grammar Parser Library
the Libraries API (2.x-dev)

Russ

solotandem’s picture

The code dependencies appear to be met. Thanks.

Still, the error message suggests a site configuration problem, which seems unlikely to be caused by enabling a module.

Are there messages in the Apache logs when you try to access the site with Coder enabled? Have you enabled other contributed modules, added content, etc.?

kd8fre’s picture

solotandem:
Once i upload the files, the site breaks, before I am even able to enable it.

Here is the portion created in the Apache error log:

[Mon May 23 13:04:57 2011] [notice] Parent: child process exited with status 255 -- Restarting.
[Mon May 23 13:04:57 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.4 configured -- resuming normal operations
[Mon May 23 13:04:57 2011] [notice] Server built: Oct 24 2010 13:33:15
[Mon May 23 13:04:57 2011] [notice] Parent: Created child process 1056

And in the Apache Access Log:

127.0.0.1 - - [23/May/2011:13:04:41 -0400] "GET /drupal/ HTTP/1.1" 200 24304
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/system/system.base.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/misc/ui/jquery.ui.theme.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/misc/ui/jquery.ui.core.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/overlay/overlay-parent.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/simplenews/simplenews.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/comment/comment.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/libraries/superfish/css/superfish.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/field/theme/field.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/libraries/superfish/css/superfish-vertical.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/node/node.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/search/search.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/libraries/superfish/style/blue.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/contextual/contextual.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/ctools/css/ctools.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/toolbar/toolbar.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/libraries/superfish/css/superfish-navbar.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/user/user.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/system/system.menus.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/shortcut/shortcut.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/ckeditor/ckeditor.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/views/css/views.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/date/date_api/date.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/custom.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/tabs.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/page-backgrounds.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/system/system.theme.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/blocks.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/wireframes.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/navigation.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/layout-fixed.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/pages.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/views-styles.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/html-reset.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/modules/system/system.messages.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/nodes.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/print.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/forms.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/fields.css?llgfso HTTP/1.1" 304 -
127.0.0.1 - - [23/May/2011:13:04:43 -0400] "GET /drupal/sites/all/themes/SDS/css/comments.css?llgfso HTTP/1.1" 304 -

Thanks for the help with this.

Russ

solotandem’s picture

Category:bug» support

Do a web search on "[notice] Parent: child process exited with status 255 -- Restarting". You will find some interesting stuff related to WAMP. Things like out of memory, PDO issues, etc.

If you don't find something quickly, you could try outputting more debug information from Apache to see if it will tell you what is causing the restart.

You claim, "Once i upload the files, the site breaks, before I am even able to enable it." This, again, does not suggest a problem with Coder (it is not even enabled so Drupal should not be invoking any of its code).

Changing issue status until you can provide definitive evidence that Coder is the cause.

kd8fre’s picture

solotandem:
I will attempt the Google search you specified.
The reason that I am fairly sure it is coder, is if I place the files in the modules directory, bam, site broken. If i remove the files from the module directory, site fixed.
I am able to add other modules just fine.

Russ

kd8fre’s picture

It is only the /admin portion of the site that breaks, not the regular (user viewable) portion.

Russ

solotandem’s picture

Is Grammar Parser placed in the "libraries" directory? Hop on IRC sometime and let's see if we can't figure this out. Or Skype with screen share.

kd8fre’s picture

solotandem:
I am usually around #drupal-support. I do have the ability to do screensharing. I will most likely be on IRC tomorrow after 9am eastern. I have the same nick there as I do here.

Thanks again for the help.
I did get my issue that I wanted the module for figured out elsewhere, but I would like to know what the problem is now.

Russ

kd8fre’s picture

Status:Active» Postponed

I'm Changing status on this as I will be out of town for some time.
Thanks for the attempts at help. Hopefully I will get it figured out and post back.

Russ

kd8fre’s picture

Status:Postponed» Closed (cannot reproduce)

Seems to have been a strange WAMP issue.
Now have it working. Thanks for the help.

Russ

robidigital’s picture

Any way you might be able to post what the issue was so that others like myself can troubleshoot our same issue?

Thanks

kd8fre’s picture

robidigital,
I ended up having to reinstall WAMP, for another non-drupal reason, and that fixed it. Not sure if it was just a bad WAMP install or what.

Russ

odegard’s picture

I am experiencing the same thing.

By trial and error (deleting files, then commenting out parts of the offending file) I managed to narrow it down to.... (drumroll)... the length of the description in coder_upgrade.info, but only if it is wrapped in double quotes!

Here are all my findings, they are bizarre...

* Removing the double quotes, works
* Keeping the double quotes but concatenating the three description lines into one, works
* REDUCING the length of the double quotes description to under 190 bytes, WORKS

It's the weirdest thing... I edited the .info file of a random module adding words to the description field. If number of bytes of the description inside the quotes is 189 or less... it works. Adding a single letter breaks the modules page. Again, removing the double quotes unbreaks it.

My guess is that it's something about how WAMP configures apache or php, but this is out of my area of expertise. If anyone else has some input, please share.

If this is the case, we probably should consider giving notice in the writing .info files page (http://drupal.org/node/542202) where it says "Quoted values may contain newlines."

rennevat’s picture

odegard, thank you for sharing your solution. We experienced the same "The connection to the server was reset while the page was loading" issue on all admin pages immediately after downloading Mass Contact module to local WAMP server. Editing the .info file to reduce the description to a single line immediately fixed the problem. Again, many thanks.

favosys’s picture

I just ran into the same problem, thankfully I found this page.

If this is a known issue and we have the solution, why isn't fixed? You might say it's a WAMP problem but how many people use WAMP? I'll tell you, a lot of people. Do you really want every person who uses WAMP to get their site broken just by copying it in the modules folder? You know what the problem is, just fix it.

solotandem’s picture

The issue with WAMP was addressed in #1277726: coder_upgrade.info bug on Windows systems and a commit was made. Are you running the latest development release as recommended on the Coder project page? If you are, then you shouldn't have the problem.

Misura’s picture

Does anybody know how to fix the issue with WAMP? I understand the issue with Coder is fixed with the newest release but other modules have the same issue with WAMP and it is suppppper annoying!

What is it with the line breaks in the .info files, etc?

If anybody knows how to fix it, you are a god to me lol

ANDiTKO’s picture

Status:Closed (cannot reproduce)» Closed (fixed)

I had the same problem in WAMP. I had the stable version of the coder module.

Upgrading to the dev version fixed this problem.

lmeister’s picture

Real cause and proper fix here. This is not a coder problem but a WAMP setup issue:
http://drupal.org/node/1597820#comment-6094060