[TYPO3-english] problems inserting content elements

Paul Vetch paul at qedstudio.com
Mon Jan 26 10:33:29 CET 2009


All,

I have just noticed the same issue this morning on a newish 4.23 
installation, also running latest TV (1.3.7), + DAM 1.1.0

As Alessandro reports the error occurs only when a BE user attempts to 
insert a new content element on the page.  Rather than being taken directly 
to the new content element for editing, the user is returned to the page 
view and the error message is shown (and the new content element doesn't 
appear).  However, refreshing the page reveals that the content element 
*has* correctly been created and the BE user can then edit it and save 
content in it as normal.  So this is an annoying issue, but it can be worked 
around.

Backend users have the same permissions I always use for my sites (all of 
which are TV based - so permissions settings which normally work).

The errors my BE users see are similar:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array 
in 
/home/lab/public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php 
on line 223

Warning: Cannot modify header information - headers already sent by (output 
started at 
/home/lab/public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php:223) 
in /home/lab/public_html/typo3conf/ext/templavoila/mod1/index.php on line 
1787

Warning: Cannot modify header information - headers already sent by (output 
started at 
/home/lab/public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php:223) 
in /home/typo3_src-4.2.3/typo3/template.php on line 633

Best wishes

Paul









"Alessandro Canè" <canet at canet.it> wrote in message 
news:mailman.9253.1229877751.2904.typo3-english at lists.netfielders.de...
hi Christopher,
I really appreciate your help...
I forgot to mention it.. unfortunally my TV version is already the latest
one: it is 1.3.7!

:-(

ciao


2008/12/21 Christopher Torgalson <bedlamhotel at gmail.com>

> Hi,
>
> On Sun, Dec 21, 2008 at 8:14 AM, Alessandro Canè <canet at canet.it> wrote:
> > hi list,
> >
> > every time a NOT ADMIN user tries to insert any kind of content on a
> > page, he gets this error on the backend and desired new content SEEMS 
> > not
> to
> > be created:
> >
> > *Warning*: array_merge()
> > [function.array-merge<
> http://typo3.canet.it/typo3conf/ext/templavoila/mod1/function.array-merge
> >]:
> > Argument #1 is not an array in *
> > /.../public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php*
> on
> > line *223*
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at
> > /.../typo3conf/ext/templavoila/class.tx_templavoila_api.php:223) in *
> > /.../public_html/typo3conf/ext/templavoila/mod1/index.php* on line 
> > *1773*
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at
> >
> /.../public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php:223)
> > in
> */.../public_html/typo3conf/ext/tm_shared_lib/class.ux_template_4_2.php*on
> > line
> > *430*
> >
> > He needs to reload the page (just clickin on that page on the site tree)
> to
> > see the new content appear (and disappear the warnings)...
> > at this point he can get into the element and do anything with it, that
> it
> > works fine...
> >
> > This happens using T3 version 4.2.2 *AND ext. tm_shared_lib version
> 1.0.9*
> >
> >
> >
> >
> > MY SECOND ATTEMPT:
> >
> > if I try after having tm_sahred_lib REMOVED, the behaviour stays the
> same,
> > just the error changes to this:
> >
> > *Warning*: array_merge()
> > [function.array-merge<
> http://typo3.canet.it/typo3conf/ext/templavoila/mod1/function.array-merge
> >]:
> > Argument #1 is not an array in *
> > /.../public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php*
> on
> > line *223*
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at
> >
> /.../public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php:223)
> > in */.../public_html/typo3conf/ext/templavoila/mod1/index.php* on line
> *1773
> > *
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at
> >
> /.../public_html/typo3conf/ext/templavoila/class.tx_templavoila_api.php:223)
> > in */.../typo3_src-4.2.2/typo3/template.php* on line *632*
> >
> >
> >
> >
> >  I don't really think this should be the correct behavior of the system
> :-(
> > Why does it acts like this?
> >  Please help!
>
>
> Well, there are TWO extensions mentioned in the error messages. What
> happens if you update Templavoila to the newest version?
>
>
> --
> Christopher Torgalson
> http://www.typo3apprentice.com/
>  _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
----------------------------------------
CAnet // Canè Alessandro
via delle Ruote 10
40138 Bologna (BO)
tel. +39-340-1751482
fax +39-051-94731181
email: canet at canet.it
web: www.canet.it



More information about the TYPO3-english mailing list