View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
09264Bug reportsImport/Exportpublic2014-10-06 14:17
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionduplicate 
Product Version2.05+ 
Summary09264: PHP Warning failed to open stream: No such file or directory on QueXML-Export
Description

Trying to export a survey to QueXML-format produces PHP warning in debug mode because of a missing file tcpdf_autoconfig.

PHP warning

require_once(E:\survey\htdocs\LimeSurvey\application\third_party\tcpdf/tcpdf_autoconfig.php): failed to open stream: No such file or directory

E:\survey\htdocs\LimeSurvey\application\third_party\tcpdf\tcpdf.php(111)

099

  • page compression (requires php-zlib extension);

  • 100
  • XOBject Templates;

  • 101
  • Layers and object visibility;

  • 102
  • PDF/A-1b support.

  • 103
    104
    Tools to encode your unicode fonts are on fonts/utils directory.


    105 @package com.tecnick.tcpdf
    106
    @author Nicola Asuni
    107 @version 6.0.091
    108
    /
    109
    110 // TCPDF configuration
    111 require_once(dirname(FILE).'/tcpdf_autoconfig.php');
    112 // TCPDF static font methods and data
    113 require_once(dirname(FILE).'/include/tcpdf_font_data.php');
    114 // TCPDF static font methods and data
    115 require_once(dirname(FILE).'/include/tcpdf_fonts.php');
    116 // TCPDF static color methods and data
    117 require_once(dirname(FILE).'/include/tcpdf_colors.php');
    118 // TCPDF static image methods and data
    119 require_once(dirname(FILE).'/include/tcpdf_images.php');
    120 // TCPDF static methods and data
    121 require_once(dirname(FILE).'/include/tcpdf_static.php');
    122
    123 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Stack Trace
    #0

    E:\survey\htdocs\LimeSurvey\application\third_party\tcpdf\tcpdf.php(111): require_once()

    106 @author Nicola Asuni
    107
    @version 6.0.091
    108 */
    109
    110 // TCPDF configuration
    111 require_once(dirname(FILE).'/tcpdf_autoconfig.php');
    112 // TCPDF static font methods and data
    113 require_once(dirname(FILE).'/include/tcpdf_font_data.php');
    114 // TCPDF static font methods and data
    115 require_once(dirname(FILE).'/include/tcpdf_fonts.php');
    116 // TCPDF static color methods and data

    #1

    E:\survey\htdocs\LimeSurvey\application\libraries\admin\pdf.php(158): require_once("E:\survey\htdocs\LimeSurvey\application\third_party\tcpdf\tcpdf....")

    153 if true allows to call TCPDF methods using HTML syntax
    154
    IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
    155 */
    156 (!defined('K_TCPDF_CALLS_IN_HTML'))? (define('K_TCPDF_CALLS_IN_HTML', isset($tcpdf['tcpdf_in_html']) ? $tcpdf['tcpdf_in_html'] : true)):'';
    157
    158 require_once($tcpdf['base_directory'].'/tcpdf.php');
    159
    160
    161 /****
    162 TCPDF - CodeIgniter Integration
    163
    Library file

    #2

    E:\survey\htdocs\LimeSurvey\application\libraries\admin\quexmlpdf.php(20): require("E:\survey\htdocs\LimeSurvey\application\libraries\admin\pdf.php")

    15
    16 /*
    17
    Modify these two lines to point to your TCPDF installation
    18 Tested with TCPDF 5.8.008 - see http://www.tcpdf.org/
    19
    /
    20 require('pdf.php');
    21 require_once($tcpdf['base_directory'].'/tcpdf.php');
    22
    23 /*
    24
    A TCPDF based class to produce queXF compatible questionnaire PDF files and banding description XML from queXML
    25 *

    #3
    +
    E:\survey\htdocs\LimeSurvey\framework\YiiBase.php(320): require("E:\survey\htdocs\LimeSurvey\application\libraries\admin\quexmlpd...")
    #4
    +
    E:\survey\htdocs\LimeSurvey\application\controllers\admin\export.php(776): YiiBase::import("application.libraries.admin.quexmlpdf", true)
    #5
    unknown(0): export->showquexmlsurvey()
    #6
    +
    E:\survey\htdocs\LimeSurvey\framework\web\actions\CAction.php(108): ReflectionMethod->invokeArgs(export, array())
    #7
    +
    E:\survey\htdocs\LimeSurvey\application\core\Survey_Common_Action.php(99): CAction->runWithParamsInternal(export, ReflectionMethod, array("surveyid" => "695952", "sa" => "showquexmlsurvey", "iSurveyId" => "695952", "iSurveyID" => "695952"))
    #8
    +
    E:\survey\htdocs\LimeSurvey\framework\web\CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "695952", "sa" => "showquexmlsurvey"))
    #9
    +
    E:\survey\htdocs\LimeSurvey\framework\web\CController.php(286): CController->runAction(export)
    #10
    +
    E:\survey\htdocs\LimeSurvey\framework\web\CController.php(265): CController->runActionWithFilters(export, array())
    #11
    +
    E:\survey\htdocs\LimeSurvey\application\controllers\AdminController.php(169): CController->run("export")
    #12
    +
    E:\survey\htdocs\LimeSurvey\framework\web\CWebApplication.php(282): AdminController->run("export")
    #13
    +
    E:\survey\htdocs\LimeSurvey\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/export/sa/showquexmlsurvey")
    #14
    +
    E:\survey\htdocs\LimeSurvey\framework\base\CApplication.php(180): CWebApplication->processRequest()
    #15
    +
    E:\survey\htdocs\LimeSurvey\index.php(200): CApplication->run()
    2014-09-27 16:26:35 Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 Yii Framework/1.1.15

    Additional Information

    Has this maybe to do with the upgrade to TCPDF 6?

    TagsNo tags attached.
    Bug heat0
    Complete LimeSurvey version number (& build)140915
    I will donate to the project if issue is resolvedNo
    BrowserFF
    Database type & versionMySQL 5.0.10
    Server OS (if known)Win7
    Webserver software & version (if known)Apache 2.4.7
    PHP VersionPhP 5.4.19

    Relationships

    duplicate of 09277 closedc_schmitz tcpdf_autoconfig.php No such file or directory when extracting to PDF 

    Users monitoring this issue

    There are no users monitoring this issue.

    Activities

    There are no notes attached to this issue.

    Issue History

    Date Modified Username Field Change
    2014-09-27 16:44 mfaber New Issue
    2014-10-03 21:16 mfaber Relationship added related to 09277
    2014-10-06 14:17 c_schmitz Relationship replaced duplicate of 09277
    2014-10-06 14:17 c_schmitz Status new => closed
    2014-10-06 14:17 c_schmitz Assigned To => c_schmitz
    2014-10-06 14:17 c_schmitz Resolution open => duplicate