0
Hello Germi,

I was trying to transfer my website from one local host to another. Everything seemed to work fine except some parts of MC.

The errors happened both in back and frontend.
From the backend, everything looks ok except Albums and Ratings tabs.
(Notice: Undefined index: in C:\\wamp\\www\\kinetibeb\\administrator\\components\\com_muscol\\models\\albums.php on line 165) By the way, just wanna let you know there is no "ablbums.php" file in models folder… instead, there is "album.php".

The frontend seems to be unable to retrieve albums, but the css seems to work fine.
(Notice: Undefined variable: return in C:\\wamp\\www\\kinetibeb\\components\\com_muscol\\helpers\\helpers.php on line 141)

I tired the following fixes, but they didn't work:
I turned on the the short_open_tag PHP variable from the php.ini files.
I also tried reinstalling MC2.0, and that didn't change anything.

I am going to attach links to images of the error-pages.
Frontend
Backend: Albums tab
Backend: Ratings tab

Please help!
Hope to hear from you and thanks in advance.

Best regards
Responses (8)
  • Accepted Answer

    Tuesday, October 18 2011, 03:04 PM - #Permalink
    0
    hello

    1) there IS albums model, but on the administrator, not the frontend (check the path of the file: you mistake frontend for backend ;)

    the NOTICES you get are just notices, nothing to worry about. you just need to decrease the error reporting level on your joomla configuration, or on the php.ini file, that's all!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 03:28 PM - #Permalink
    0
    Thanks a a lot for the prompt response germi.

    I changed the error reporting to "None" on my joomla configuration but I still get the same error. I didn't change the php.ini, coz i'm not sure what I should put...
    Here is what is in the php.ini. Which one should I change?
    ; display_errors
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off

    ; display_startup_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: Off

    ; error_reporting
    ; Default Value: E_ALL & ~E_NOTICE
    ; Development Value: E_ALL | E_STRICT
    ; Production Value: E_ALL & ~E_DEPRECATED

    ; html_errors
    ; Default Value: On
    ; Development Value: On
    ; Production value: Off

    ; log_errors
    ; Default Value: Off
    ; Development Value: On
    ; Production Value: On

    Thanks again! MC is the best!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 03:30 PM - #Permalink
    0
    put this:

    error_reporting = E_ALL


    you may need to restart your Apache server
    please let me know how it goes! :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 03:40 PM - #Permalink
    0
    germi, you rock my friend! ;)

    It works now, but I still get this -> (Notice: Undefined variable: return in C:\\wamp\\www\\kinetibeb\\components\\com_muscol\\helpers\\helpers.php on line 141) on top of the module. What do you think?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 03:44 PM - #Permalink
    0
    hmmmmmm
    very weird, you should not be receiving this notices when all notices have been turned down. may it be a CACHE thing?

    can you clean the cache on your joomla site? (backend -> clean cache)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 04:33 PM - #Permalink
    0
    I cleaned cache, but I still get that same message on top. Any more ideas?

    Thanks again for the support germi!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 04:35 PM - #Permalink
    0
    damn... I feel so stupid :lol:

    when I told you to put

    error_reporting = E_ALL

    that's wrong. you actually need this:

    error_reporting = E_ERROR

    can you cahnge it? sorry for the trouble...!! :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2011, 04:55 PM - #Permalink
    0
    GREAT! You are the man! That did it. :)


    One more question:
    I have a similar issues to one of the these posts -> http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/mod-muscol-featured-albums-problem-4.html#12761 or http://www.joomlamusicsolutions.com/en/forum/general/guys-pls-help-on-my-random-albums-module.html

    Both thread's didn't confirm a fix. I tried the suggestions you made there, but I still can view random albums. All I get is just the title on top without the carousel. Any suggestion?

    We can discus it in the other thread so people can refer to it in the future. I will go ahead and post it there.

    Thanks again!
    The reply is currently minimized Show
Your Reply