Error in main component

0
Hi
After installed in main form of component i have this error:
$points) $grey="_grey"; $java = "id='star".$i."_".$album_id."' onclick='".$funcio."($i,$album_id);' onmouseover='stars($i,$album_id);' "; $add_java = ""; if($album_id) $add_java = $java; $return .= ""; } return $return; } function time_to_string($total_time){ $segons = $total_time % 60; if($segons = 60){ $minuts_60 = $minuts % 60; $hores = ($minuts - $minuts_60)/60; if($minuts_60 0){ $total_time = $hores.":".$minuts_60.":".$segons; } else $total_time = $minuts.":".$segons; return $total_time; } }

WOuld you mind help me ?
Thank you
Responses (7)
  • Accepted Answer

    Wednesday, April 22 2009, 04:32 PM - #Permalink
    0
    yes

    you have the PHP variable "short_open_tag" set to Off and it should be On. just change that in your php.ini file and everything will work fine
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:35 PM - #Permalink
    0
    I got it.
    Thank you so much ?
    PS: But would you mind provide which file use this short tag code than i can edit it ?
    Because in some case i cant edit php.ini. In current i'm trying on localhost.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:42 PM - #Permalink
    0
    you should always be able to modify php.ini file, either if you use an external (paying) server, or you are just testing on localhost

    if you dont know where your php.ini file is, just execute the php command phpinfo(); and this tells you where your php.ini file is located.

    you are probably using Apache. have you installed xampp, for instance?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:45 PM - #Permalink
    0
    No
    I mean in moment testing on localhost is ok.
    I can control everything. But what if i use another hosting provider w/ custom php.ini is allowed.
    In this case i need to mod the source code ;)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:52 PM - #Permalink
    0
    well, I tell you again, I think even in the cheaper hosting provider service (as mine! ;) ) you can always upload a php.ini file into your site's root, and the server will read it automaticly.

    but anyway, this error you get is located on file

    administrator/components/com_muscol/helpers/helpers.php

    you'll see the beggining php tag is "ut you'll get others. so, what you can do is replace AAAAALLLLL tags!!

    I see you must probably be developer.. ;) so you know how to do it :)

    in case you dont: if you use Dreamweaver, for instance, CTRL + F (CMD + F in mac) and replace all the short tags to standarf tags in all the folder

    administrator/components/com_muscol/

    and also

    components/com_muscol/

    good luck! :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:55 PM - #Permalink
    0
    Thank you.
    Look like your support is great.
    I hear everybody have nice talk about your support.
    OKi thax. Sorry i was lazy that dont try before ask you (it shouldnt next time) :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2009, 04:58 PM - #Permalink
    0
    no prob ;)
    The reply is currently minimized Show
Your Reply