Recent Topics

undefined constant craziness - starrating

Started by on May 17, 2007 – Contents updated: May 17, 2007

May 17, 2007 02:02    

hey guys,

i am learning more php by the day, but this one stumped me. I installed the starratings plugin and it works but I get this error,

Notice: Use of undefined constant - assumed ' ' in /home/yoskippy/public_html/skins/yoskippy/_main.php on line 201

the line 201 is the line copied from the instructions

Code

<?php $Plugins->call_by_code( 'starrating', array('id' => $Item->ID ) ); ?>

the ratings seem to be working so i'm not sure.

here's the site btw http://www.yoskippy.com

thanks in advance
-mike

May 17, 2007 02:23

simple enough.

there was a space between the ; and the ?> so i got rid of it. problem fixed!

no worries.

is there any way to put the stars at the top of the post next to the title? rather than at the bottom? that's what i really meant to ask. ;)

sorry to bug you guys.

cheers
-mike


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.