Hello/Hi/Greetings,
Unfortunately upgrade did NOT work. The PIWIGO I was upgrading was totally uptodate.
Using Chrome browser - Version 77.0.3865.90 (Official Build) (64-bit)
Linux Server
Operating system CentOS Linux 7.6.1810
Apache version 2.4.6
PHP versions 7.2.10
MySQL version 5.5.60
Greated with message : "Some Checksums are missing."
Compute 2753 missing checksums
Get the following error message >> error 501 : Method name is not valid
Found people in past had a similar problem. followed the instructions found.
Combine JS / CSS set to off
Purge compiled templates
Same problem.
Changed to Modus to see if that helps, did as above, did not help.....
Still using Modus and also happens on my prefered theme "Elegant" (Not a fan of Modus, I much prefer album list on screen. Pull down not good when you have 100+ albums as my other sites have.)
Go into any gallery that has albums in it and you get the following ...
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 119
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
ect ect .....
Offline
Hi Nigel-Aves,
Some upgrades are missing.
Open upgrade.php in your web browser (instead of index.php).
Offline
Just ran upgrade.php ... following message ....
No upgrade required, the database structure is up to date
← back to gallery
It's really strange as I have never had an issue when upgrading PIWIGO in the past.
Nigel.
Offline
Just tried the 2.10.1 and the checksum issues now seems to be resolved.
But I'm still seeing this message when I open an album that has sub-albums
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 119
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Notice: Undefined index: display_fromto in /home/serendipity/public_html/include/category_cats.inc.php on line 315
Offline
Hi :-)
your site/upgrade.php ?
Offline
ddtddt ....
I did try that after plg suggested it ...
Following message ....
piwigo wrote:
No upgrade required, the database structure is up to date
← back to gallery
Offline
Can you go in your database manager and give us the result of these 2 SQL queries :
select * from piwigo_config where param = 'display_fromto';
and
select * from piwigo_upgrade order by applied desc limit 5;
Currently upgrade.php says the database is up to date, because you should have upgrade 156 registered in your piwigo_upgrade table, but on the other side it seems you don't have display_fromto in your config table, which should have been added by upgrade 153. So I wonder what is going wrong in your database.
Offline
Here are the results .... doesn't look good!
Output from SQL command select * from piwigo_config where param = 'display_fromto'; ..
No data returned
Output from SQL command select * from piwigo_upgrade order by applied desc limit 5; ..
id applied description
152 2017-06-17 10:54:41 [migration from 2.8.0 to 2.9.1, 0.001 s] add 5 parameters to show/hide icons (edit/caddie/repressentative)
151 2017-06-17 10:54:41 [migration from 2.8.0 to 2.9.1, 0.001 s] add "picture_sizes_icon" and "index_sizes_icon" parameters
150 2017-06-17 10:54:41 [migration from 2.8.0 to 2.9.1, 1.544 s] add history_id_from+history_id_to in history_summary table
149 2017-06-17 10:54:39 [migration from 2.8.0 to 2.9.1, 0.513 s] add last_visit+last_visit_from_history in user_infos table
148 2016-03-08 21:33:05 [migration from 2.7.0 to 2.8.0, 0.353 s] add auth_key_id in history table
Offline
I'm going to need a dump of your database to understand what can be wrong. Some other users have the same problem and I would like to understand so that it can be correctly fixed. My email is "plg" on the the domain name of this forum.
Offline
Im experiencing the same errors. If another database dump would be helpful, please let me know
Offline
@Nigel-Aves thank you for the database dump. I have imported it in a fresh new database and configured my Piwigo to use it. Here is what I see when I open upgrade.php :
then
Conclusion : on my computer, Piwigo detects there are missing upgrades that need to be applied.
Offline
... and thereby hangs the problem because when I run upgrade.php I get the message ...
No upgrade required, the database structure is up to date
← back to gallery
I did notice that on line 172 of the file I sent it has this entry,
('c13y_ignore','a:2:{s:7:\"version\";s:6:\"2.10.1\";s:4:\"list\";a:0:{}}'
if this is the trigger for upgrade it would mean that PIWIGO always thinks it's up-to date.
Offline
I don't know if this helps or not. I restored the web site to the 2.9.0 version.
I decided to do a dump of the database and received this message ..
Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in /home/serendipity/public_html/admin/include/mysqldump.php:75 Stack trace: #0 /home/serendipity/public_html/admin/include/mysqldump.php(66): MySQLDump->setDatabase('piwigo-serendip...') #1 /home/serendipity/public_html/admin/include/updates.class.php(481): MySQLDump->__construct('piwigo-serendip...', '/home/serendipi...', false, false) #2 /home/serendipity/public_html/admin/updates_pwg.php(106): updates::dump_database(false) #3 /home/serendipity/public_html/admin/updates.php(43): include('/home/serendipi...') #4 /home/serendipity/public_html/admin.php(312): include('/home/serendipi...') #5 {main} thrown in /home/serendipity/public_html/admin/include/mysqldump.php on line 75
went back to php 5.4.16
Tried to dump database and had this (rather unhelpful) message.
Unable to dump database.
I did try to run the update again (using php 5.4.16).... it errored out with a mis-configuration message.
The Apache error log contained the following ...
[Fri Oct 18 12:13:23.511407 2019] [fcgid:warn] [pid 9643] [client 192.168.1.50:62772] mod_fcgid: read data timeout in 31 seconds, referer: https://serendipity.soft-focus-imaginin … ge=updates
[Fri Oct 18 12:13:23.511538 2019] [core:error] [pid 9643] [client 192.168.1.50:62772] End of script output before headers: admin.php, referer: https://serendipity.soft-focus-imaginin … ge=updates
Offline
Even MORE information ..... and this might be a good clue. Starting point PIWIGO Version 2.9.0
I now tried PHP 7.0.27
UPGRADE WORKED ......
Offline