Guest Posted February 9, 2004 Share Posted February 9, 2004 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 More sharing options...
Guest Posted February 9, 2004 Share Posted February 9, 2004 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 More sharing options...
♥yesudo Posted February 9, 2004 Share Posted February 9, 2004 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 More sharing options...
ptrau Posted February 13, 2004 Share Posted February 13, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.