[TYPO3-commerce] Backend: Display of Articles broken
Franz Steinmetz
franzlst at yahoo.de
Tue Mar 17 21:58:23 CET 2009
Hi,
now I tried to reinstall commerce. After deletion of commerce, I uploaded the 0.9.8 version of commerce.t3x, everything was fine. When updating the new files of the 0.11.8 (revision 17409), the errors came back:
DB Check: Manage reference index -> Update/Check:
Fatal error: Cannot use string offset as an array in ***/t3lib/class.t3lib_refindex.php on line 402
Adding a category:
Fatal error: Cannot use string offset as an array in ***/t3lib/class.t3lib_befunc.php on line 208
Adding a product:
Catchable fatal error: Argument 1 passed to
t3lib_div::array2xml() must be an array, string given, called in ***/typo3conf/ext/dynaflex/class.dynaflex.php
on line 196 and defined in ***/t3lib/class.t3lib_div.php on line 2210
Opening sysdelivery:
Fatal error: Cannot use string offset as an array in ***/typo3conf/ext/commerce/tcafiles/tx_commerce_articles.tca.php on line 444
It's the newest revision of commerce and I haven't changed anything, any idea?
Bye
Franz Steinmetz
franzlst at yahoo.de
http://www.roboshow.de
http://www.jsg-abi2008.de
http://www.kalender.jsg-abi2008.de
----- Ursprüngliche Mail ----
Von: Franz Steinmetz <franzlst at yahoo.de>
An: Typo3 Project Commerce <typo3-project-commerce at lists.netfielders.de>
Gesendet: Sonntag, den 15. März 2009, 18:07:51 Uhr
Betreff: [TYPO3-commerce] Backend: Display of Articles broken
Hi,
I use commerce 0.11.7 and dynaflex 1.11.0. When I want to edit an article in the Backend (either via clicking on the article in the tree or clicking the pencil of the article in the product view) an error occurs:
Fatal error: Cannot unset string offsets in *******/typo3conf/ext/dynaflex/class.dynaflex.php on line 1094
Nothing more is displayed in this frame. The corresponding line in the file is:
/**
* Removes an element from a flexform structure.
*
* @param array $funcConf: configuration array for a single configuration
* @return void
*/
function remove($funcConf = array()) {
// build path
$path = $this->getPath($funcConf['inside']);
// get the Data
$workData = $this->getDataByPath($this->flexData, $path);
// remove the element
==> unset($workData[$funcConf['element']]);
// Write back the modified data
$this->setDataByPath($this->flexData, $path, $workData);
}
Commenting the line another error appears:
Fatal error: Cannot create references to/from string offsets nor overloaded objects in ******/typo3conf/ext/dynaflex/class.dynaflex.php on line 280
Commenting this one gets:
Fatal error: Cannot use string offset as an array in ******/typo3conf/ext/commerce/tcafiles/tx_commerce_articles.tca.php on line 440
The code here is:
$TCA['tx_commerce_article_prices'] = Array (
==> 'ctrl' => $TCA['tx_commerce_article_prices']['ctrl'],
I can't see what shell be wrong here.
I hope you can help me.
Greets
Franz Steinmetz
franzlst at yahoo.de
http://www.roboshow.de
http://www.jsg-abi2008.de
http://www.kalender.jsg-abi2008.de
_______________________________________________
TYPO3-project-commerce mailing list
TYPO3-project-commerce at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
More information about the TYPO3-project-commerce
mailing list