Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank screen on some pages


Guest

Recommended Posts

Hi all,

 

After I installed my shopping cart files to a new server (plesk panel), I started to notice some problems on some of the pages.

 

1. When I tried to login it redirects me to a black screen/page.

2. When I tried to click "add to cart" button to order it also redirects me to blank screen.

 

This was not happening on my former hosting company (godaddy.com). What might be causing this? Your help is greatly appreciated as i need to fix this before weekend :(. Thanks in advance.

 

 

Regards,

Dennis

Link to comment
Share on other sites

Does this something to do with session?

 

On my former server I set configure.php store session to: define('STORE_SESSIONS', '');

 

Now on the new server forces me to use mysql: define('STORE_SESSIONS', 'mysql'); because it will cause error that it cant find /tmp folder if i leave it blank. Any help is appreciated.

 

 

Thanks,

Link to comment
Share on other sites

did you have a SHARED SSL on there? Seems that the issue are with pages that would normally be SSL enabled.. the blank usually just means that you have error reporting turned off and you should go to your host and get that on so you know the exact error.

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

did you have a SHARED SSL on there? Seems that the issue are with pages that would normally be SSL enabled.. the blank usually just means that you have error reporting turned off and you should go to your host and get that on so you know the exact error.

Hi Lindsay,

 

Thanks for the tip and quick reply. We are currently using a dedicated server so I think I can make it turn on. I'll get back here when I find some errors on it.

 

Regards,

Link to comment
Share on other sites

Hi Lindsay,

 

Thanks for the tip and quick reply. We are currently using a dedicated server so I think I can make it turn on. I'll get back here when I find some errors on it.

 

Regards,

I think we use a shared SSL on this server since we have an existing customize cart installed in it w/c is working. Is shared ssl causing this problem?

 

This is the troubled cart: https://216.139.218.196:8443/sitepreview/ht...nlinestore.com/

 

But this I installed a new oscommerce catalog on here: https://216.139.218.196:8443/sitepreview/ht...re.com/catalog/ and click on "add to cart" and it seems to be working fine.

 

Also is it possible to display error using php script? what file?

 

Thanks,

Link to comment
Share on other sites

I think we use a shared SSL on this server since we have an existing customize cart installed in it w/c is working. Is shared ssl causing this problem?

 

This is the troubled cart: https://216.139.218.196:8443/sitepreview/ht...nlinestore.com/

 

But this I installed a new oscommerce catalog on here: https://216.139.218.196:8443/sitepreview/ht...re.com/catalog/ and click on "add to cart" and it seems to be working fine.

 

Also is it possible to display error using php script? what file?

 

Thanks,

I tried displaying the error at products_new.php and this is what i got...

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/bmponlinestore.com/httpdocs/includes/functions/html_output.php:656) in /var/www/vhosts/bmponlinestore.com/httpdocs/includes/functions/sessions.php on line 97

 

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/bmponlinestore.com/httpdocs/includes/functions/html_output.php:656) in /var/www/vhosts/bmponlinestore.com/httpdocs/includes/functions/general.php on line 33

 

What might causing this? It didn't appear on the old server. :huh:

 

Regards,

Link to comment
Share on other sites

I made changes by clearing out/deleting some white spaces of the files involved and it seems working now. Thanks to Lindsay for the reasons/tips behind "blank screens" :)

 

Best,

Link to comment
Share on other sites

ahh the HEADERS ALREADY SENT is almost ALWAYS blank spaces before the first or after the last php tags

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...