View Single Post
  #1  
Old 10th January 2010, 02:06
benjaminbih benjaminbih is offline
Senior Member
 
Join Date: Jul 2008
Bosnia-Herzegovina
Posts: 70
Default [FIX] FTS 1.1 invalid argument when saving Payment Settings
First
SQL:
PHP Code:
INSERT  INTO `options` ( `option_name` ,
 `
option_value` )
VALUES 'payment_wire_details',  'Your wire transfer description goes here'); 
Then make the payment settigns writting into cache and conf:
open /administrator/options.php and find:
PHP Code:
    tr("Wire transfer details","<textarea name=payment_wire_details cols=85 rows=25 id=payment_wire_details>".get('payment_wire_details')."</textarea>",1);
    
JsB::wysiwyg('payment_wire_details'); 
and change to
PHP Code:
    tr("Wire transfer details","<textarea name=payment_wire_details cols=85 rows=25 id=payment_wire_details>".get('payment_wire_details')."</textarea>",1);
    
//JsB::wysiwyg('payment_wire_details'); 

Open /include/libs/config/misc.php and add this:
PHP Code:
$payment_wire_details FFactory::configoption(@dbv('payment_wire_details'),'Your wire transfer description goes here'); 
after this:
PHP Code:
$payment_wire_enable FFactory::configoption(@dbv('payment_wire_enable'),'yes'); 
This must be all
Reply With Quote
The Following 2 Users Say Thank You to benjaminbih For This Useful Post:
drone (11th January 2010), Edgein (10th January 2010)