duanlei7101
duanlei7101
2014-02-21 11:51

(include_path ='。:/ usr / local / php5_3 / lib / php')/home/content/06/11735806/html/systems/CA/pdf.php [关闭]

已采纳

require_once() [function.require]: Failed opening required tcpdf_include.php

(include_path='.:/usr/local/php5_3/lib/php') in /home/content/06/11735806/html/systems/CA/pdf.php

I am getting this error and my link is http://caware.in/pinal.php . Please help me as soon as possible with the perfect solution.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • dshyu6866 dshyu6866 7年前

    In TCPDF there is tcpdf_iclude.php and if you open that file you can see something as

        $tcpdf_include_dirs = array(realpath('../tcpdf.php'), 
    '/usr/share/tcpdf/tcpdf.php', 
    '/usr/share/php-tcpdf/tcpdf.php', '/var/www/tcpdf/tcpdf.php', 
    '/var/www/html/tcpdf/tcpdf.php', 
    '/usr/local/apache2/htdocs/tcpdf/tcpdf.php');
    

    Now check where is your TCPDF folder then add the path in that config file and it will solve the issue. if its inside /home/content/06/11735806/html/systems/CA

    then add the following on the include dirs as

    /home/content/06/11735806/html/systems/CA/tcpdf/tcpdf.php
    
    点赞 评论 复制链接分享
  • du4373 du4373 7年前

    Check that you are linking to the right file in your require_once() function.

    点赞 评论 复制链接分享