Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/pdfview/tcpdf/tcpdf.php' (include_pat
zmove - May 19, 2007 - 10:38
| Project: | Pdfview |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi all,
I download the last version of pdfview, enabled it via administration/module, and, when I want to view the pdf of a node :
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/pdfview/tcpdf/tcpdf.php' (include_path='.;D:/Taf/mySite/www/sites/all/modules/civicrm/;D:/Taf/mySite/www/sites/all/modules/civicrm/\packages;.;C:\php5\pear') in D:\Taf\mySite\www\sites\all\modules\pdfview\pdfview.module on line 98
I really don't know why he show civicrm path on the error.... ???? and the tcpdf/tcpdf.php don't exist in the pdfview module package..
any ideas ?
thanks
zmove

#1
I am encountering similar issue.
#2
I've just installed the PDFview module and it gives me same problem.
When I went back the page had this warning:
warning: require_once(sites/all/modules/pdfview/tcpdf/tcpdf.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mydatabase_name\sites\all\modules\pdfview\pdfview.module on line 98.
Any help or upgrade will be appreciated
thanks
#3
seems like you need to install tcpdf (see docs)
#4
Just go to tcpdf folder then to config folder and open tcpdf_config.php
find line 40 and 45 or look for something telling a directory erase the directory leaving 'tcpdf/' only. it would look like this
define ("K_PATH_MAIN", "tcpdf/");