September 10, 2010, 07:07:31 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Always search the forum before posting !
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: FF_processor error  (Read 2408 times)
kasutaja
Newbie

Offline Offline

Posts: 6


« on: August 05, 2006, 11:35:30 pm »

If submit form, then it give next error:
Line: 253
Char: 1
Error: 'ff_processor' is undefined
Code: 0

This error comes to IE browser left down corner for a moment.
Same time form work perfectly. Roll Eyes Roll Eyes Roll Eyes
Logged
facile
Administrator
Hero Member
*****
Offline Offline

Posts: 774



« Reply #1 on: August 07, 2006, 09:02:29 am »

Does this happen with one of the standard samples too?
Logged

Peter
kasutaja
Newbie

Offline Offline

Posts: 6


« Reply #2 on: August 07, 2006, 11:30:23 am »

It doesn't happen with default code.

I added to submit pieces custom end submit next code:

Code:
global $mosConfig_mailfrom, $mosConfig_fromname, $my;

$this->execPieceByName('ff_InitLib');

$from = '...@hot.ee';
$fromname = 'Information';
$subject = 'Advertise';
$recipient = '...@hot.ee';

foreach ($this->maildata as $data) {
     if ($data[_FF_DATA_TYPE] != 'Hidden Input') {
          $body .= $data[_FF_DATA_TITLE].": ".$data[_FF_DATA_VALUE].nl();
     }
}

$this->sendMail($from, $fromname, $recipient, $subject, $body);


And then it gives this error!
Logged
facile
Administrator
Hero Member
*****
Offline Offline

Posts: 774



« Reply #3 on: August 07, 2006, 11:45:18 am »

Would this also happen when you define a value for $body?

Currently it seems undefined....
Logged

Peter
kasutaja
Newbie

Offline Offline

Posts: 6


« Reply #4 on: August 07, 2006, 04:46:24 pm »

I used example in page:
http://www.facileforms.biz/wiki/To_Changing_The_Email_Subject.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF © 2001-2006 Lewis Media
| Terms of Use | Privacy | Sitemap |