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
Comment #2
TR CreditAttribution: TR commentedThis 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.
Comment #3
Lucas1510 CreditAttribution: Lucas1510 commentedI could not install taxes because I used php 5.6, after switching back to php 5.3 I can install taxes.
Comment #4
TR CreditAttribution: TR commentedComment #5
marcom2021 CreditAttribution: marcom2021 commentedI'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.
Comment #6
longwaveIs anything recorded in the web server error log when this happens?
Comment #7
marcom2021 CreditAttribution: marcom2021 commentedSolved. 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.
Comment #8
longwaveThanks for letting us know. Tentatively assuming Lucas1510 has the same problem; please reopen with more details if not.
Comment #10
vitalijus.trainys@gmail.com CreditAttribution: vitalijus.trainys@gmail.com as a volunteer commentedSame 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)
Comment #11
longwaveAs 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?
Comment #12
vitalijus.trainys@gmail.com CreditAttribution: vitalijus.trainys@gmail.com as a volunteer commentedDid 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.
Comment #13
vitalijus.trainys@gmail.com CreditAttribution: vitalijus.trainys@gmail.com commentedI even don't know why, but look to answer #9 at https://www.drupal.org/node/2429297 and following thread. It works. Why?
Nightmare :).
Comment #14
TR CreditAttribution: TR commentedIf 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.
Comment #15
longwaveSeems 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.
Comment #16
caw67 CreditAttribution: caw67 commentedsame thing here!
delete the brackets () helps