/**
* Called when getting a configuration value, eg. Zend_Registry::get('config')->superuser->login
*
* @param string $name
* @return mixed value
*
* @throws exception if the value was not found in the configuration file
*/
public function __get($name)
{
if(empty($this->cachedConfigArray))
{
$this->cacheConfigArray();
}
return $this->cachedConfigArray[$name]; <- Zeile 336
Das ist das Default File aus dem Zip, ich hab nichts geändert an dem File, ist ja im Prinzip auch kein Config File für Anpassungen.
Sorry, mein Fehler. Hatte es beim Überfliegen für die konfigurationsDatei gehalten.
Hast du überhaupt Segmente definiert, oder verwendest du das Feature gar nicht?
Bitte versuche mal, die vorhandene global.ini.php im Ordner piwik/config/ gegen die aus dem Download-Paket der 1.2-Version zu ersetzen. Bitte vorher ein Backup der vorhandenen Datei machen.
Okay der komplette Eintrag hat gefehlt, da ich die vom 1.1.1er Release mitkopiert hatte.
[Segments]
; Reports with segmentation in API requests are processed in real time.
; On high traffic websites it is recommended to pre-process the data
; so that the analytics reports are always fast to load.
; You can define below the list of Segments strings
; for which all reports should be Archived during the cron execution
; All segment values MUST be URL encoded.
;Segments[]="visitorType==new"
;Segments[]="visitorType==returning"
; If you define Custom Variables for your visitor, for example set the visit type
;Segments[]="customVariableName1==VisitType;customVariableValue1==Customer"
Simple fix was that i forgot to copy the piwik/config/global.ini.php from the zip file, that was causing the error or just add the [Segments] part from this post to the global.ini.php and the error was gone.
[quote=Belgeron]
Simple fix was that i forgot to copy the piwik/config/global.ini.php from the zip file, that was causing the error or just add the [Segments] part from this post to the global.ini.php and the error was gone.[/quote]