Hi,

on a fresh install of Drupal 7.34 and Commerce 1.11, the Commerce License module can't be activated. I tried it with three new installs. Every time when I try to enable the License module, there is neither a confirmation message nor an error message and the module remains deactivated (unchecked checkbox). No entries in the error log.

Is there anything known in this respect?

Thanks
pap

Comments

brianlp’s picture

Category: Support request » Bug report

Did a few more test installs but it always fails. I tried it on two different servers. When checking the module checkbox and hit save, the module page reloads without a message or error and the module remains disabled. It does not ask for it's dependencies if checked off before those.

There is no entry in the system or server log. Other modules do not have this issue.

However, in a local mamp installation the module can be enabled as expected. Although the basic settings are the same, the issue remains the same on the live server. Switching php or database (MyISAM/InnoDB) does not make a difference.

Any Ideas what I could check or test are welcome since I'm running out of ideas.

Marking this as a bug report as I can reproduce it on different machines independently.

katche’s picture

hi Brian,

same here. Do u have any solution by now?

brianlp’s picture

Unfortunately no. I set it up locally and then moved it to the server.

I believe this is related to the issue where modules get disabled by an unknown trigger and can't be re-enabled through the UI.
See the discussion here: https://www.drupal.org/node/2448461

From the findings in that discussion, you might try to enable the module through the database (see #15 there) as a workaround.

cord1’s picture

I have the same problem.

Comment:
Not able to enable Commerce License 7.x-1.3 or 7.x-1.x-dev
Tried several times each time on clean Drupal install.

Running
Apache, MySQL, PHP 5.6
clean standard install of Drupal 7.41

All dependent modules are awailable
Enabled all commerce modules with success
Commerce 7.x-1.11

All dependent modules are awailable
Trying to enable in admin/modules
Commerce License 7.x-1.3
No errormessage, not installed, shows uninstalled in admin/modules
No loginfo.
No changes in DB system table.

No problem enabling other modules.
Other modules uses same environment and Drupal version so how can it be
environment problem or Drupal problem?

mattlt’s picture

Update to my issue with the same type of problem…

https://www.drupal.org/node/2621370#comment-10636588

Hope this helps.

Thanks,

•• matt

mengi’s picture

I have no issues with the install of the module. Just tried it with a dev server and then on a live test/dummy site. I would have to assume it has something to do with your server environment.

Kazanir’s picture

Status: Active » Closed (works as designed)

Looks like this was related to specific versions of PHP falling down on .info files that contained parentheses.

David_Rothstein’s picture

Status: Closed (works as designed) » Closed (duplicate)
Related issues: +#2665152: Simplify module form structure and fix bugs when Suhosin is used

According to other issues, this is due to a conflict with Suhosin.