Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create_account brings up blank page


stanj

Recommended Posts

Hello

When a new customer accesses the create_account.php a blank screen is all that returns. It had been working and no mods have been added. Existing users can still process through however.

 

http://www.get-free-long-distance.com/cata...log/default.php

 

I followed advice to another person having problems and downloaded the latest create_account.php file , the old one was dated May 2002

 

Any suggestions?

Thanks

Link to comment
Share on other sites

Edit either your php.ini or .htaccess (whichever you have access to) and set display_errors to on. Try to create a new account and see what the error message is.

 

Be sure to turn display_errors off when you have it working :!:

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Thank you Daemonj but unfortunately I do not have access to the server at that level since it is a shared hosting service. I have another store using the same build of 2.2 which is working, on the same server. All other modules seem to work and it works normally with users already having accounts created.

 

Any more suggestions for someone working in the dark?

Thanks

Link to comment
Share on other sites

If you are on a shared server just edit your catalog/.htaccess to add

php_flag display_errors on

php_value error_reporting E_ALL

Just be sure to remove those entries after you have resolved the problem.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Hi Jim

I was able to get the errors listed:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:hshomerdukesget-free-long-distance.comcatalogcreate_account_process.php:2) in D:hshomerdukesget-free-long-distance.comcatalogincludesfunctionssessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:hshomerdukesget-free-long-distance.comcatalogcreate_account_process.php:2) in D:hshomerdukesget-free-long-distance.comcatalogincludesfunctionssessions.php on line 67

 

As you can tell, I am new to this and beginning with PHP. Looking at line 67 in sessions.php shows the function:

 

65. function close($save_path, $sess_name) {

66. $func = $this->close_func;

67. if (function_exists($func)) {

68, return $func();

69. }

 

The header already being sent might be the order in which the session is called but I'm not sure

Any ideas? Your help is greatly appreciated.

Thanks

Stan

Link to comment
Share on other sites

Have you made any changes to any files that would print any type of whitespace to the browser (e.g. echo, print, print_r, etc.)?

 

That error message means that some form of whitespace has been sent to the browser which will prevent session, cookies, and other header-related functions to fail.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Hi Jim

You've been a big help in pointing me in the direction of tacking down the problem but I still have not been able to find the cause. I added html formatted text to the English default.php but nowhere else. Eliminating that text and formating does not improve the response to the calls to create_account_process.php. By selecting another language which has not been changed at all, for example Spanish, th same errors occur. I've looked in all the files that are included with this user account creation process and can't find anything different from another store created with the same build of osc. I suppose the next step will be to delete the whole store and start over :?

Thanks for your patience, the support for this project is really good

Stan

Link to comment
Share on other sites

  • 2 weeks later...

I don't know if this is necessaryily related but we're having a similar problem with creat_account.php, login.php, and a few others for some.

I haven't set mine to print the error message, but from reading this forum

 

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

 

In our case it's most likely an SSL problem since with both login.php and create_account.php the browser is switching from http, to https (secure)

when the page goes blank, and that's the only problem on the site after a fresh install, so it's almost gotta be that, or just a bad link to the secure section.

 

When we find out how to fix it I'll let you know.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...