Alias "ext.yii-pdf.EYiiPdf" is invalid. Make sure it points to an existing PHP file and the file is readable [on hold]

I want to convert html to pdf using yii framework, Am add main.php file below mention coding

'ePdf' => array( 'class' => 'ext.yii-pdf.EYiiPdf', 'params' => array( 'mpdf' => array( 'librarySourcePath' => 'application.vendors.mpdf.', 'constants' => array( '_MPDF_TEMP_PATH' => Yii::getPathOfAlias('application.runtime'), ), 'class'=>'mpdf', // the literal class filename to be loaded from the vendors folder /'defaultParams' => array( 'mode' => '', // This parameter specifies the mode of the new document. 'format' => 'A4', // format A4, A5, ... 'default_font_size' => 0, // Sets the default document font size in points (pt) 'default_font' => '', // Sets the default font-family for the new document. 'mgl' => 15, // margin_left. Sets the page margins for the new document. 'mgr' => 15, // margin_right 'mgt' => 16, // margin_top 'mgb' => 16, // margin_bottom 'mgh' => 9, // margin_header 'mgf' => 9, // margin_footer 'orientation' => 'P', // landscape or portrait orientation )/ ), 'HTML2PDF' => array( 'librarySourcePath' => 'application.vendors.html2pdf.', 'classFile' => 'html2pdf.class.php', // For adding to Yii::$classMap /'defaultParams' => array( 'orientation' => 'P', // landscape or portrait orientation 'format' => 'A4', // format A4, A5, ... 'language' => 'en', // language: fr, en, it ... 'unicode' => true, // TRUE means clustering the input text IS unicode (default = true) 'encoding' => 'UTF-8', // charset encoding; Default is UTF-8 'marges' => array(5, 5, 5, 8), // margins by default, in order (left, top, right, bottom) )/ ) ) ), but not working kindly help me and i got some like

CException

Alias "ext.yii-pdf.EYiiPdf" is invalid. Make sure it points to an existing PHP file and the file is readable. (C:\inetpub\wwwroot\framework\yii\framework\YiiBase.php:322)

#0 C:\inetpub\wwwroot \framework\yii\framework\YiiBase.php(196): YiiBase::import('ext.yii-pdf.EYi...', true)

1 C:\inetpub\wwwroot\framework\yii\framework\base\CModule.php(393): YiiBase::createComponent(Array)

2 C:\inetpub\wwwroot\framework\yii\framework\base\CModule.php(103): CModule->getComponent('ePdf')

3 C:\inetpub\wwwroot\mrk1\protected\controllers\RwdCustomerController.php(156): CModule->__get('ePdf'

)

4 C:\inetpub\wwwroot\framework\yii\framework\web\actions\CInlineAction.php(49): RwdCustomerController-

actiongetimportdatatable()

5 C:\inetpub\wwwroot\framework\yii\framework\web\CController.php(308): CInlineAction->runWithParams

(Array)

Replay

Category: yii Time: 2016-07-29 Views: 0
Tags: yii

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.222 (s). 12 q(s)