baked potato Posted January 12, 2018 Share Posted January 12, 2018 I cannot print a receipt, and get the error at the top in red that says "It has not been possible to generate the printable file". I modified the content.category.php and that is about it that I can recall. Changed CHMOD based on a list posted (to 0755). The link with the print icon is (adminfilename)?_g=orders&node=index&print[]=(order number). 6.1.13 install. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 12, 2018 Share Posted January 12, 2018 We ask that you create the error_log. If PHP is having a problem writing the file (eventually to be sent out to the browser to be printed), the error_log may have a clue as to why. Quote Link to comment Share on other sites More sharing options...
baked potato Posted January 12, 2018 Author Share Posted January 12, 2018 It didn't create an error_log. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 12, 2018 Share Posted January 12, 2018 That's weird. There are numerous places in CubeCart's code that will throw Notices, at least, and they will be in the error_log. Not being able to write a file would be a Warning, and that will be in the error_log as well. Very weird. Quote Link to comment Share on other sites More sharing options...
baked potato Posted January 12, 2018 Author Share Posted January 12, 2018 (edited) Changed public_html from 0750 to 0777 and got the same error but it wrote the error log this time. Changed it back to 0750 afterwards I deleted the error log because I don't want that public for the folders. Fixed it....set the CHMOD of public_html/files to 0777 from 0755 and now it work. Not sure how safe this is but it was the problem Edited January 12, 2018 by baked potato Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.