Notice (8): Undefined index: Article [APP/Controller/ArticlesController.php, line 680]Code Context $article = $this->Article->find('first', array('conditions' => array('Article.slug' => $this->params['slug'])));
$this->set('article', $article);
$this->set('filename', $article['Article']['slug']);
$article = array()
ArticlesController::pdf() - APP/Controller/ArticlesController.php, line 680
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Notice (8): Undefined index: Article [APP/Controller/ArticlesController.php, line 681]Code Context $this->set('article', $article);
$this->set('filename', $article['Article']['slug']);
$title = "Pdf ".$article['Article']['title'];
$article = array()
ArticlesController::pdf() - APP/Controller/ArticlesController.php, line 681
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Warning (2): Cannot modify header information - headers already sent by (output started at /home/wypracowania/www/lib/Cake/Utility/Debugger.php:797) [APP/View/Layouts/pdf.ctp, line 2]Code Context<?
header("X-Robots-Tag: noindex,nofollow,nosnippet,noarchive",true);
$viewFile = '/home/wypracowania/www/app/View/Layouts/pdf.ctp'
$title_for_layout = 'Pdf '
$filename = null
$article = array()
$is_bot = true
$is_mobile = false
$scripts_for_layout = ''
header - [internal], line ??
include - APP/View/Layouts/pdf.ctp, line 2
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Warning (2): Cannot modify header information - headers already sent by (output started at /home/wypracowania/www/lib/Cake/Utility/Debugger.php:797) [APP/View/Layouts/pdf.ctp, line 3]Code Context<?
header("X-Robots-Tag: noindex,nofollow,nosnippet,noarchive",true);
header("Content-type: application/pdf");
$viewFile = '/home/wypracowania/www/app/View/Layouts/pdf.ctp'
$title_for_layout = 'Pdf '
$filename = null
$article = array()
$is_bot = true
$is_mobile = false
$scripts_for_layout = ''
header - [internal], line ??
include - APP/View/Layouts/pdf.ctp, line 3
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Warning (2): Cannot modify header information - headers already sent by (output started at /home/wypracowania/www/lib/Cake/Utility/Debugger.php:797) [APP/View/Layouts/pdf.ctp, line 4]Code Context header("X-Robots-Tag: noindex,nofollow,nosnippet,noarchive",true);
header("Content-type: application/pdf");
header('Content-Disposition: attachment; filename="' . $filename . '.pdf"');
$viewFile = '/home/wypracowania/www/app/View/Layouts/pdf.ctp'
$title_for_layout = 'Pdf '
$filename = null
$article = array()
$is_bot = true
$is_mobile = false
$scripts_for_layout = ''
header - [internal], line ??
include - APP/View/Layouts/pdf.ctp, line 4
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Notice (8): Undefined index: Article [APP/View/Articles/pdf.ctp, line 18]Code Context $tcpdf->SetFont($textfont,'', 12);
$tcpdf->writeHTML('<h1>' . $article['Article']['title'] . '</h1>');
$viewFile = '/home/wypracowania/www/app/View/Articles/pdf.ctp'
$dataForView = array(
'title_for_layout' => 'Pdf ',
'filename' => null,
'article' => array(),
'is_bot' => true,
'is_mobile' => false
)
$title_for_layout = 'Pdf '
$filename = null
$article = array()
$is_bot = true
$is_mobile = false
$textfont = 'freesans'
include - APP/View/Articles/pdf.ctp, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
Notice (8): Undefined index: Article [APP/View/Articles/pdf.ctp, line 20]Code Context $tcpdf->writeHTML('<h1>' . $article['Article']['title'] . '</h1>');
$tcpdf->ln();
$content = $article['Article']['text'];
$viewFile = '/home/wypracowania/www/app/View/Articles/pdf.ctp'
$dataForView = array(
'title_for_layout' => 'Pdf ',
'filename' => null,
'article' => array(),
'is_bot' => true,
'is_mobile' => false
)
$title_for_layout = 'Pdf '
$filename = null
$article = array()
$is_bot = true
$is_mobile = false
$textfont = 'freesans'
include - APP/View/Articles/pdf.ctp, line 20
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 113
%PDF-1.7
3 0 obj
<>
endobj
4 0 obj
<>
stream
x�3�35W(W0P��,��X ���@������f�`h�g`�����U�UP����AS0��B��T���X��H!9WA��P�%_!�+�ˀT;�BF�B�
����hD"�=j���0QA�f �2Zh
endstream
endobj
1 0 obj
<>
endobj
5 0 obj
<