Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when creating a new account


Frank67

Recommended Posts

Hi, I installed a webshop with osCommerce 2.2 milestone 2 linux, and now I get this error when a customer creates a new account:

 

--- START

Warning: reset() [function.reset]: Passed variable is not an array or object in /www/htdocs/visionnt/catalog/includes/classes/email.php on line 71

 

Warning: Variable passed to each() is not an array or object in /www/htdocs/visionnt/catalog/includes/classes/email.php on line 72

 

Fatal error: Call to a member function on a non-object in /www/htdocs/visionnt/catalog/includes/functions/general.php on line 970

Query was empty - Query was empty

 

Query was empty

 

[TEP STOP]

 

 

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

--- END

 

I have several contributions installed, like pricelist and wysiwyg but cannot trace the error back to one of these modules. create_account.php, email.php are unmodified, general.php has one added function. I am a PHP beginner. Help is appreciated. Thanks.

Link to comment
Share on other sites

Additional information: in spite of the error, the account is still created.

The passed variable in line 71 and 72 of email.php is $header.

Line 970 of general.php shows: $message->add_text($text);

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...