Announcement

#1 2019-10-09 08:43:31

Zentalquabula
Member
2014-05-10
217

2.10 notice undefined index

Undefined index: display_fromto in /var/www/piwigo/include/category_cats.inc.php on line 315

What gives?

Edit: can make it go away by editing Local config in LocalFiles:
$conf['display_fromto'] = false;

Last edited by Zentalquabula (2019-10-09 08:50:25)

Offline

 

#2 2019-10-09 12:02:21

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: 2.10 notice undefined index

Hi Zentalquabula,

Can you go in your database manager and give us the result of these 2 SQL queries :

Code:

select * from piwigo_config where param = 'display_fromto';

and

Code:

select * from piwigo_upgrade order by applied desc limit 5;

Offline

 

#3 2019-10-09 12:14:43

Zentalquabula
Member
2014-05-10
217

Re: 2.10 notice undefined index

Empty set (0.00 sec)

and

+-----+---------------------+------------------------------------------------------------------------------------------------------------+
| id  | applied             | description                                                                                                |
+-----+---------------------+------------------------------------------------------------------------------------------------------------+
| 149 | 2017-05-03 00:11:46 | [migration from 2.8.0 to 2.9.0, 0.065 s] add last_visit+last_visit_from_history in user_infos table        |
| 150 | 2017-05-03 00:11:46 | [migration from 2.8.0 to 2.9.0, 0.035 s] add history_id_from+history_id_to in history_summary table        |
| 151 | 2017-05-03 00:11:46 | [migration from 2.8.0 to 2.9.0, 0.000 s] add "picture_sizes_icon" and "index_sizes_icon" parameters        |
| 152 | 2017-05-03 00:11:46 | [migration from 2.8.0 to 2.9.0, 0.000 s] add 5 parameters to show/hide icons (edit/caddie/repressentative) |
| 145 | 2016-03-08 19:48:04 | [migration from 2.7.0 to 2.8.0, 0.007 s] add image formats table                                           |
+-----+---------------------+------------------------------------------------------------------------------------------------------------+

Offline

 

#4 2019-10-09 15:08:46

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: 2.10 notice undefined index

and what if you go to upgrade.php (instead of index.php) in your web browser?

Offline

 

#5 2019-10-09 15:18:25

Zentalquabula
Member
2014-05-10
217

Re: 2.10 notice undefined index

That seemed to do the trick.

Howver, it deactivated my themes and plugins and made a complete mess of everything. That awful "powered by" is also back. Sigh.

Offline

 

#6 2019-10-15 09:19:36

Perry Harrington
Member
2019-10-15
2

Re: 2.10 notice undefined index

I encountered this error as well, the upgrade process seemed to not succeed fully.  Accessing upgrade.php directly did not do anything, the message said that the database was already up to date.

To fix this I ran this statement manually against the SQL instance:

Code:

insert into piwigo_config values ('display_fromto','false',NULL);

That made the error go away.

The error is tied to this Display configuration option:


Show the date period associated with each album, eg « from July 12th to 15th, 2018 »


Unless a piwigo_config parameter is manually created in the database you cannot fix this error.

Offline

 

#7 2019-11-08 19:56:34

jeroens
Member
2017-11-14
3

Re: 2.10 notice undefined index

I just upgraded to 2.10.1 and got the same problem.
Inserted the value as mentioned
Checked the display variable and that is disabled. However the problem is still there

"Notice: Undefined index: display_fromto in /var/www/clients/client29093/web38647/fotos/piwigo/include/category_cats.inc.php on line 119"

Piwigo 2.10.1
Operating system: Linux
PHP: 7.2.20 (Show info) [2019-11-08 19:55:02]
MySQL: 5.7.19 [2019-11-08 19:55:02]
Graphics Library: External ImageMagick 6.7.8-9

Any other tips?

Thanks,

Jeroen

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact