Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent Shopping Cart Problem


headbanging

Recommended Posts

Posted

Hi,

 

I have an issue with the shopping cart, and am at a loose end, and don't know what to do next.

 

This problem has been ongoing, but I will explain.

 

When you click on 'checkout' it use to bring up a blank white page, and when you went to view the source that would also be blank. I tried over writing the shopping cart files, with a clean set, but that didn't help.

 

I then installed 'One Page Checkout' and you can now see the checkout, choose payment options and postage, but when you click continue, it again brings up a blank page. The URL reads that it is on checkout_process.php and I have been through this file but can see no errors. I know it should redirect to checkout_success.php but it dosen't.

 

I do get emails through when a customer places an order, and the orders are processed, but having the white page appear is very of putting.

 

Does anyone have ideas of what this fault may be, or where I can look for a solution?

 

Cheers

Posted

You have an error in code so that it display blank page (due to some setting in php.ini regarding do not display error show only blank page).

 

So that first enable this setting (you can also enable this setting or force error( to display warnings and fatal error placing) in application_top.php file).

 

This will result in errors getting displayed.Fix it and the blank page is gone...

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

You have an error in code so that it display blank page (due to some setting in php.ini regarding do not display error show only blank page).

 

So that first enable this setting (you can also enable this setting or force error( to display warnings and fatal error placing) in application_top.php file).

 

This will result in errors getting displayed.Fix it and the blank page is gone...

 

 

Satish

 

Thanks for that reply.

 

I have had a look at application_top.php, and can only find the following to do with error reporting:

 

// set the level of error reporting
 error_reporting(E_ALL & ~E_NOTICE);

 

Is this the right area? and is that code correct?

 

Thanks

Posted

Does ANYONE have ANY ideas? I'm banging my head here, and thought this forum would be the place to come for OSC problems, but with 64 views and just one reply on this thread, it seems i was wrong.

 

Where else is good for Osc support?

Posted

Quit bitching. Everyone here is a volunteer donating their time to help others, so have some patience.

 

When you get a "white screen", it usually means there has been a severe (fatal) PHP syntax error in the code. Look in your system control panel Error Log, and look in your osC directories for PHP error log files (such as "error_log"). Between the two, you should get an idea of what the error was, and what file and line number. If not, you'll have to talk to your host about why you're not getting any notification of errors by PHP. Just for giggles you could try commenting out that error_reporting() line and see what shows up, either on-screen or in an error_log file.

Posted

Sometimes turning off gzip can make errors visible.

Posted

Thanks for that reply.

 

I have had a look at application_top.php, and can only find the following to do with error reporting:

 

// set the level of error reporting
error_reporting(E_ALL & ~E_NOTICE);

 

Is this the right area? and is that code correct?

 

Thanks

 

Yes, Also Paste this:

ini_set('display_errors','On');

 

before:

// set the level of error reporting

error_reporting(E_ALL & ~E_NOTICE);

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...