我正在尝试使用TCPDF生成PDF。我有数据要在PDF中呈现,我为此创建了控制器,但是我收到以下错误:
Warning: opendir(/home/symfony/pricing/web/tcpdf/fonts/): failed to open dir: No such file or directory
500 Internal Server Error - ContextErrorException
我不知道它来自哪里。
有什么建议吗?
谢谢!
答案 0 :(得分:0)
这意味着opendir()
无法找到所提供的目录。尝试在您的文件中搜索' web / tcpdf / fonts /'找到该代码并提供正确的字体位置