[TYPO3-UG Dutch] Variable fout.

Martijn de Vries mahammer at xs4all.nl
Thu Aug 27 14:58:20 CEST 2009


Beste TYPO3'ers,

 

Vaak krijg ik de volgende fout, weet iemand wat dit precies inhoudt? Wel
merk ik dat de pagina na het opslaan niet correct word weergegeven en de
volgende fout lijnen krijg.

 

Warning: Variable passed to each() is not an array or object in
X:\Webserver\cms\t3lib\class.t3lib_tcemain.php on line 4750

Warning: Cannot modify header information - headers already sent by (output
started at X:\Webserver\cms\t3lib\class.t3lib_tcemain.php:4750) in
X:\Webserver\cms\typo3\alt_doc.php on line 1458

 

Als ik de bestanden erbij pak krijg ik op die twee lijnen de volgende
informatie: 

            function getExcludeListArray()  {

                        global $TCA;

 

                        $list = array();

                        reset($TCA);

                        while (list($table)=each($TCA))   {

                                   t3lib_div::loadTCA($table);

                                   while
(list($field,$config)=each($TCA[$table]['columns']))           {

                                               if ($config['exclude'] &&
!t3lib_div::inList($this->BE_USER->groupData['non_exclude_fields'],$table.':
'.$field))        {

 
$list[]=$table.'-'.$field;

                                               }

                                   }

                        }

                        return $list;

            }

 

Het gaat om de volgende lijn in de tcemain.php:
while (list($field,$config)=each($TCA[$table]['columns']))        {

 

 

 

                                   // If code is NOT set OR set to 1, then
make a header location redirect to $this->retUrl

                        if (!$code || $code==1)  {

                                   Header('Location:
'.t3lib_div::locationHeaderUrl($this->retUrl));

                                   exit;

                        } else {

                                   $this->setDocument('',$this->retUrl);

                        }

            }

 

Het gaat om de volgende lijn in de alt_doc.php:
Header('Location: '.t3lib_div::locationHeaderUrl($this->retUrl));

 

Ik hoop dat jullie een oplossing hebben! Alvast bedankt!

 

Met vriendelijke groet,
Martijn de Vries

 

 



More information about the TYPO3-UG-Dutch mailing list