Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email Invoice 1.1 problem


Guest

Recommended Posts

Hi...me again...I've installed Email Invoice 1.1 and part of the code

 

(/************************************************** *Email Invoice 1.1 *The values below are required by the email invoice mod. *Author Contact: [email protected] *************************************************** /****Email Invoice File Definitions****/ define('FILENAME_EMAIL_INVOICE', 'email_invoice.php'); define('FILENAME_ORDERS_INVOICE', 'invoice.php'); /****Email Directory Definitions ****/ define('DIR_FS_ADMIN', '/public_html/admin/'); define('EMAIL_INVOICE_DIR', 'email_invoice/'); define('INVOICE_TEMPLATE_DIR', 'templates/'); /*** End of Mod ***/ )

 

appears on the top of the page on my site.

 

Help get it out!

Link to comment
Share on other sites

And one more problem: at step three, Confirm Order, i get this error:

 

Parse error: parse error, unexpected ';' in /home/muccelmi/public_html/checkout_process.php on line 231

 

 

these are the lines 224 -236:

 

/**********************************************

*Email Invoice 1.1

*Author Contact: [email protected]

***********************************************/

 

if (EMAIL_INVOICE == 'true') (

 

require(DIR_WS_MODULES . EMAIL_INVOICE_DIR . FILENAME_EMAIL_INVOICE);

 

} else {

 

/**** End of Email Invoice Mod snippet ****/

/*========================================*/

Link to comment
Share on other sites

Hi...me again...I've installed Email Invoice 1.1 and part of the code

 

(/************************************************** *Email Invoice 1.1 *The values below are required by the email invoice mod. *Author Contact: [email protected] *************************************************** /****Email Invoice File Definitions****/ define('FILENAME_EMAIL_INVOICE', 'email_invoice.php'); define('FILENAME_ORDERS_INVOICE', 'invoice.php'); /****Email Directory Definitions ****/ define('DIR_FS_ADMIN', '/public_html/admin/'); define('EMAIL_INVOICE_DIR', 'email_invoice/'); define('INVOICE_TEMPLATE_DIR', 'templates/'); /*** End of Mod ***/ )

 

appears on the top of the page on my site.

 

Help get it out!

 

you have put all this between the <?php at the top and ?> at the bottom of the file ?

Treasurer MFC

Link to comment
Share on other sites

Hmmmm...No! OK, my brain is on a brake!

 

Do you know, by any chance, anything about the parse error ?

 

Amanda, I really like you! :) Do you have children? because you have the patience of a mother! :)

Link to comment
Share on other sites

Hmmmm...No! OK, my brain is on a brake!

 

Do you know, by any chance, anything about the parse error ?

 

Amanda, I really like you! :) Do you have children? because you have the patience of a mother! :)

 

well, solve the first problem first because I suspect they are related.

Treasurer MFC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...