Piwik 1.6 Cannot create pdf report


#1

I got this error during the creation of a pdf report:


Warning: imagepng(): open_basedir restriction in effect. File(/tmp/jpg_43VSLQ) is not within the allowed path(s): (/var/www/clients/client7/web10/web:/var/www/clients/client7/web10/tmp:/usr/share/php5) in /var/www/clients/client7/web10/web/piwik/libs/tcpdf/tcpdf.php on line 7659

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]#1 imagepng(...) called at [/var/www/clients/client7/web10/web/piwik/libs/tcpdf/tcpdf.php:7659]#2 TCPDF->_toPNG(...) called at [/var/www/clients/client7/web10/web/piwik/libs/tcpdf/tcpdf.php:7436]#3 TCPDF->Image(...) called at [/var/www/clients/client7/web10/web/piwik/core/ReportRenderer/Pdf.php:271]#4 Piwik_ReportRenderer_Pdf->paintReportTable(...) called at [/var/www/clients/client7/web10/web/piwik/core/ReportRenderer/Pdf.php:205]#5 Piwik_ReportRenderer_Pdf->renderReport(...) called at [:]#6 array_walk(...) called at [/var/www/clients/client7/web10/web/piwik/plugins/PDFReports/API.php:351]#7 Piwik_PDFReports_API->generateReport(...) called at [:]#8 call_user_func_array(...) called at [/var/www/clients/client7/web10/web/piwik/core/API/Proxy.php:179]#9 Piwik_API_Proxy->call(...) called at [/var/www/clients/client7/web10/web/piwik/core/API/Request.php:121]#10 Piwik_API_Request->process(...) called at [/var/www/clients/client7/web10/web/piwik/plugins/API/Controller.php:27]#11 Piwik_API_Controller->index(...) called at [:]#12 call_user_func_array(...) called at [/var/www/clients/client7/web10/web/piwik/core/FrontController.php:132]#13 Piwik_FrontController->dispatch(...) called at [/var/www/clients/client7/web10/web/piwik/index.php:53]

This error is happening only in one of the two pdf report which I monthly create… How can I resolve this? :frowning:


(Matthieu Aubry) #2

Can you please try 1.7beta 301 Moved Permanently
do you still have the issue?