Fatal error: Cannot redeclare class DatabaseItemList C5 upgrade
PermalinkFatal error: Cannot redeclare class DatabaseItemList in /var/www/html/intranet/updates/concrete5.6.0/concrete/libraries/database_item_list.php on line 7
(the 5.6.0 in the above message would be 5.6.0.2 if I tried to go directly to that version)
I get the same thing whether I upgrade from the dashboard or use the tools/required/upgrade?force=1 URL.
I've turned off pretty URLs.
There is nothing in root/jobs.
Cache is off and cleaned.
APC cache is disabled.
I've done manual downloads of the different versions via wget straight to our web server - so I'm pretty sure there are no missing pieces.
My searches in the forums did not turn up anything. Any help that can be offered would be appreciated.
Thanks!
Problem solved!
1. I have an override of item_list.php in root/libraries. I inherited this site so I don't know why it's there but I'll put it aside and see if the upgrade completes because I believe that DatabaseItemList is an extension of ItemList (I'm a bit over my C5 pay grade in talking about this stuff)
2. database_item_list.php, the file where the error is happening, is new beginning in 5.6.0. It did not exist in 5.5.2.1. Not really sure of the significance of that, but I'll look into it.
Thanks.