Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Sending Gift Voucher


Guest

Recommended Posts

When a customer attempts to send a Gift Voucher by email that was purchased, they get the following message. Please help!:angry:

 

 

Warning: main(templates/Originalmain_page.tpl.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/cart/gv_send.php on line 92

 

Warning: main(templates/Originalmain_page.tpl.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/cart/gv_send.php on line 92

 

Warning: main(templates/Originalmain_page.tpl.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/cart/gv_send.php on line 92

 

Fatal error: main(): Failed opening required 'templates/Originalmain_page.tpl.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/cart/gv_send.php on line 92

Link to comment
Share on other sites

This is line 87 to 97 of that file:

 

}

}

$breadcrumb->add(NAVBAR_TITLE);

$content = CONTENT_GV_SEND;

 

require(DIR_WS_TEMPLATES . TEMPLATE_NAME . TEMPLATENAME_MAIN_PAGE);

 

require(DIR_WS_INCLUDES . 'application_bottom.php');

 

?>

Link to comment
Share on other sites

check name of this file:

 

'templates/Originalmain_page.tpl.php'

 

- seems wrong to have two extensions i.e. .tpl and .php

 

something to do with this line i think:

 

require(DIR_WS_TEMPLATES . TEMPLATE_NAME . TEMPLATENAME_MAIN_PAGE);

Your online success is Paramount.

Link to comment
Share on other sites

If that doesn't work....open the problem file (it may be a language file) in a text editor and make sure that there are no "spaces" after the closing ?> tag. I know this sounds stupid, but it will cause that problem.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...