Lot of error in admin


(alpha_one_x86) #1

I have problem, I see on all the interface:

Open Flash Chart

JSON Parse Error [Syntax Error]
Error at character 0, line 1:

0: Preparing archive:  archive already processed [id = 49]...<br />Preparing archive:  archive already processed [id = 50]...<br />Preparing archive:  archive already processed [id = 51]...<br />Preparing archive:  archive already processed [id = 52]...<br />Preparing archive:  archive already processed [id = 62]...<br />Preparing archive:  archive already processed [id = 63]...<br />Preparing archive:  archive already processed [id = 64]...<br />Preparing archive:  archive already processed [id = 65]...<br />Preparing archive:  archive already processed [id = 82]...<br />Preparing archive:  archive already processed [id = 83]...<br />Preparing archive:  archive already processed [id = 166]...<br />Preparing archive:  archive already processed [id = 167]...<br />Preparing archive:  archive already processed [id = 168]...<br />Preparing archive:  archive already processed [id = 172]...<br />Preparing archive:  archive already processed [id = 173]...<br />Preparing archive:  archive already processed [id = 178]...<br />Preparing archive:  archive already processed [id = 182]...<br />Preparing archive:  archive already processed [id = 183]...<br />Preparing archive:  archive already processed [id = 186]...<br />Preparing archive:  archive already processed [id = 190]...<br />Preparing archive:  archive already processed [id = 191]...<br />Preparing archive:  archive already processed [id = 271]...<br />Preparing archive:  archive already processed [id = 1]...<br />Preparing archive:  archive already processed [id = 3]...<br />Preparing archive:  archive already processed [id = 5]...<br />Preparing archive:  archive already processed [id = 6]...<br />Preparing archive:  archive already processed [id = 9]...<br />Preparing archive:  archive already processed [id = 10]...<br />Preparing archive:  archive already processed [id = 11]...<br />Preparing archive:  archive already processed [id = 12]...<br />{  "elements": [    {      "type": "line",      "values": [        {          "type": "hollow-dot",          "value": 17,          "tip": "Fri 9 Apr<br>17 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-09')"        },        {          "type": "hollow-dot",          "value": 10,          "tip": "Sat 10 Apr<br>10 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-10')"        },        {          "type": "hollow-dot",          "value": 4,          "tip": "Sun 11 Apr<br>4 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-11')"        },        {          "type": "hollow-dot",          "value": 2,          "tip": "Mon 12 Apr<br>2 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-12')"        },        {          "type": "hollow-dot",          "value": 14,          "tip": "Tue 13 Apr<br>14 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-13')"        },        {          "type": "hollow-dot",          "value": 14,          "tip": "Wed 14 Apr<br>14 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-14')"        },        {          "type": "hollow-dot",          "value": 10,          "tip": "Thu 15 Apr<br>10 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-15')"        },        {          "type": "hollow-dot",          "value": 12,          "tip": "Fri 16 Apr<br>12 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-16')"        },        {          "type": "hollow-dot",          "value": 14,          "tip": "Sat 17 Apr<br>14 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-17')"        },        {          "type": "hollow-dot",          "value": 16,          "tip": "Sun 18 Apr<br>16 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-18')"        },        {          "type": "hollow-dot",          "value": 26,          "tip": "Mon 19 Apr<br>26 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-19')"        },        {          "type": "hollow-dot",          "value": 19,          "tip": "Tue 20 Apr<br>19 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-20')"        },        {          "type": "hollow-dot",          "value": 15,          "tip": "Wed 21 Apr<br>15 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-21')"        },        {          "type": "hollow-dot",          "value": 13,          "tip": "Thu 22 Apr<br>13 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-22')"        },        {          "type": "hollow-dot",          "value": 16,          "tip": "Fri 23 Apr<br>16 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-23')"        },        {          "type": "hollow-dot",          "value": 18,          "tip": "Sat 24 Apr<br>18 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-24')"        },        {          "type": "hollow-dot",          "value": 22,          "tip": "Sun 25 Apr<br>22 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-25')"        },        {          "type": "hollow-dot",          "value": 16,          "tip": "Mon 26 Apr<br>16 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-26')"        },        {          "type": "hollow-dot",          "value": 13,          "tip": "Tue 27 Apr<br>13 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-27')"        },        {          "type": "hollow-dot",          "value": 16,          "tip": "Wed 28 Apr<br>16 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-28')"        },        {          "type": "hollow-dot",          "value": 17,          "tip": "Thu 29 Apr<br>17 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-29')"        },        {          "type": "hollow-dot",          "value": 17,          "tip": "Fri 30 Apr<br>17 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-04-30')"        },        {          "type": "hollow-dot",          "value": 21,          "tip": "Sat 1 May<br>21 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-01')"        },        {          "type": "hollow-dot",          "value": 10,          "tip": "Sun 2 May<br>10 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-02')"        },        {          "type": "hollow-dot",          "value": 22,          "tip": "Mon 3 May<br>22 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-03')"        },        {          "type": "hollow-dot",          "value": 28,          "tip": "Tue 4 May<br>28 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-04')"        },        {          "type": "hollow-dot",          "value": 11,          "tip": "Wed 5 May<br>11 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-05')"        },        {          "type": "hollow-dot",          "value": 13,          "tip": "Thu 6 May<br>13 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-06')"        },        {          "type": "hollow-dot",          "value": 17,          "tip": "Fri 7 May<br>17 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-07')"        },        {          "type": "hollow-dot",          "value": 19,          "tip": "Sat 8 May<br>19 Visits",          "on-click": "piwikHelper.redirectToUrl('https://stat.first-world.info/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2010-05-08')"        }      ],      "dot-style": {        "type": "hollow-dot",        "dot-size": 3,        "halo-size": 0,        "colour": "0x3357A0"      },      "text": "Visits",      "font-size": 11,      "width": 1,      "colour": "0x3357A0"    }  ],  "num_decimals": 0,  "is_fixed_num_decimals_forced": true,  "is_decimal_separator_comma": false,  "is_thousand_separator_disabled": false,  "x_axis": {    "colour": "#596171",    "grid-colour": "#E0E1E4",    "steps": 7,    "labels": {      "size": 11,      "labels": [        "Fri 9 Apr",        "",        "",        "",        "",        "",        "",        "Fri 16 Apr",        "",        "",        "",        "",        "",        "",        "Fri 23 Apr",        "",        "",        "",        "",        "",        "",        "Fri 30 Apr",        "",        "",        "",        "",        "",        "",        "Fri 7 May",        ""      ],      "steps": 2    }  },  "y_axis": {    "colour": "#ffffff",    "grid-colour": "#E0E1E4",    "min": 0,    "max": 30,    "steps": 15,    "labels": {      "text": "#val#"    }  },  "tooltip": {    "shadow": true,    "stroke": 1  },  "bg_colour": "#ffffff"

And:

Preparing archive: archive already processed [id = 12]...

And same type of message.


(alpha_one_x86) #2

I see too:

Warning: fileperms() [<a href='function.fileperms'>function.fileperms</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/first-world.info/stat) in /home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/Test/Core/upload_tmp_dir.php  on line 67

Backtrace -->
#0 Piwik_ErrorHandler(2, fileperms() [<a href='function.fileperms'>function.fileperms</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/first-world.info/stat), /home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/Test/Core/upload_tmp_dir.php, 67, Array ())
#1 fileperms(/tmp) called at [/home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/Test/Core/upload_tmp_dir.php:67]
#2 PhpSecInfo_Test_Core_Upload_Tmp_Dir->_execTest() called at [/home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/Test/Test.php:182]
#3 PhpSecInfo_Test->test() called at [/home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:279]
#4 PhpSecInfo->runTests() called at [/home/first-world.info/stat/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:476]
#5 PhpSecInfo->loadAndRun() called at [/home/first-world.info/stat/plugins/SecurityInfo/Controller.php:28]
#6 Piwik_SecurityInfo_Controller->index()
#7 call_user_func_array(Array ([0] => Piwik_SecurityInfo_Controller Object ([] => SecurityInfo,[] => 2010-05-08,[] => Piwik_Date Object ([] => 1273350794,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1),[] => Array ([label] => General_ColumnLabel,[nb_visits] => General_ColumnNbVisits,[nb_actions] => General_ColumnNbActions,[max_actions] => General_ColumnMaxActions,[sum_visit_length] => General_ColumnSumVisitLength,[nb_uniq_visitors] => General_ColumnNbUniqVisitors,[nb_actions_per_visit] => General_ColumnActionsPerVisit,[avg_time_on_site] => General_ColumnAvgTimeOnSite,[bounce_rate] => General_ColumnBounceRate,[revenue_per_visit] => General_ColumnValuePerVisit,[goals_conversion_rate] => General_ColumnVisitsWithConversions)),[1] => index), Array ()) called at [/home/first-world.info/stat/core/FrontController.php:126]
#8 Piwik_FrontController->dispatch() called at [/home/first-world.info/stat/index.php:59]

And:

display_errors is enabled. This is not recommended on “production” servers, as it could reveal sensitive information. You should consider disabling this feature

But it’s not that’s.
Same for:

PHP may be executing as a “privileged” group, which could be a serious security vulnerability.
PHP may be executing as a “privileged” user, which could be a serious security vulnerability.

But script is excuted as user “apache”


(vipsoft) #3

alpha: your first error message is because your old copy of config/global.ini.php wasn’t updated; perhaps it was read-only?

re: your second error post

  • the open basedir restriction error is technically an upstream bug, but we’ll see if we can fix it; thanks

  • you have to interpret the “privileged” user/group warnings according to what you know about your environment; the “best practice” is to use an unprivileged user (e.g., nobody) or a regular user (e.g., phpsuexec’d in a multi-user, shared hosting environment)


(alpha_one_x86) #4

[quote=vipsoft @ May 10 2010, 02:36 AM]alpha: your first error message is because your old copy of config/global.ini.php wasn’t updated; perhaps it was read-only?

re: your second error post

  • the open basedir restriction error is technically an upstream bug, but we’ll see if we can fix it; thanks

  • you have to interpret the “privileged” user/group warnings according to what you know about your environment; the “best practice” is to use an unprivileged user (e.g., nobody) or a regular user (e.g., phpsuexec’d in a multi-user, shared hosting environment)[/quote]

  1. it’s because error message is enabled, it’s broke json/js script
  2. it’s my case, I use unprivileged user specilized on it, apache under gentoo is the default user, apache:x:81:81:added by portage for apache:/var/www:/sbin/nologin

(vipsoft) #5

Links to more info re: PhpSecInfo

http ://github.com/funkatron/phpsecinfo