Beim Einrichten von PDF Report erscheint Fehlermeldung


(glastradition) #1

Hallo,

wenn ich in meiner Piwik-Installation Version 0.8 den PDF Report einrichten will erscheint folgende Fehlermeldung:

Report VisitFrequency_get%2CUserCountry_getContinent%2CUserCountry_getCountry%2CVisitorInterest_getNumberOfVisitsPerPage%2CVisitorInterest_getNumberOfVisitsPerVisitDuration%2C is unknown.

Bei anderen Webseiten mit Piwik funktioniert es aber. Datenbank ist MySql 5.

Glastradition


(Christian Schneider) #2

Hi

Wann genau erscheint die Fehlermeldung?

Bei der Installation oder bei der Verwendung. Gibt es eine Zeilennummer und eine Datei dazu oder erscheint wirklich nur der Schnipsel an Informationen?

Gruß,
Christian.


(neunzehn82) #3

Ich hänge mich einfach mal dreist an den Thread. Ich habe nämlich auch ein Problem mit dem erstellen der PDF Reports. Allerdings mit anderer Fehlermeldung:

Warning: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/neunzehn82.de/:/usr/share/php/) in /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php  on line 6920

Backtrace -->
#0 Piwik_ErrorHandler(2, tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/neunzehn82.de/:/usr/share/php/), /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php, 6920, Array ([file] => /var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png,[x] => 12,00125,[y] => 56,3765,[w] => 4,[h] => 4,[type] => PNG,[link] => ,[align] => ,[resize] => ,[dpi] => 300,[palign] => ,[hpx] => 16,[wpx] => 16, => Resource id #220,[imgalpha] => Resource id #221,[c] => 256,[xpx] => 16,[ypx] => 16,[color] => 2130706432,[alpha] => 0))
#1 tempnam(/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/cache/, mska_) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6920]
#2 TCPDF->ImagePngAlpha(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4, 4, PNG, , , , 300, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6468]
#3 TCPDF->Image(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:205]
#4 Piwik_PDFReports_PDFRenderer->paintReportTable() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:141]
#5 Piwik_PDFReports_PDFRenderer->paintReport() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/API.php:261]
#6 Piwik_PDFReports_API->generateReport(5, 2010-08-16, 5, 1, day)
#7 call_user_func_array(Array ([0] => Piwik_PDFReports_API Object ([] => Array ()),[1] => generateReport), Array ([0] => 5,[1] => 2010-08-16,[2] => 5,[3] => 1,[4] => day)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Proxy.php:151]
#8 Piwik_API_Proxy->call(Piwik_PDFReports_API, generateReport, Array ([token_auth] => 604a3bc45da5e0731e626eae3a69e380,[module] => API,[action] => index,[period] => day,[date] => 2010-08-16,[idSite] => 5,[updated] => 1,[method] => PDFReports.generateReport,[idReport] => 5,[outputType] => 1,[filter_limit] => 50)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Request.php:117]
#9 Piwik_API_Request->process() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/API/Controller.php:27]
#10 Piwik_API_Controller->index()
#11 call_user_func_array(Array ([0] => Piwik_API_Controller Object ([] => API,[] => ,[] => ,[] => 5,[] => ),[1] => index), Array ()) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/FrontController.php:126]
#12 Piwik_FrontController->dispatch() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/index.php:60]



Warning: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '' for writing: Datei oder Verzeichnis nicht gefunden in /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php on line 6921

Backtrace -->
#0 Piwik_ErrorHandler(2, imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '' for writing: Datei oder Verzeichnis nicht gefunden, /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php, 6921, Array ([file] => /var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png,[x] => 12,00125,[y] => 56,3765,[w] => 4,[h] => 4,[type] => PNG,[link] => ,[align] => ,[resize] => ,[dpi] => 300,[palign] => ,[hpx] => 16,[wpx] => 16, => Resource id #220,[imgalpha] => Resource id #221,[c] => 256,[xpx] => 16,[ypx] => 16,[color] => 2130706432,[alpha] => 0,[tempfile_alpha] => ))
#1 imagepng(Resource id #221, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6921]
#2 TCPDF->ImagePngAlpha(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4, 4, PNG, , , , 300, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6468]
#3 TCPDF->Image(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:205]
#4 Piwik_PDFReports_PDFRenderer->paintReportTable() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:141]
#5 Piwik_PDFReports_PDFRenderer->paintReport() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/API.php:261]
#6 Piwik_PDFReports_API->generateReport(5, 2010-08-16, 5, 1, day)
#7 call_user_func_array(Array ([0] => Piwik_PDFReports_API Object ([] => Array ()),[1] => generateReport), Array ([0] => 5,[1] => 2010-08-16,[2] => 5,[3] => 1,[4] => day)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Proxy.php:151]
#8 Piwik_API_Proxy->call(Piwik_PDFReports_API, generateReport, Array ([token_auth] => 604a3bc45da5e0731e626eae3a69e380,[module] => API,[action] => index,[period] => day,[date] => 2010-08-16,[idSite] => 5,[updated] => 1,[method] => PDFReports.generateReport,[idReport] => 5,[outputType] => 1,[filter_limit] => 50)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Request.php:117]
#9 Piwik_API_Request->process() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/API/Controller.php:27]
#10 Piwik_API_Controller->index()
#11 call_user_func_array(Array ([0] => Piwik_API_Controller Object ([] => API,[] => ,[] => ,[] => 5,[] => ),[1] => index), Array ()) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/FrontController.php:126]
#12 Piwik_FrontController->dispatch() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/index.php:60]



Warning: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/neunzehn82.de/:/usr/share/php/) in /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php on line 6927

Backtrace -->
#0 Piwik_ErrorHandler(2, tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/neunzehn82.de/:/usr/share/php/), /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php, 6927, Array ([file] => /var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png,[x] => 12,00125,[y] => 56,3765,[w] => 4,[h] => 4,[type] => PNG,[link] => ,[align] => ,[resize] => ,[dpi] => 300,[palign] => ,[hpx] => 16,[wpx] => 16, => Resource id #220,[imgalpha] => Resource id #221,[c] => 256,[xpx] => 16,[ypx] => 16,[color] => 2130706432,[alpha] => 0,[tempfile_alpha] => ,[imgplain] => Resource id #222))
#1 tempnam(/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/cache/, mskp_) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6927]
#2 TCPDF->ImagePngAlpha(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4, 4, PNG, , , , 300, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6468]
#3 TCPDF->Image(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:205]
#4 Piwik_PDFReports_PDFRenderer->paintReportTable() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:141]
#5 Piwik_PDFReports_PDFRenderer->paintReport() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/API.php:261]
#6 Piwik_PDFReports_API->generateReport(5, 2010-08-16, 5, 1, day)
#7 call_user_func_array(Array ([0] => Piwik_PDFReports_API Object ([] => Array ()),[1] => generateReport), Array ([0] => 5,[1] => 2010-08-16,[2] => 5,[3] => 1,[4] => day)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Proxy.php:151]
#8 Piwik_API_Proxy->call(Piwik_PDFReports_API, generateReport, Array ([token_auth] => 604a3bc45da5e0731e626eae3a69e380,[module] => API,[action] => index,[period] => day,[date] => 2010-08-16,[idSite] => 5,[updated] => 1,[method] => PDFReports.generateReport,[idReport] => 5,[outputType] => 1,[filter_limit] => 50)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Request.php:117]
#9 Piwik_API_Request->process() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/API/Controller.php:27]
#10 Piwik_API_Controller->index()
#11 call_user_func_array(Array ([0] => Piwik_API_Controller Object ([] => API,[] => ,[] => ,[] => 5,[] => ),[1] => index), Array ()) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/FrontController.php:126]
#12 Piwik_FrontController->dispatch() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/index.php:60]



Warning: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '' for writing: Datei oder Verzeichnis nicht gefunden in /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php on line 6928

Backtrace -->
#0 Piwik_ErrorHandler(2, imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '' for writing: Datei oder Verzeichnis nicht gefunden, /var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php, 6928, Array ([file] => /var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png,[x] => 12,00125,[y] => 56,3765,[w] => 4,[h] => 4,[type] => PNG,[link] => ,[align] => ,[resize] => ,[dpi] => 300,[palign] => ,[hpx] => 16,[wpx] => 16, => Resource id #220,[imgalpha] => Resource id #221,[c] => 256,[xpx] => 16,[ypx] => 16,[color] => 2130706432,[alpha] => 0,[tempfile_alpha] => ,[imgplain] => Resource id #222,[tempfile_plain] => ))
#1 imagepng(Resource id #222, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6928]
#2 TCPDF->ImagePngAlpha(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4, 4, PNG, , , , 300, ) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/libs/tcpdf/tcpdf.php:6468]
#3 TCPDF->Image(/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/Referers/images/searchEngines/www.bing.com.png, 12,00125, 56,3765, 4) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:205]
#4 Piwik_PDFReports_PDFRenderer->paintReportTable() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/PDFRenderer.php:141]
#5 Piwik_PDFReports_PDFRenderer->paintReport() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/PDFReports/API.php:261]
#6 Piwik_PDFReports_API->generateReport(5, 2010-08-16, 5, 1, day)
#7 call_user_func_array(Array ([0] => Piwik_PDFReports_API Object ([] => Array ()),[1] => generateReport), Array ([0] => 5,[1] => 2010-08-16,[2] => 5,[3] => 1,[4] => day)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Proxy.php:151]
#8 Piwik_API_Proxy->call(Piwik_PDFReports_API, generateReport, Array ([token_auth] => 604a3bc45da5e0731e626eae3a69e380,[module] => API,[action] => index,[period] => day,[date] => 2010-08-16,[idSite] => 5,[updated] => 1,[method] => PDFReports.generateReport,[idReport] => 5,[outputType] => 1,[filter_limit] => 50)) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/API/Request.php:117]
#9 Piwik_API_Request->process() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/plugins/API/Controller.php:27]
#10 Piwik_API_Controller->index()
#11 call_user_func_array(Array ([0] => Piwik_API_Controller Object ([] => API,[] => ,[] => ,[] => 5,[] => ),[1] => index), Array ()) called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/core/FrontController.php:126]
#12 Piwik_FrontController->dispatch() called at [/var/www/virtual/neunzehn82.de/htdocs/piwik/index.php:60]

Grüße


(glastradition) #4

@Christian

Der Fehler kommt dann wenn ich beim erstellen des PDF-Reports rechts unten auf PDF-Bericht erstellen/aktualisieren klicke. Es erscheint nur dieser Schnipsel.

Mittlerweile habe ich auf Version 0.9 aktualisiert. Der Fehler ist geblieben. Je nachdem wo ich die Haken setze kriege ich dann besagte Fehlermeldung.

Glastradition


(Beatgarantie) #5

@glastradition: checke mal: forum.piwik.org/index.php?showtopic=13501


(glastradition) #6

@Beatgarantie

Post gecheckt, Ordner erstellt, auch mit den Rechten 777, hat nichts gebracht.

Seht mal Post forum.piwik.org/index.php?showtopic=8751

Ich habe in dieser Piwik-Installation das gleiche Problem. Für was steht eigentlich %2? Ich denke an dieser Stelle passt was nicht und Piwik bricht dort ab. %2 steht ja auch in der Fehlermeldung beim erstellen des PDF-Reports.

Nachtrag: %2 steht für /

Die Daten für z.B. Europe/Berlin oder auch Referers_getSearchEngines%2C beim PDF-Report stehen wohl irgendwo und von dort holt sich Piwik diese Daten. Der Fehler dürfte also in dieser Datei liegen bzw. in der Datenbank, wenn die Daten von dort kommen…

Glastradition