New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error after upgrading from piwik 2.15.0 to 2.16.0 : Undefined index: piwik_pro_ads_enabled #9736
Comments
Solution: piwik_pro_ads_enabled = 0 example[General] piwik_pro_ads_enabled = 0 |
This should not be required, as a default value should be defined in global.ini.php (https://github.com/piwik/piwik/blob/master/config/global.ini.php#L567) |
I have activated this variable and it works fine. I noticed that it wasn't Thanks a lot ! 2016-02-09 13:50 GMT+01:00 Stefan Giehl notifications@github.com:
|
Would be nice to investigate the reason. As mentioned in my comment before, it would be good if you could have a look at your global.ini.php. The variable should be set there. If not, something went wrong during the update. |
Helo Again As I my root folder is caled "webstats" instead of "piwik", I can't So I unziped the piwik.zip (2.16.00) file, on a temporary directory (
then i restore both files (config.ini.php and global.ini.php) Maybe, that is the reason why that variable is not in my config... There was another missing variable in global.ini.php file ; Whether to force a new visit at midnight for every visitor. Default 1. Maybe is a new varible of 2.16.00 version .... Thanks a lot ( and sorry for my english) 😢 JL 2016-02-09 16:57 GMT+01:00 Stefan Giehl notifications@github.com:
|
You should not backup |
Sorry Thomas, but I think, you are wrong. we need set the section [proxy]: example:[proxy] As we need a proxy for navigation, updates, etc. JL 2016-02-10 9:35 GMT+01:00 Thomas Steur notifications@github.com:
|
You should set it in |
Global.ini.php is the blueprint for all general settings. |
Before doing an upgrade of the php code and bbdd to 2.16.0
I have the errors:
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
This mi php version:
$ /software/apache/software/php/bin/php -v
PHP 5.5.8 (cli) (built: Jun 18 2015 12:44:25)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
This is the BBDD update ouput:
$ /software/apache/software/php/bin/php /software/apache/www/estadisticas/console core:update
A database upgrade is required. Execute update? (y/N) y
Starting the database upgrade process now. This may take a while, so please be patient.
Executing ALTER TABLE
piwik_user_language
ADD COLUMNuse_12_hour_clock
TINYINT(1) NOT NULL DEFAULT 0 AFTERlanguage
... Done. [1 / 1]Piwik has been successfully updated!
[apache@glwebd01 www]$ /software/apache/software/php/bin/php /software/apache/www/estadisticas/console core:update
Everything is already up to date.
The piwick web console shows:
WARNING: /software/apache/www/estadisticas/core/Config.php(161): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /software/apache/www/estadisticas/core/PiwikPro/Advertising.php(54): Notice - Undefined index: piwik_pro_ads_enabled - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
The text was updated successfully, but these errors were encountered: