Closed (fixed)
Project:
Slideshow Creator
Version:
5.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Feb 2007 at 23:47 UTC
Updated:
9 Apr 2007 at 05:05 UTC
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
Comment #1
brmassa commentedabe 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
Comment #2
abe commentedThe 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.
Comment #3
abe commentedI 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
Comment #4
abe commentedI 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
Comment #5
abe commentedI 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
Comment #6
brmassa commentedabe,
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
Comment #7
abe commented1* 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
Comment #8
brmassa commented