Closed (fixed)
Project:
iDEAL For Ubercart
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2013 at 11:04 UTC
Updated:
27 Jan 2014 at 08:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xanoThanks for reporting this problem! However, without more specific information, we cannot reproduce and therefore fix the problem. Please provide step-by-step instructions on how to reproduce this problem on a fresh Drupal installation.
Comment #2
Gigi_ commentedHello Xano,
I am not sure what other information I can give you. Drupal 7.22 and all the modules I am using are working fine untill I install Ideal for Ubercart. I am not getting any error logs in Drupal, it just can't find the url admin/store/settings/payment anymore. I can access admin/store and all the other parts of ubercart, but the payment options. As soon as I uninstall the module, payment options are accessable again.
I have had this issue before when I started this project and installed Ideal and Ideal for Ubercart at the same time with Ubercart and some other basic modules. Then I decided to remove everything and start over because I couldn't figure out where the issue came from. Now I am installing module per module, and always check if the payment options still work first after each module.
In Ubercart Payment I am only using the option Paypal btw. There is no missing depencies as far as I can see.
Makes iDEAL available as an Ubercart payment method.
Requires: iDEAL API (enabled), Entity API (enabled), Payment (enabled), Order (enabled), Product (enabled), Image (enabled), File (enabled), Field (enabled), Field SQL storage (enabled), Store (enabled), Rules (enabled), Entity tokens (enabled), Views (enabled), Chaos tools (enabled)
Provides a framework to make transactions between Dutch bank accounts using the iDEAL bank transfer system.
Requires: Entity API (enabled)
Required by: iDEAL Donation Form (enabled), iDEAL For Ubercart (disabled), iDEAL Administration Interface (enabled)
I can give you access to my site if you want to check it out further. In that case, send me an email to gigi@gigi.nu. :)
Comment #3
janwalhof commentedHello Xano,
I have the same problem as Gigi describes.
Kind regards,
Jan Walhof
Comment #4
xanoClosing this due to lack of steps to reproduce the problem. If you can provide these steps, please post them here and re-open the issue.
Comment #5
monen commentedEnabling iDEAL for Ubercart 7x-1.3 gives WSOD "white screen of death"
Drupal 7.24
modules:
Ubercart 7x-3.5
iDEAL API 7x-2.6
while trying to enable iDEAL and navigating to admin/store/settings/payment, this results in WSOD.
enabled error reporting gives:
Fatal error: Call to undefined function idealubercart_callback() in sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc on line 46
Hope you can solve this issue.
kind regards,
Henk Monen
Comment #6
monen commentedOnce again, the name of the actual file drops out:
Enabling iDEAL for Ubercart 7x-1.3 gives WSOD "white screen of death"
Drupal 7.24
modules:
Ubercart 7x-3.5
iDEAL API 7x-2.6
while trying to enable iDEAL and navigating to admin/store/settings/payment, this results in WSOD.
enabled error reporting gives:
Fatal error: Call to undefined function idealubercart_callback() in sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc on line 46
Comment #7
monen commentedComment #8
xanoClosing again. Do not open this issue again, unless you can provide the information requested above.
Comment #9
monen commentedRepeating the error from a fresh Drupal installation
All needed steps to reproduce the WSOD error are described below:
Environment:
OSX 10.8.5
Apache/2.2.24 (Unix) DAV/2 PHP/5.3.26 mod_ssl/2.2.24 OpenSSL/0.9.8y
MySQL 5.5.24
Preliminary steps:
1. create in mysql database ideal_db with user ideal pwd ideal
2. in apache create vhost for ideal.local:
4. add line in /etc/hosts:
127.0.0.1 ideal.local5. restart apache:
Installation of Drupal and modules:
1. download drupal-7.24.tar.gz, unpack in proper test directory: ideal.local
2. copy drupal-7.23.nl.po in profiles/standard/translations
3. open browser and go to address: ideal.local
4. follow the instructions drupal gives
Choose for installation profile: Standard
Choose language: Dutch
Database-instellingen: fill in database credentials (ideal_db ideal ideal) press "opslaan en doorgaan"
Page: "Website instellen"
Naam van de website: ideal.local
Website-e-mailadres: henk@stuurnaarhier.nl
Gebruikersnaam: admin
E-mailadres: admin@stuurnaarhier.nl
Wachtwoord: *******
Wachtwoord bevestigen: *******
Standaardland: Nederland
Standaardtijdzone: Europe/Amsterdam
Block: "Update-meldingen" keep both options checked
Press "opslaan en doorgaan"
results in successfull installation: page "Drupal-installatie voltooid"
5. Installation of modules needed for shopping in sites/all/modules/contrib:
entity-7.x-1.2
rules-7.x-2.6
views-7.x-3.7
ctools-7.x-1.3
ubercart-7.x-3.5
ideal-7.x-2.6
idealubercart-7.x-1.3
copy ubercart-7.x-3.5.po to profiles/standard/translations
6. Open browser and go to address: ideal.local, login as admin and go to modules
7. Check iDEAL For Ubercart (7x-1.3) and press the button at the bottom of the page: "Instellingen opslaan"
You wil get a page with remark: "Enkele vereiste modules moeten worden ingeschakeld" press "Doorgaan"
8. Go to store -> Payment methods (admin/store/settings/payment)
This will result in a "white screen of death" (WSOD)"
Add these lines in the root index.php, just next the opening php tag:
Once again go to store -> Payment methods (admin/store/settings/payment)
You get an error message:
Fatal error: Call to undefined function idealubercart_callback() in /Volumes/System/Users/monen/projecten/drupal-7/ideal.local/sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc on line 46
9. Go to modules, in Ubercart - payment:
uncheck iDEAL For Ubercart
check Test gateway
press at the bottom of the page the button "Instellingen opslaan"
Once again you will get a page with remark: "Enkele vereiste modules moeten worden ingeschakeld" press "Doorgaan"
10.Go to Credit card settings (admin/store/settings/payment/method/credit)
choose tab "Security settings" and fill in "../keys" for encryption key directory
press "instellingen opslaan" at the bottom of the page
11.Go to store -> Payment methods (admin/store/settings/payment)
Now you will see the activated payment methods.
12.Go to modules, in Ubercart - payment:
check iDEAL For Ubercart
check Test gateway
press at the bottom of the page the button "Instellingen opslaan"
13.Go to store -> Payment methods (admin/store/settings/payment)
This will result in a "white screen of death" (WSOD)"
You get an error message:
Fatal error: Call to undefined function idealubercart_callback() in /Volumes/System/Users/monen/projecten/drupal-7/ideal.local/sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc on line 46
I hope that with this information you will able to reproduce the error, and more important to solve it.
Kind regards,
Henk Monen
Comment #10
monen commentedComment #11
xanoThanks for the extremely useful instructions, @monen!
This looks like a piece of leftover code from a past refactoring. Can you confirm if this patch solves your problems?
Comment #12
monen commentedThanks for the patch @Xano, but alas!
I applied the patch (which resulted in deleting in line 32 in idealubercart.module as far as I can see) and retried:
1. Go to Store -> Payment methods (admin/store/settings/payment)
This will again result in a "white screen of death" (WSOD)"
Now I get another error message:
Fatal error: Function name must be a string in sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc on line 46
2. Navigate one step back, a warning shows up in the Store page:
Notice: Undefined index: callback in uc_payment_methods_form() (regel 46 van sites/all/modules/contrib/ubercart/payment/uc_payment/uc_payment.admin.inc).For the time being I have added an empty function in the idealubercart.module:
This is the same empty function which disappeared in version 1.2
With this function everything seems to work fine.
kind regards,
Henk Monen
Comment #13
monen commentedComment #14
monen commentedComment #15
monen commentedComment #16
xanoHere is a patch based on #12.
Comment #17
monen commentedPatch works ok.
With the patch payment method iDeal appears in the payment methods list.
Thanks for the adjustment,
Henk Monen
Comment #18
monen commentedthe patch solves the issue
Comment #19
xanoThanks for the feedback! I committed the fix.