Hi,

I made a fresh install of Drupal 7.41. Then I installed Ubercart 3.8.

I activated Cart, Order, Product, Store.

Next I tried to activate Payment- and Taxes-module. But nothing happens, there is no message, no report, no error, it just reloads the modules-page.

I deleted all and startet from scratch (fresh Drupal, fresh Ubercart) and again I can not install ANY optional Ubercart-modules. I downgraded to Ubercart 3.6, but the problem is still there.

I can only install payment-module, but I have to select Paypal, Paypal then activates Payment. This is the only optional module, that I can install, but I have to select Paypal or Payment will not be installed.

I'm stuck, I do not know what to do? Do you have any idea? What do you need to know to help me, please?

Oliver

sry for bad english

Comments

Lucas1510 created an issue. See original summary.

TR’s picture

Assigned: Lucas1510 » Unassigned

This is not a problem with Ubercart. It's almost certainly a problem with your site configuration. Check your webserver logs and your Drupal dblog for any errors. My guess is it's something like not enough PHP memory, which is causing the installation process to abort. Or perhaps you have multiple copies of Ubercart somewhere under your web root. Or perhaps you're using an admin theme other than the default Seven theme. Regardless, there should be errors logged somewhere which would indicate why the Drupal installation process failed.

Lucas1510’s picture

I could not install taxes because I used php 5.6, after switching back to php 5.3 I can install taxes.

TR’s picture

Status: Active » Closed (works as designed)
marcom2021’s picture

I'm having the same problem. The Taxes module won't install on a server with PHP 5.6. I transfered my site from a hosting with PHP 5.4 to 5.6 and now the Taxes module won't install. The module page refreshes but nothing happens. Nothing is reported in the Drupal log files.

Does anyone know a solution for this problem? Back to PHP 5.4 isn't really an option.

longwave’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

Is anything recorded in the web server error log when this happens?

marcom2021’s picture

Solved. The PHP version wasn't causing the problem. Lack of memory was. Setting the memory_limit from 128M to 256M solved the problem. Lack of memory usually generates an error. Don't know why the page just refreshed without an error this time.

longwave’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for letting us know. Tentatively assuming Lucas1510 has the same problem; please reopen with more details if not.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

vitalijus.trainys@gmail.com’s picture

Category: Support request » Bug report
Status: Closed (fixed) » Needs work

Same issue. Can't activate taxes module. Nothing in web server logs (php log_errors = On), nothing in db sever (pg) logs. Nohing in drupal recent log report. PHP Version 5.5.9-1ubuntu4.14, PostgreSQL 9.3, Apache2.

Any ideas? (maybe have someone)

longwave’s picture

Category: Bug report » Support request
Status: Needs work » Postponed (maintainer needs more info)

As before, we will need more info to solve this. Did you try increasing your memory_limit as suggested above? Does this only happen for the taxes module, or does the same thing happen if you try to install another module as well? What if you try to install taxes and another module at the same time on the modules page?

vitalijus.trainys@gmail.com’s picture

Did you try increasing your memory_limit as suggested above?
-- memory_limit = 1024M. Increasing to 2048M. No changes.

Does this only happen for the taxes module, or does the same thing happen if you try to install another module as well?
-- Taxes module only

What if you try to install taxes and another module at the same time on the modules page?
-- If I am installing taxes and, for example, variables admin module, taxes was not installed, variables - did.

vitalijus.trainys@gmail.com’s picture

I even don't know why, but look to answer #9 at https://www.drupal.org/node/2429297 and following thread. It works. Why?
Nightmare :).

TR’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

If removing the parentheses in the module's package name "fixed" your problem, then you do indeed have something wrong with your site - you've just avoided the real issue, you didn't fix anything. Parentheses are perfectly valid characters for package names, and many modules, not just Ubercart, use them. Drupal core even uses them in D8. Tens of thousands of sites have no problem with this, so you really ought to be looking for problems on your own site. I suggested multiple copies of Ubercart in #2, did you look at that? If you removed the parentheses from one copy of uc_taxes.info, then it's entirely possible Drupal core was able to enable the module because it was no longer confused by an identical duplicate uc_taxes.info file elsewhere in your file system. If that's the case, you still have a problem - Drupal does not allow you to keep duplicates around, even if you rename them or put them in a different directory.

longwave’s picture

Seems to be specific to certain hosting environments, though I have no idea why this might happen.

There is a core issue at #2665152: Simplify module form structure and fix bugs when Suhosin is used which is the best place to continue discussing this.

caw67’s picture

same thing here!
delete the brackets () helps