Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Just show blank page...please help!


Enliz

Recommended Posts

Hello,

 

I installed osCommerce 2.2 MS1 on my Windows 2000 server and made all necessary modifications. Everything worked great on my NT box. I then uploaded to a hosting server which run Linux. I change all configurations to match with Linux box and everything seems fine, but now I have these problems:

 

1. Without login, when I click on My Account or Checkout, it should redirect me to login page so I can login. It does nothing, but just shows a blank page with no error message.

 

2. When I click on Sign In to go to login page and enter my email and password; click on Sign In button...It shows on my url address:

http://myserver.com/login.php?action=process

and blank page. If I click back on browser and refesh the page, it shows that I already login.

 

I don't know what wrong. But it seems that it didn't redirect the page. I check session and it's OK. If I login and don't have problem.

 

Anyone knows about this problem, please help. I really don't know what's wrong.

 

Thanks a bunch.

Please excuse me for my English.

 

Enliz

Link to comment
Share on other sites

Check your 2 configure.php files.

Login page can requires SSL. :)

 

define('HTTPS_SERVER', 'http://localhost'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Hi,

Try this:

define('HTTPS_SERVER', 'http://myserver.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure? :)

If that doesn't work define your path instead of $document root:

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) :wink:

For more info:

check http://www.www.oscommerce.com/forums/viewtopic.php?t=38465

Set in both configure files

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Thank smiley and agtlewis,

 

Since the hosting provider is disable showing errors in php, I can't see error message to fix it. I installed a Linux box with RedHat 8.0 and configure mySql and PHP with showing error message and I solve the problem.

 

For those we want to know. The problem is I have some extra line ("n") at the end of configure.php and application_top.php while I modified them.

Just remove those blank lines and it works.

 

Enliz

Link to comment
Share on other sites

Thanks Enliz,

Now this topic can be of use to someone with a similar problem. 8)

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...