Archive.php is not working after 2.1


(jllcarraso) #1

After installing 2.1 version archive.php is not working.
This is the log result:

INFO [2014-03-05 17:24:02] [f0287] ---------------------------
INFO [2014-03-05 17:24:02] [f0287] INIT
INFO [2014-03-05 17:24:02] [f0287] Querying Piwik API at: http://xxxxxxxxxxxxx/piwik
/index.php
INFO [2014-03-05 17:24:02] [f0287] Running Piwik 2.1.0 as Super User: xxxxxx
INFO [2014-03-05 17:24:02] [f0287] ERROR: The Piwik URL http://xxxxxxxxxxxxxxxxx/piwik/i
ndex.php does not seem to be pointing to a Piwik server. Response was '
Deprecated: Directive ‘register_long_arrays’ is deprecated in PHP 5.3 and greater in Unknown on li
ne 0

Deprecated: Directive ‘magic_quotes_gpc’ is deprecated in PHP 5.3 and greater in Unknown on line 0
a:34:{s:9:“nb_visits”;s:6:“Visits”;s:16:“nb_uniq_visitors”;s:15:“Unique visitors”;s:10:“nb_actions
”;s:7:“Actions”;s:20:“nb_actions_per_visit”;s:17:“Actions per Visit”;s:16:“avg_time_on_site”;s:20:
“Avg. Time on Website”;s:11:“bounce_rate”;s:11:“Bounce Rate”;s:15:“conversion_rate”;s:15:“Conversi
on Rate”;s:5:“label”;s:5:“Label”;s:4:“date”;s:4:“Date”;s:16:“avg_time_on_page”;s:17:“Avg. time on
page”;s:14:“sum_time_spent”;s:41:“Total time spent by visitors (in seconds)”;s:16:“sum_visit_lengt
h”;s:41:“Total time spent by visitors (in seconds)”;s:12:“bounce_count”;s:7:“Bounces”;s:22:“bounce
_count_returning”;s:33:“Bounce Count for Returning Visits”;s:11:“max_actions”;s:28:“Maximum action
s in one visit”;s:21:“max_actions_returning”;s:38:“Maximum actions in one returning visit”;s:29:“n
b_visits_converted_returning”;s:36:“Number of converted returning visits”;s:26:“sum_visit_length_r
eturning”;s:51:“Total time spent by returning visitors (in seconds)”;s:19:“nb_visits_converted”;s:
23:“Visits with Conversions”;s:14:“nb_conversions”;s:11:“Conversions”;s:7:“revenue”;s:7:“Revenue”;
s:7:“nb_hits”;s:9:“Pageviews”;s:15:“entry_nb_visits”;s:9:“Entrances”;s:22:“entry_nb_uniq_visitors”
;s:16:“Unique entrances”;s:14:“exit_nb_visits”;s:5:“Exits”;s:21:“exit_nb_uniq_visitors”;s:12:“Uniq
ue exits”;s:18:“entry_bounce_count”;s:7:“Bounces”;s:17:“exit_bounce_count”;s:7:“Bounces”;s:9:“exit
_rate”;s:9:“Exit rate”;s:26:“sum_daily_nb_uniq_visitors”;s:27:“Unique visitors (daily sum)”;s:32:“
sum_daily_entry_nb_uniq_visitors”;s:28:“Unique entrances (daily sum)”;s:31:“sum_daily_exit_nb_uniq
_visitors”;s:24:“Unique exits (daily sum)”;s:16:“entry_nb_actions”;s:27:“Actions after entering he
re”;s:22:“entry_sum_visit_length”;s:61:“Total time spent by visitors (in seconds) after entering h
ere”;}’.

I don’t think the two lines started with Deprecated are important because this were before the update.


(Matthieu Aubry) #2

from your php.ini file, PHP configuration, remove the settings:

‘register_long_arrays’

‘magic_quotes_gpc’


(jllcarraso) #3

It’s working now. Thanks for the solution.