If Statements Not Working v1.25

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

If Statements Not Working v1.25

Postby botkins » Wed Jun 27, 2007 1:08 am

I'm using the following code:

Code: Select all
<If: Field: CustomField_imagever eq "Yes">Show Image</If>


I keep getting the following error:


Error: That style is invalid and has a syntax error. Check, in particular, that all ifs are properly matched and ended. Perl reported the following error, which may or may not be helpful: Unmatched right curly bracket at (eval 15) line 23, at end of line syntax error at (eval 15) line 23, near "; }"


Does anyone know a solution to this?
botkins
 
Posts: 15
Joined: Sat Jul 16, 2005 1:54 pm

Postby SrNupsen » Wed Jun 27, 2007 2:26 am

Yes. See my post here:

http://www.coranto.org/forum/viewtopic. ... c&start=19

Basically, there's a little bug inside cradmin.pl - so you need to download the one linked to in my post and replace your own cradmin.pl with it.

But as always, before changing anything - DO A BACKUP!

:)
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron