Code displaying on page

Manqoba
Manqoba
Offline
0
Hi,

I'm new to music collection and having some trouble setting up. I've added a default artist page and a search page, however, I am getting a bunch of code displaying on my pages.

For example, this is just some of the code being displayed.
On the artist page:

params->get('showpdficon')){ ?>
"PDF"); $link_pdf = JRoute::_('index.php?option=com_muscol&view=artists&format=ownpdf&letter=' . $this->letter); $pdf_icon = JHTML::image('components/com_muscol/assets/images/page_white_acrobat.png',"PDF", array("title" => "PDF")); ?>
letter == "") { echo $this->introtext; ?> params->get('showalbumsearch')){ ?>


On the search page:

song->id); ?>
song->real_artist_id != $this->song->artist_id){ echo $this->song->real_artist_name; }else{ echo $this->song->artist_name . ' '. $this->song->subartist; }?>


I've read elswhere about a setting in the php.ini file, short_open_tags must be set to ON.

Is this related to the same thing or else can you advise on where I've gone wrong?
Responses (7)
  • Accepted Answer

    Thursday, August 02 2012, 10:18 AM - #Permalink
    0
    hello!

    you need to disable the short_open_tags PHP parameter (on php.ini config file)
    have you read the installation instructions?
    The reply is currently minimized Show
  • Accepted Answer

    Manqoba
    Manqoba
    Offline
    Friday, August 03 2012, 11:36 AM - #Permalink
    0
    Thanks, my service provider hadn't enabled some settings for me, all working now.
    The reply is currently minimized Show
  • Accepted Answer

    Manqoba
    Manqoba
    Offline
    Monday, September 10 2012, 11:22 AM - #Permalink
    0
    I don't have authority to change the short tags setting as my site is hosted by another provider. I've requested this be changed, however, they say they can't do this due to security reasons.

    Can I get around this another way or am I stuffed if they don't do it for me?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 10 2012, 12:01 PM - #Permalink
    0
    well... do you have Dreamweaver or a similar program?
    there's one thing you can do, which is to replace all this:

    n multiple files at a time. do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Manqoba
    Manqoba
    Offline
    Monday, September 10 2012, 12:54 PM - #Permalink
    0
    I don't but I can get something similar.

    Sorry I'm not too familiar with PHP, if you could please explain?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 11 2012, 12:38 PM - #Permalink
    0
    you have to search for this:
    [? 
    and replace it for
    [?php 


    IMPORTANT: I cannot post code in here. please contact us directly at joomlamusicsolutions@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    Manqoba
    Manqoba
    Offline
    Tuesday, September 11 2012, 02:42 PM - #Permalink
    0
    Fantastic it works, thanks for your help germi!
    The reply is currently minimized Show
Your Reply