Project

General

Profile

Actions

Bug #15977

closed

PHP error when updating reference index

Added by Craig Arnatt over 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After upgrading from 3.8.1 the interface gives this error:

Important notice!
- The Reference Index table is empty which is likely to be the case because you just upgraded your TYPO3 source. Please go to Tools>DB Check and update the reference index.

It is highly recommended that you change this immediately.

So I go "Check and Update" and then this happens...

Warning: Invalid argument supplied for foreach() in /Applications/xampp/htdocs/quickstart/t3lib/class.t3lib_refindex.php on line 656

Here is the code it is referring to:

line: 656: foreach ($allRecs as $recdat) {
(issue imported from #M3112)


Files

class.t3lib_refindex.php (25.8 KB) class.t3lib_refindex.php Administrator Admin, 2006-04-04 03:23
Actions #1

Updated by Karsten Dambekalns over 18 years ago

This should only happen if a table is defined in $TCA but not present in the database. Please make sure you did run the Database Compare Tool in the Install Tool and all tables/fields are there as required.

Actions #2

Updated by H Klausner over 18 years ago

Same problem here on a fresh install of 4.0 final on 2 different servers. Did update and check of Reference Index. Database compare says "Table and field definitions OK"

Actions #3

Updated by Christian Kuhn over 15 years ago

Is this still a problem in current versions?

Actions #4

Updated by Christian Kuhn over 15 years ago

Hmm, no further feedback for quite some time.

I'll close this issue for now, please reopen if this is still reproducible.

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF