Image rotator 1.4 not showing picture and/or giving error message [Solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Image rotator 1.4 not showing picture and/or giving error message [Solved]

Post by tophers »

I'm trying to implement Image_Rotator 1.4 on a site under development. The initial build (before moving my HTML sample pages to the CMS) had a javascript image rotation on the home page (http://www.blumonkee.com/clients/ixlbrick/cms/). The client would like the ability to add new images through the CMS, so I turned to the Forge and found the image rotator.

I downloaded, unzipped and installed Image_Rotator (and Random_Image, which is giving me a similar problem). When I place the tag in a {content block}, I get one of the following (it varies):

No image at all,

or

The following error message:
string(219) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: image_rotator folder="uploads/images/pho" speed="3" (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

I tried changing the permissions for function.image_rotator.php, but no luck. I've installed several other modules and tags recently and haven't had any problems with them.

Here's my config info:
CMS Made Simple 1.2, PHP 4.3.9, MySQL 4.1.20

PS - I'm starting this as a new topic since the one I found in the forum was from July, but I have essentially the same problem as this poster:
http://forum.cmsmadesimple.org/index.ph ... l#msg66764
Last edited by Anonymous on Wed Dec 05, 2007 9:30 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Image rotator 1.4 not showing picture and/or giving error message

Post by RonnyK »

Upgrade to latest 1.2.2 as some issues with UDT's have been fixed there.

Ronny
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Re: Image rotator 1.4 not showing picture and/or giving error message

Post by tophers »

No joy - I updated and reinstalled the tags, but I get the same issue. Here's the page I'm testing it on:
http://www.blumonkee.com/clients/ixlbri ... =slideshow

And here's the code I've dropped in:
{image_rotator folder="uploads/images/pho" speed="3"}

I've also tried the basic tag, in case the parameters were to blame:
{image_rotator}
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Image rotator 1.4 not showing picture and/or giving error message

Post by RonnyK »

Why did you wrap it inside . Try calling without any wrapping, check using the HTML-button.

Ronny
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Re: Image rotator 1.4 not showing picture and/or giving error message

Post by tophers »

Okay - that was a rookie mistake! I'd copied the tag snippet from the Help page, and it's wrapped in tags! When I pasted it into TinyMCE it kept the tags. Now that I removed them it works just fine.

At least I upgraded my CMS. Thanks for the help RonnyK!
Post Reply

Return to “CMSMS Core”