5 replies [Last post]
IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Was this information Helpful?

Hi folks,

Fresh install of Drupal 6.x and Ubercart 2.x on a Windows server. Mostly in good shape (after dealing with cranky IIS permissions), though store admin -> configuration -> payments is coming up with a WSOD and this in the log:

call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_payment_settings_overview' was given in D:\Inetpub\[sitename]\includes\menu.inc on line 348.

Tried disabling each of the payment mods one by one, but no luck. Not seeing this anywhere else on the installation, which is otherwise rocking and/or rolling.

One of our developers said that at first, he could refresh the payments settings page and it would appear. But no longer. (He is slightly insane; not sure whether to believe him.)

Any advice/wisdom?

thanks,
ITG3000

splash112@drupal.org's picture
Offline
Joined: 04/01/2008
Juice: 413
Re: New 2.x Install - White Screen of Death on Payment Settings

Could you check if:

sites/all/modules/ubercart/payment/uc_payment/uc_payment.admin.inc
is uploaded correctly / try uploading again? Can these files be handled as php files in your system (sorry, don't know php under windows)?

Other, long shot.
Try adding:
require_once('uc_payment.admin.inc');
to uc_payment.module (10? lines from the top)

Good luck!

Mark

IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
uc_payment.admin.inc is blank

So, Splash, you're onto something. uc_payment.admin.inc is blank. What should be there?

IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
What I mean, is...

What I mean, is, I replaced the file with this:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/ubercart/pa...

And we're now good to go.

Just for future reference, is there something that we did during install or after that would blank out a file like that?

Thanks Splash (et al).

--ITG3000

splash112@drupal.org's picture
Offline
Joined: 04/01/2008
Juice: 413
Re: What I mean, is...

Ah, sometimes ftp programs mess up a little. Just uploading the file half or without anything in it.
Happens to me all the time, easiest solution is if the filesize is the same as the original, if not, upload again.

Good luck!

scot.self's picture
Offline
Joined: 02/11/2010
Juice: 107
mock recurring problem

On my particular install, I had the same problem and have narrowed it down to a problem with the Mock Recurring Gateway. As long as that is not enabled, i do not get the blank screen at the payment settings page.