I am trying to evaluate Drupal Commerce in a WAMP localhost setting. I am working with Core 7.12+4-dev, Rules 7.x-2.0+15 and Commerce 7.x-1.2 which needs Rules UI enabled. I can't do anything more until this is fixed and I don't know how to fix it. Frustrating.

(Since I am new to the Drupal system I also posted this to Rules hoping the right people will become aware).

Comments

bojanz’s picture

Category: bug » support
Priority: Critical » Normal

You provided no info that could allow us to help you.
And note that things that the priority field does not relate to how important it is for you.

What is your problem with enabling Rules UI? Which error do you get?

amateescu’s picture

Status: Active » Postponed (maintainer needs more info)

Are you using the 5.3.9 PHP version from WAMP? I saw a recent setup like this that had the same problem, and downgrading to PHP 5.3.1 fixed it.

http://downloads.sourceforge.net/wampserver/WampServer2-PHP531.exe?download

tiger65’s picture

OK, fair enough.
I get tossed out of Drupal with a browser notice, The connection was reset...... so the Rules UI does not become enabled.
The Apache log is as follows:
Mon Feb 06 12:58:45 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Mon Feb 06 12:58:45 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.9 configured -- resuming normal operations
[Mon Feb 06 12:58:45 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon Feb 06 12:58:45 2012] [notice] Parent: Created child process 7096
[Mon Feb 06 12:58:45 2012] [notice] Child 7096: Child process is running
[Mon Feb 06 12:58:45 2012] [notice] Child 7096: Acquired the start mutex.
[Mon Feb 06 12:58:45 2012] [notice] Child 7096: Starting 64 worker threads.
[Mon Feb 06 12:58:45 2012] [notice] Child 7096: Starting thread to listen on port 8085.
[Mon Feb 06 12:58:45 2012] [notice] Child 7096: Starting thread to listen on port 8085.
I tried the suggestion of using PHP5.3.1, which wouldn't run on Apache2.2.21, but would on Apache2.2.14. Drupal would not allow any administrative task under that environment but would send me back to the Wampserver home page(localhost).

Does this help?

tiger65’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Needs work

A colleague of mine found a work around that allows RulesUI to be enabled and Commerce installed/enabled. There may be other issues as well.

Edit path "sites/all/modules/rules/rules_admin/rules_admin.module" and add a line of PHP code to it. He added "$crashFix = 1;" to the top of the file, before the declaration of the first function. YMMV

rszrama’s picture

Category: bug » support
Status: Needs work » Closed (cannot reproduce)

Wow, very weird. I'm not sure what we can really say here, as I don't see how this can be a Drupal Commerce issue. I'd look for related issues in the Rules issue queue, and I'm glad you got it working in the meantime. : )