I get this error:

Parse error: syntax error, unexpected '[' in /home/bluebaza/public_html/includes/common.inc(1342) : eval()'d code on line 2

I found a similar error in another post that said it was fixed. The error still exists. My versions are: Drupal 5.0 , slideshow 5.x-1.14 downloaded today 3-feb-2007.

Is there another fix for this?

Thanks,

Abe

Comments

brmassa’s picture

abe tomas,

thanks for using it and reporting a bug!
that other error were because he was using CCK (which doesnt allow filters) and have to use PHP.
is it you case?
whats your PHP version?
whats your slideshow?

regards,

massa

abe’s picture

The error disappeared when I removed the code from inside the php block. I was just following the sample code that showed it as inside a php snippet.

abe’s picture

I am using the following:
> drupal 5.0
> php 4.4.4
> slideshow 5.x-1.4

My input format slideshow settings:
> php evaluator
> slideshow filter creator
> url filter

abe’s picture

I am using the following:
> drupal 5.0
> php 4.4.4
> slideshow 5.x-1.4

My input format slideshow settings:
> php evaluator
> slideshow filter creator
> url filter

abe’s picture

I am using the following:
> drupal 5.0
> php 4.4.4
> slideshow 5.x-1.4

My input format slideshow settings:
> php evaluator
> slideshow filter creator
> url filter

brmassa’s picture

Assigned: Unassigned » brmassa

abe,

lets see:
1* are you using CCK?
2* i think that can be php4. i will make some tests.
3* if you are using slideshows INSIDE PHP tags, use should turn the slideshow filter off and probabily URL also (i think its not necessary if CCK is enabled, coz on filter works). The reason is that Slideshow filter as URL transform your image URL in a link before the PHP executes the code. i will update the documentation also.
4* i fixed a bug about caching. get the new version.

regards,

massa

abe’s picture

1* are you using CCK?
> YES

3* if you are using slideshows INSIDE PHP tags, use should turn the slideshow filter off and probabily URL also (i think its not necessary if CCK is enabled, coz on filter works). The reason is that Slideshow filter as URL transform your image URL in a link before the PHP executes the code. i will update the documentation also.
> I tried slideshow filter and URL off, but problem remains

4* i fixed a bug about caching. get the new version.
> I will try new version

brmassa’s picture

Status: Active » Closed (fixed)