[TYPO3] cooluri PHP parse error
Fabian Koenig
koenig at bluhouse.de
Mon Jun 18 18:21:05 CEST 2007
Mark Ravitz schrieb:
> Hi:
>
> I'm having difficulty with cooluri. Any help would be greatly appreciated.
>
> First, I'm getting a PHP syntax error
> in the file cooluri/cooluri/link.Translate.php .
>
> When I try to view a page from the front end or view the
> cooluri backend module, I receive the following error:
>
> *Parse error*: parse error, unexpected T_ARRAY, expecting '&' or
> T_VARIABLE in *C:\Program
> Files\typo3\htdocs\TB\typo3conf\ext\cooluri\cooluri\link.Translate.php*
> on line *368
>
> *I downloaded the extension directly from http://typo3.org/extensions/
> The file name is: cooluri_0.0.8.t3x
>
> I'm using PHP 5.0.5 with simpleXML enabled and MySQL 5.0 .
>
Uhm.. no!?
What ever:
Open the buggy file (C:\Program
Files\typo3\htdocs\TB\typo3conf\ext\cooluri\cooluri\link.Translate.php),
go to line 368 and replace:
public function params2coolForRedirect(array $params) {
with:
public function params2coolForRedirect(array($params)) {
I hope that helps :-)
More information about the TYPO3-english
mailing list