Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
emresonmez
emresonmez
After placing an order, I tried to view invoice as HTML through the "user home" section but I received the error messages below:
 
Warning: include(./header.php) [function.include]: failed to open stream: No such file or directory in /home/luttaco/public_html/new/user_invoice_html.php on line 191
 
Warning: include(./header.php) [function.include]: failed to open stream: No such file or directory in /home/luttaco/public_html/new/user_invoice_html.php on line 191
 
Warning: include() [function.include]: Failed opening './header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/luttaco/public_html/new/user_invoice_html.php on line 191
 
Warning: include(./footer.php) [function.include]: failed to open stream: No such file or directory in /home/luttaco/public_html/new/user_invoice_html.php on line 192
 
Warning: include(./footer.php) [function.include]: failed to open stream: No such file or directory in /home/luttaco/public_html/new/user_invoice_html.php on line 192
 
Warning: include() [function.include]: Failed opening './footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/luttaco/public_html/new/user_invoice_html.php on line 192
 
PDF version does not have problem and in admin panel both formats are displayed without errors. Is this reproducable in other installations as well?
 
Vera
Vera
There were a few redundant lines, we have removed them and the HTML invoice works correctly now. Please download the patched file here:
http://www.viart.com/downloads/user_invoice_html_4.0.zip
 
Best Regards,
ViArt Team