Help. Errors after install

Callum
Callum
Offline
0
Hi,
GREAT component and it installed easily but I'm getting errors when I click on 'Album Manager' in the admin area and also on the front of the website.

Details:
Joomla 1.5.8
PHP 5
Legacy enabled (for another component)

The Error in Admin on Album Manager is:


$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; } }


and the error on the front page of the website is:


# $points){ $grey = "_grey"; if($points > ($i-1)) $grey = "_half_grey"; } $image_attr = array( "title" => "$points ".JText::_('out of')." 5" ); $image_attr_java = array( "title" => "$points ".JText::_('out of')." 5" , "id" => "star".$i."_".$album_id , //"onclick" => $funcio."($i,$album_id);" , "onmouseover" => "stars($i,$album_id);" ); if($album_id) { $image_attr = $image_attr_java; $return .= "".JHTML::image('components/com_muscol/assets/images/star' . $grey.$show_small. '.png' , "$i ".JText::_('out of')." 5" , $image_attr ).""; } else{ $return .= JHTML::image('components/com_muscol/assets/images/star' . $grey.$show_small. '.png' , "$points ".JText::_('out of')." 5" , $image_attr ); } } return $return; } function li_inicial($lletra,$selected,$pos){ $cadena = ""; if($selected){ if($pos=="") $cadena .= ""; else if($pos=="left") $cadena .= "
# "; else if($pos=="right") $cadena .= "
# "; } else{ if($pos=="") $cadena .= "
# "; else if($pos=="left") $cadena .= "
# "; else if($pos=="right") $cadena .= "
# "; } $link = JRoute::_( 'index.php?option=com_muscol&view=artists&letter='. $lletra ); $cadena .= "".$lletra."
n"; return $cadena; } function month_name($month){ $month_array = array( 1 => JText::_( "January" ), 2 => JText::_( "February" ), 3 => JText::_( "March" ), 4 => JText::_( "April" ), 5 => JText::_( "May" ), 6 => JText::_( "June" ), 7 => JText::_( "July" ), 8 => JText::_( "August" ), 9 => JText::_( "September" ), 10 => JText::_( "October" ), 11 => JText::_( "November" ), 12 => JText::_( "December" ) ); return $month_array[$month]; } function letter_navigation($inicial){ $return .= "

"; $inicials = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","123"); if($inicials[0] != $inicial) $return .= MusColHelper::li_inicial($inicials[0],false,"left"); else $return .= MusColHelper::li_inicial($inicials[0],true,"left"); for($i=1;$i= 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; } } params->get('showletternavigation')){ echo MusColHelper::letter_navigation($this->artist->letter); } ?>

params->get('showpdficon')){ ?>
artist->id); $image_songs = JHTML::image('components/com_muscol/assets/images/music.png',JText::_('View songs')); $image_albums = JHTML::image('components/com_muscol/assets/images/cdr.png',JText::_('View albums')); ?>


Please Help as I really wanted this to work on my website , especially after I had paid for it!

Thanks for your help.
Responses (6)
  • Accepted Answer

    Wednesday, April 08 2009, 06:04 PM - #Permalink
    0
    hello there

    I dont know what exact error you get (I mean, if you are viewing this ugly code, of course is an error, but I can't say right now what does it show up)

    just let me some hours to investigate. It would be great if you tell me your site, so I can see for myself the errors

    cheers :)
    The reply is currently minimized Show
  • Accepted Answer

    Callum
    Callum
    Offline
    Wednesday, April 08 2009, 06:12 PM - #Permalink
    0
    Thanks for the reply. The website is offline at the moment as it's still being built but I will create a temporary admin username and password for you so you can take a look.

    Thanks

    I'll PM you the password etc.
    The reply is currently minimized Show
  • Accepted Answer

    Callum
    Callum
    Offline
    Wednesday, April 08 2009, 06:22 PM - #Permalink
    0
    Hi,
    As there is no PM function on this forum, I have emailed you the details to joomlamusicsolutions@gmail.com


    Thanks again for your help!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 09 2009, 09:27 PM - #Permalink
    0
    I am having the same issues.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 10 2009, 10:02 AM - #Permalink
    0
    hello.

    this is an Apache configuration issue.

    You must have the variable "short_open_tag = On" on php.ini file

    you probably have it set to Off right now
    The reply is currently minimized Show
  • Accepted Answer

    Callum
    Callum
    Offline
    Friday, April 10 2009, 02:10 PM - #Permalink
    0
    With much help from germi I got the issue solved. You have to add the line:
    short_open_tag = On
    to the php.ini file that is in the Joomla install folder. If that doesn't solve it. Rename php.ini to php5.ini

    This worked perfectly for me.

    can't thank germi enough for the help!! I thought I was screwed!

    Callum
    The reply is currently minimized Show
Your Reply