EXT: Comments (error)

View: New views
7 Messages — Rating Filter:   Alert me  

EXT: Comments (error)

by Justin-101 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi List,

There was a new update for the EXT: Comments
I did update it, and now I get this error:

Catchable fatal error: Argument 3 passed to
tx_comments_pi1::substituteMarkersAndSubparts() must be an array, null
given, called in
/usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
on line 393 and defined in
/usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
on line 1260

Can't find any solution.. anyone?

Thanks

_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Søren Malling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you remember to clear your cache after the upgrade?

On Wed, Jul 23, 2008 at 5:11 PM, Justin <jvanoel@...> wrote:

> Hi List,
>
> There was a new update for the EXT: Comments
> I did update it, and now I get this error:
>
> Catchable fatal error: Argument 3 passed to
> tx_comments_pi1::substituteMarkersAndSubparts() must be an array, null
> given, called in
>
> /usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
> on line 393 and defined in
>
> /usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
> on line 1260
>
> Can't find any solution.. anyone?
>
> Thanks
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english@...
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Dmitry Dulepov [typo3] :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Justin wrote:

> There was a new update for the EXT: Comments
> I did update it, and now I get this error:
>
> Catchable fatal error: Argument 3 passed to
> tx_comments_pi1::substituteMarkersAndSubparts() must be an array, null
> given, called in
> /usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
> on line 393 and defined in
> /usr/local/www/htdocs/junic/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php
> on line 1260
>
> Can't find any solution.. anyone?

Update will be in TER soon.

--
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
Latest article: http://typo3bloke.net/post-details/extension_updates_loginusertrack_and_comments/
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Hartmut Steglich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

there is another issue with version 1.4.2 and 1.4.3 on TYPO3 4.1.7 and
PHP 4.3.10

Parse error: parse error, unexpected T_ARRAY, expecting '&' or
T_VARIABLE or T_CONST in
/htdocs/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php on line 1260

Anyone having the same?

Thanks to Dmitry for his quick responses
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Dmitry Dulepov [typo3] :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Hartmut Steglich wrote:

> there is another issue with version 1.4.2 and 1.4.3 on TYPO3 4.1.7 and
> PHP 4.3.10
>
> Parse error: parse error, unexpected T_ARRAY, expecting '&' or
> T_VARIABLE or T_CONST in
> /htdocs/typo3conf/ext/comments/pi1/class.tx_comments_pi1.php on line 1260
>
> Anyone having the same?
>
> Thanks to Dmitry for his quick responses

Hm. I am using PHP5 and when I coded I automatically added PHP5 features there :( My aim with comments was always to stay compatible with PHP4 but... It just slipped in :(

You can make comments working with PHP4 by changing line 1260 from

        function substituteMarkersAndSubparts($template, array $markers, array $subparts) {

to

        function substituteMarkersAndSubparts($template, $markers, $subparts) {

--
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
Latest article: http://typo3bloke.net/post-details/extension_updates_loginusertrack_and_comments/
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Hartmut Steglich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Hm. I am using PHP5 and when I coded I automatically added PHP5 features
> there :( My aim with comments was always to stay compatible with PHP4
> but... It just slipped in :(
thats ok. I just gave it a try because nothing was stated in the
dependencies.

> You can make comments working with PHP4 by changing line 1260
I'll stay with version 1.4.1 in this project. It does what it should ...

Thanks,
Hartmut
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: EXT: Comments (error)

by Justin-101 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the update, everything works well now..
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
LightInTheBox - Buy quality products at wholesale price