Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

email problems : MIME's revenge ?


didierjm

Recommended Posts

Ok, let's say, as I explained in my previous topic, that I solved things "from my ISP point of view", and that I tested it and it worked fine.

Then I asked my team to try it from their machines too, and they all get the following error page, and I now get it too..., when creating a new account :

 

============================================

Warning: reset() [function.reset]: Passed variable is not an array or object in email.php on line 71

 

Warning: Variable passed to each() is not an array or object in email.php on line 72

 

Fatal error: Call to a member function on a non-object in general.php on line 1010

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 your script on line 0

===========================================

 

Ok lines 71/72 in email.php are about MIME 1.0 (BTW MIME is off in admin !) :

 

/**

* Make sure the MIME version header is first.

*/

 

$this->headers[] = 'MIME-Version: 1.0';

 

reset($headers);

while (list(,$value) = each($headers)) {

if (tep_not_null($value)) {

$this->headers[] = $value;

}

}

 

and line 1010 or 983 (depending on platforms ? 1010 is when WinXP, 983 when Win2K) are respectively about tep_mail() & tep_customer_greeting().

 

As I said, I tried it already a few days ago and it worked !

Am I getting mad ?

 

Any clue ?

THX

DJM

Link to comment
Share on other sites

  • 4 months later...

didierjm,

I got the same problem than you.

Customer account is created in database, but no email was sent and I got an error such "Query is Empty" from MySQL.

Did you find a fix for your problem ?

Thx

Link to comment
Share on other sites

  • 3 weeks later...

Hmm thats not goot..

I?ve now the Problem too..

 

Installation in local Server has no Problem,

today i have load it to Web-Server, same Pages, same Database,

and now this Problem..

 

There no Reply... hmm, has anybody fix this Problem ??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...