piwik was running great since piwik 0.9 or so. Joomla Installation with a plugin that adds the tracking code to the pages.
Now i did several things in a row.
Leaving my site as it is - i took a backup of it, installed it to a different directory of my webspace, where i worked on the new design and content. I did also some updates. After finishing work there, i changed DNS to point to the new site … now piwik was not more tracking my visitors.
So update piwik from 1.11 to 1.12 - still not working - so I took the chance to go on 2.0b5 RC, as it was suggested in one of the recent threads. My site is not that big - still no tracking …
This is the Piwik java code, which is in every Page of my site: (xxxx replaces my domain)
should be working like this / generated by a plugin but same as tracking code given in backend of my piwik installation
next i got:
There is an error. Please report the message (Piwik 2.0-b5) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!). Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /hp/cg/aa/cj/www/bj/piwik/core/Url.php on line 241 Backtrace --> #0 Piwik\Error::errorHandler(...) called at [:] #1 preg_match(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/Url.php:241] #2 Piwik\Url::isValidHost(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/Url.php:287] #3 Piwik\Url::getHost(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/Url.php:333] #4 Piwik\Url::getCurrentHost(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/Url.php:95] #5 Piwik\Url::getCurrentUrlWithoutFileName(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/SettingsPiwik.php:174] #6 Piwik\SettingsPiwik::getPiwikUrl(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/FrontController.php:331] #7 Piwik\FrontController->init(...) called at [/hp/cg/aa/cj/www/bj/piwik/index.php:55] There is an error. Please report the message (Piwik 2.0-b5) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!). Warning: Cannot modify header information - headers already sent by (output started at /hp/cg/aa/cj/www/bj/piwik/core/Log.php:412) in /hp/cg/aa/cj/www/bj/piwik/core/Plugin/Controller.php on line 700 Backtrace --> #0 Piwik\Error::errorHandler(...) called at [:] #1 header(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/Plugin/Controller.php:700] #2 Piwik\Plugin\Controller->redirectToIndex(...) called at [/hp/cg/aa/cj/www/bj/piwik/plugins/CoreHome/Controller.php:58] #3 Piwik\Plugins\CoreHome\Controller->redirectToCoreHomeIndex(...) called at [:] #4 call_user_func_array(...) called at [/hp/cg/aa/cj/www/bj/piwik/core/FrontController.php:114] #5 Piwik\FrontController->dispatch(...) called at [/hp/cg/aa/cj/www/bj/piwik/index.php:56]
20: [General] 21: trusted_hosts = "xxxx.com/"
btw: site is running in /hp/cg/aa/cj/www/bj/ ; Piwik is running in /hp/cg/aa/cj/www/bj/piwik/
Any Help or suggestions?