Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » pdf creating fails to find file (Configuration file not in expected place)
pdf creating fails to find file [message #2390] Mon, 11 January 2010 16:34 Go to next message
David Lee is currently offline  David Lee
Messages: 44
Registered: June 2006
Member
Error Message:

Fatal error: require_once() [function.require]: Failed opening required '/var/www/includes/tcpdf/config/tcpdf_config.php' (include_path='.:/var/www/includes/:../menu:../audit:../work flow') in /var/www/includes/tcpdf/tcpdf_php5.php on line 137

The path config/tcpdf_config.php is hard coded in tcpdf_php5.php, but the configuration file is at the higher directory level.

Workround on linux:

cd includes/tcpdf/
# mkdir config
# ln -s tcpdf_config.php config/


Re: pdf creating fails to find file [message #2391 is a reply to message #2390] Tue, 12 January 2010 01:31 Go to previous message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
Whoops Embarassed I somehow did not include the 'includes/tcpdf/config' directory when I created the zip file, so please use the attached file.
  • Attachment: includes.zip
    (Size: 5.98KB, Downloaded 1069 times)


Previous Topic: replaceScreenColumns does not work in all cases
Next Topic: Typo in std.data_field.xsl
Goto Forum:
  


Current Time: Sat Nov 23 20:49:00 EST 2024

Total time taken to generate the page: 0.00992 seconds