Warning (2): "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 22486]Code Context if (file_exists($path . $file)) {
static::_map($path . $file, $name, $plugin);
return (bool)include $path . $file;
$name = 'TCPDF'
$plugin = 'CakePdf'
$file = 'tcpdf/tcpdf.php'
$ext = 'php'
$mapped = false
$fileTries = array(
(int) 0 => 'tcpdf/tcpdf.php'
)
$paths = array(
(int) 0 => '/var/www/html/site/Plugin/CakePdf/Vendor/',
(int) 1 => '/var/www/html/vendors/',
(int) 2 => '../../vendors/'
)
$path = '/var/www/html/site/Plugin/CakePdf/Vendor/'
include - ROOT/lib/Cake/Core/App.php, line 763
App::_loadVendor() - ROOT/lib/Cake/Core/App.php, line 763
App::import() - ROOT/lib/Cake/Core/App.php, line 651
TcpdfEngine::__construct() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 14
CakePdf::engine() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 296
CakePdf::__construct() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 195
PdfView::renderer() - APP/Plugin/CakePdf/View/PdfView.php, line 76
PdfView::__construct() - APP/Plugin/CakePdf/View/PdfView.php, line 66
Controller::_getViewObject() - ROOT/lib/Cake/Controller/Controller.php, line 1263
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 949
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
Warning (2): chr() expects parameter 1 to be int, string given [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7507]Code Context } elseif ($c <= 0x7F) {
// one byte
return chr($c);
$c = ''
chr - [internal], line ??
TCPDF::unichr() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7507
TCPDF::UTF8ArrSubString() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7455
TCPDF::utf8Bidi() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 15824
TCPDF::__construct() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 2023
TcpdfEngine::output() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 25
CakePdf::output() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 236
PdfView::render() - APP/Plugin/CakePdf/View/PdfView.php, line 97
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
Warning (2): fopen(/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622) [<a href='http://php.net/function.fopen'>function.fopen</a>]: failed to open stream: Permission denied [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7711]Code Context // copy image to cache
$file = K_PATH_CACHE.'img_'.md5($imgdata);
$fp = fopen($file, 'w');
$file = '/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622'
$x = (float) 10.00125
$y = (float) 32.755416666667
$w = (float) 0
$h = (float) 0
$type = ''
$link = ''
$align = 'B'
$resize = false
$dpi = (int) 300
$palign = ''
$ismask = false
$imgmask = false
$border = (int) 0
$fitbox = false
$hidden = false
$fitonpage = true
$alt = false
$altimgs = array()
$cached_file = false
$exurl = ''
$imsize = false
$cs = unknown
fopen - [internal], line ??
TCPDF::Image() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7711
TCPDF::openHTMLTagHandler() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 23560
TCPDF::writeHTML() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 22965
TcpdfEngine::output() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 27
CakePdf::output() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 236
PdfView::render() - APP/Plugin/CakePdf/View/PdfView.php, line 97
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
Warning (2): fwrite() expects parameter 1 to be resource, bool given [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7712]Code Context $file = K_PATH_CACHE.'img_'.md5($imgdata);
$fp = fopen($file, 'w');
fwrite($fp, $imgdata);
$file = '/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622'
$x = (float) 10.00125
$y = (float) 32.755416666667
$w = (float) 0
$h = (float) 0
$type = ''
$link = ''
$align = 'B'
$resize = false
$dpi = (int) 300
$palign = ''
$ismask = false
$imgmask = false
$border = (int) 0
$fitbox = false
$hidden = false
$fitonpage = true
$alt = false
$altimgs = array()
$cached_file = false
$exurl = ''
$fp = false
$imsize = false
$cs = unknown
fwrite - [internal], line ??
TCPDF::Image() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7712
TCPDF::openHTMLTagHandler() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 23560
TCPDF::writeHTML() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 22965
TcpdfEngine::output() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 27
CakePdf::output() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 236
PdfView::render() - APP/Plugin/CakePdf/View/PdfView.php, line 97
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
Warning (2): fclose() expects parameter 1 to be resource, bool given [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7713]Code Context $fp = fopen($file, 'w');
fwrite($fp, $imgdata);
fclose($fp);
$file = '/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622'
$x = (float) 10.00125
$y = (float) 32.755416666667
$w = (float) 0
$h = (float) 0
$type = ''
$link = ''
$align = 'B'
$resize = false
$dpi = (int) 300
$palign = ''
$ismask = false
$imgmask = false
$border = (int) 0
$fitbox = false
$hidden = false
$fitonpage = true
$alt = false
$altimgs = array()
$cached_file = false
$exurl = ''
$fp = false
$imsize = false
$cs = unknown
fclose - [internal], line ??
TCPDF::Image() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7713
TCPDF::openHTMLTagHandler() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 23560
TCPDF::writeHTML() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 22965
TcpdfEngine::output() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 27
CakePdf::output() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 236
PdfView::render() - APP/Plugin/CakePdf/View/PdfView.php, line 97
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
Warning (2): unlink(/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622) [<a href='http://php.net/function.unlink'>function.unlink</a>]: No such file or directory [APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7718]Code Context $imsize = @getimagesize($file);
if ($imsize === FALSE) {
unlink($file);
$file = '/var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622'
$x = (float) 10.00125
$y = (float) 32.755416666667
$w = (float) 0
$h = (float) 0
$type = ''
$link = ''
$align = 'B'
$resize = false
$dpi = (int) 300
$palign = ''
$ismask = false
$imgmask = false
$border = (int) 0
$fitbox = false
$hidden = false
$fitonpage = true
$alt = false
$altimgs = array()
$cached_file = true
$exurl = ''
$fp = false
$imsize = false
$cs = unknown
unlink - [internal], line ??
TCPDF::Image() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 7718
TCPDF::openHTMLTagHandler() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 23560
TCPDF::writeHTML() - APP/Plugin/CakePdf/Vendor/tcpdf/tcpdf.php, line 22965
TcpdfEngine::output() - APP/Plugin/CakePdf/Pdf/Engine/TcpdfEngine.php, line 27
CakePdf::output() - APP/Plugin/CakePdf/Pdf/CakePdf.php, line 236
PdfView::render() - APP/Plugin/CakePdf/View/PdfView.php, line 97
Controller::render() - ROOT/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - ROOT/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - ROOT/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 121
TCPDF ERROR: [Image] Unable to get image: /var/www/html/site/Plugin/CakePdf/Vendor/tcpdf/cache/img_b1634683faab48d61ca5bc198aa4d622