Problem during checkout in Drupal 5.7

Posts: 4
Joined: 06/18/2008

I'm not sure how to explain this problem. But I have Drupal 5.7 set up with Ubercart 5, and I am using authorize.net as my payment (credit) gateway. While going through the checkout, after I click on 'Submit order' on the review order page, it hangs for a long time and then pulls up a completely blank page. This page is 'cart/checkout/review'

Does anyone have any clue what might be going on? As far as I can tell the gateway and payment setting are set up correctly on both Drupal and authorize.net. There is no error that I can tell from the page it lands on. I did notice on another forum topic that someone was reading logs in watchdog. But I'm unfamiliar, and haven't seen anything like that in 5.7. Any help would be amazing!

Posts: 63
Joined: 04/16/2008
Cool profile pic award.

This is a bit confusing, kind of like the strees of Austin and other places that have multiple names. Street sign says one thing but the map has the street labeled differently. And yes it is in 5.7. the module to activates is called Statistics under Core-optional. admin/build/modules

You can view your logs here; admin/logs

hope that helps.

Posts: 4
Joined: 06/18/2008

Thanks! I enabled the logs module, and I looked through some of the logs there. But all it seems to be tracking is server status code errors (404 mainly) and user login and logout times. I tried stepping through the checkout again, but it still lands on a blank page with no errors.

It makes it hard to know what's going on that needs to be fixed when the page doesn't return any errors.

Has anyone run into something similar? What would you suggest I try?

Thanks.

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Also, if you have access to your Apache error logs, the last message after you get the white screen should give you a clue. It might just be a memory limit issue, which can be solved through this FAQ.

Posts: 4
Joined: 06/18/2008

Hey Ryan, thanks for the advice. So far I've tried changing the settings.php and the .htaccess file. This didn't seem to fix the problem. I called godaddy, and the support guy seemed to think that I could put a php.ini file in my root directory, and it would work the same. Is that possible? He also seemed to think that there were no restrictions on memory limits (I wonder if this guy knows what he's talking about?) I'm going to try creating a php.ini file, but I was wondering if there were any other suggestions out there.

I also got access to the godaddy error logs for the site, and there isn't anything in there that's helpful.

Posts: 4
Joined: 06/18/2008

So I saw somewhere that I can do a phpinfo() and check what the memory_limit is set at. Mine is set at 64M (see attached.) The FAQ page that Ryan referred me to was having me set the memory_limit to either 12M or 32M, which is much lower. Could the memory_limit still be the problem considering it's set so high?

I decided to turn on the error reporting and see if anything came up, and it does return some errors on the cart page (see attached.) I'm not sure what to make of them. Anyone have any ideas?

Edit: I figured out why the errors were reporting. I had included the error reporting code before bootstrap.inc was loaded. Which made it complain. I fixed this and there are now no errors reporting.

Back to square one.

Any ideas?

AttachmentSize
phpinfo()333.02 KB
Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I updated that FAQ when you posted last but didn't get a chance to follow up on the problem. Have you made any progress on this issue? It sounds almost like a connection problem between your UC and Auth.net... do you have an SSL certificate for your site already?