Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Shows After Rename the Money Order Modules


Guest

Recommended Posts

Hi,

I have a question after I have rename the display name from (Check/Money Oder) to (Money Order) of the moneyorder.php.

It show me this error message when I try to install this modules:

 

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'True', 'False'), ', now())' at line 1

 

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Check/Money Order Module', 'MODULE_PAYMENT_MONEYORDER_STATUS', 'True', 'Do you want to accept Check/Money Order payments?', '6', '1', 'tep_cfg_select_option(array('True', 'False'), ', now());

 

[TEP STOP]

 

Even I have change it back to current naming still doesn't work keep showing this error message, can anyone tell me how to fix this problem, thank you very much.

 

Regards,

 

Jimmy Liu

Link to comment
Share on other sites

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'True', 'False'), ', now())' at line 1

 

 

There seems to be an extra comma right here ...

('True', 'False'),', now());

 

As the error message says there is something wrong with the syntax, and not really the naming itself. You are also been given a tip on the whereabouts :)

 

Regards,

Jon

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...