error

mm972
mm972
Offline
0
hello i just bought the music component for joomla because i have a website were i want to put local artist online. but when i set up evrything i created the files and then went to the music component on joomla and i try to add a new album i get that 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; } } why cant i make a new album ... what did i do wrong ... please help its urgent ...

I also have an aother error

Fatal error: Class 'MusColHelper' not found in /home/mysite/www/administrator/components/com_muscol/views/albums/tmpl/default.php on line 89
Responses (19)
  • Accepted Answer

    Monday, August 17 2009, 08:48 AM - #Permalink
    0
    hello

    I cant see your Music Collection order. can you tell me your order number? I need it before I can help you on this

    thanks
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Monday, August 17 2009, 09:50 PM - #Permalink
    0
    hey u cant see it because i bought it with my real name and i didnt want my name to be all around the forum...so i made a new acount just for the forum.

    so can u help me ... :S
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Monday, August 17 2009, 10:25 PM - #Permalink
    0
    Music Collection order. can you tell me your order number

    how do i give that to u
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 18 2009, 08:32 AM - #Permalink
    0
    hello. I need the order number to be able to help you. if you give me the PayPal order number its ok, or if you want send me an e-mail to joomlamusicsolutions@gmail.com and tell me the name wich you use to purchase the component, or the email address... something I can use to check your order :)

    just tell me that and I'll help you instantly
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Tuesday, August 18 2009, 02:27 PM - #Permalink
    0
    send mail with my real name
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 18 2009, 04:54 PM - #Permalink
    0
    got it! :) now I can help you

    you have this problem because you have the PHP avariable SHORT OPEN TAGS set to OFF, and it needs to be setted to ON

    so all you have to do is active this php configuration variable (this is said on the installation instructions... you should read them!!!) ;)

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Wednesday, August 19 2009, 12:58 AM - #Permalink
    0
    can u go slowly please i dont understand what u say i'm a newbe too joomla

    were do i get that variable

    in the joomla website or in the files on the ftp ...
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 19 2009, 08:28 AM - #Permalink
    0
    hello

    this is a PHP variable (has nothing to do with Joomla)

    this variable can be setted to ON on php configuration file, called php.ini

    to check the value of that variable, you can go to

    help -> system info -> php settings

    (on joomla backend)

    and look at the value of "Short Open Tags"
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Wednesday, August 19 2009, 07:18 PM - #Permalink
    0
    ok after some scratching of head i got the
    (Short Open Tags) on my local server and changed it to on.. but i wonder how i'm gonna do that online since its a php.ini file and i dont have acces to that file..

    next thing in local (the only place i can test for now)

    i have alot of php errors in fontend and backend :

    Front end:

    http://localhost/test_sites/index.php/component/option,com_muscol/Itemid,56/id,1/view,song/

    Notice: Undefined offset: 0 in Notice: Undefined offset: 0 in D:\EasyPHP 3.0\www\test_sites\components\com_muscol\views\song\view.html.php on line 31

    Notice: Undefined variable: return in D:\EasyPHP 3.0\www\test_sites\components\com_muscol\helpers\helpers.php on line 96

    Sample artist test: Undefined property: stdClass::$subartist in D:\EasyPHP 3.0\www\test_sites\administrator\components\com_muscol\views\album\tmpl\form.php on line 61

    test: Undefined property: stdClass::$name in D:\EasyPHP 3.0\www\test_sites\administrator\components\com_muscol\views\album\tmpl\form.php on line 21 (0000)


    I cant even listen to the song

    http://localhost/test_sites/%3cbr%20/%3e%3cb%3enotice%3c/b%3e:%20%20undefined%20variable:%20file_link%20in%20%3cb%3ed:/easyphp%203.0/www/test_sites/components/com_muscol/views/song/tmpl/default.php%3c/b%3e%20on%20line%20%3cb%3e42%3c/b%3e%3cbr%20/%3e

    Backend:
    Notice: Undefined index: in D:\EasyPHP 3.0\www\test_sites\administrator\components\com_muscol\models\albums.php on line 164

    and many more
    i get errors evry were ...

    can u help
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 19 2009, 07:28 PM - #Permalink
    0
    dont worry

    first of all, usually you always have access to a php.ini file, even if the server is not yours. usually it is enough to place a php.ini file on the root of the file and the server reads it automaticly

    second: all this "errors" you get are not errors, but notices. the thing is that you have setted that all the notices warnings and errors show up (not recommended). taths also a php parameter, dont remember wich exactly.

    also, to start testing, turn Joomla SEF OFF, wich you have enabled.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 19 2009, 07:28 PM - #Permalink
    0
    and be sure to be running PHP 5 !!
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Thursday, August 20 2009, 04:31 AM - #Permalink
    0
    Almost there but i have some more probs

    when i go on the frontpage in the album i see this message just before the aphabet search

    No valid database connection Erreur de syntaxe pr�s de 'AND (display_group = '' OR format_id = '' OR format_id = '') ORDER BY yea' � la ligne 4 SQL=SELECT jos_muscol_albums.id FROM jos_muscol_albums LEFT JOIN jos_muscol_format ON jos_muscol_format.id = jos_muscol_albums.format_id WHERE artist_id = AND (display_group = '' OR format_id = '' OR format_id = '') ORDER BY year,month
    No valid database connection Erreur de syntaxe pr�s de 'AND (display_group = '' OR format_id = '' OR format_id = '') ORDER BY yea' � la ligne 4 SQL=SELECT jos_muscol_albums.id FROM jos_muscol_albums LEFT JOIN jos_muscol_format ON jos_muscol_format.id = jos_muscol_albums.format_id WHERE artist_id = AND (display_group = '' OR format_id = '' OR format_id = '') ORDER BY year,month


    and when i click on the player to hear the sound nothing happens ... i hear no sound it doesnt even play ..

    i have the music in the songs folder in a subfolder for each album

    what do i do wrong ...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 20 2009, 08:32 AM - #Permalink
    0
    look at the mysql query: the artist ID is empty

    where exactl are you getting this?

    to enter music collection, you should create an item menu pointing to "Music COllection -> Artists", and from them you can navigate through the collection
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Thursday, August 20 2009, 02:14 PM - #Permalink
    0
    http://localhost/test_sites/index.php/component/option,com_muscol/format,raw/id,7/view,file/

    this is what i am getting when i try to download the file
    or when the player is looking for it to play.

    so it doesnt play anything

    i created the artist, the album. i put the album in a subfolder in the song folder and that is in the root of the website


    ????

    why cant i hear the music ...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 20 2009, 02:18 PM - #Permalink
    0
    man, I can't enter your localhost :lol: you have to provide me a valid URL for me to check.

    to start, disable the SEF

    and second: you have created the albums, but the songs?

    also, look up your code and see what file is trying to reach the player.

    have you touched any parameter on the player? like "songs server" (this should be EMPTY)

    MC works out of the box, so probably if you have thinks not working is because you tryied to manipulate some parameters that you shouldnt
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Thursday, August 20 2009, 02:56 PM - #Permalink
    0
    Ok ok i'm back

    fixed the music.. seemed to have a probleme in the mp3 compression.. so now i hear it .. ( don't get mad over me ):laugh:

    i never touch the code, only if im told to do so and step by step as u explained so well..

    now i ask the place were i am supposed to put the website on line if the php.ini could be modified and they said no.. so how can i do to make it work as it does in local .. is there an other way to bypass the php.ini file

    next thing as u see i'm not english .. is there a language translation for french or if not what file do i have to modify to make it speak french ..

    thanks again for your patience ....
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 21 2009, 09:08 AM - #Permalink
    0
    we dont have French right now but it will be very easy for you to translate it

    all you have to do is download any of these pacakges http://www.joomlamusicsolutions.com/downloads/cat_view/39-languages.html?lang=en (english for examaple), open the file with a plain text editor and translate every sentence. then save the file on the language folder of your joomla installation, with the correct name (that means, with the correct prefix, wich will be fr-FR for french I think, inside the folder language/fr-FR/)

    I pretty sure you should have a way to edit the php.ini file of your public site. in mine, it works to just put a php.ini file on the root of the site, and the server reads it automaticly
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Friday, August 21 2009, 09:36 AM - #Permalink
    0
    was just finishing to translate when i got your message now my frontend and backend are in french ( better so )

    for the php.ini i'm gonna try as u said .. i'm gonna upload the php.ini i used in the local website online to see if the component works well ...

    i'll let u know ..
    The reply is currently minimized Show
  • Accepted Answer

    mm972
    mm972
    Offline
    Friday, August 21 2009, 10:08 AM - #Permalink
    0
    when i uploaded the php.ini file to the root of my website nothing happened i still get the notices so i checked the help and php section and i found that is was reading the php.ini from there..(/usr/local/lib/php5/php.ini) how can i make it read from the root of my website since the people dont want to give me acces to the php file
    The reply is currently minimized Show
Your Reply