error reporting and notices

Eve
Eve
Offline
0
Greetings Germi!

I'm shocked that the notices reappeared all over my site again...

I turned on error reporting the other day from my backend, and was trying to troubleshoot some other problems..

I also installed an anti conflict plugin for mootools and javascript.

I've been working with a few other developers trying to get the other components on the site to work.


I'm not sure when it happened but error reporting must have been turned on.. however, when I check the system information it says that my error reporting is set at 6135... which I think is E_ALL withouth E_Notice.

Anyway, I went back to the previous router.php thread and checked on the error reporting in my components/com_muscol/router.php and the settings are the same.


So now I'm not sure.. do you still have the ftp info from before for the internationalkirtan.com site?
Responses (22)
  • Accepted Answer

    Eve
    Eve
    Offline
    Monday, November 14 2011, 02:15 PM - #Permalink
    0
    I probably need to change something in my php.ini file or the .htaccess again. I'm thinking that these settings were somehow tampered with and they were just fine before. I tried looking back to our previous conversation, and I had added the code to the router.php file from before, but now I'm getting notices from other parts of the site.
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 01:32 PM - #Permalink
    0
    I contacted my web host to see if there was anything they could do and they have changed the error reporting in the php.ini files and the .htaccess.

    So now I still get all of these notices. I'm thinking to uninstall and reinstall everything all over again.

    Unless you have a fix other than turning off error reporting...

    It seems like someone went into my backend and tweaked something, and i hope that it's somehow reversible. However, I'm unsure if I have a backup before all of this happened.

    One page I get these errors:

    Notice: Undefined variable: where_clause in /home/flower22/public_html/internationalkirtan.com/modules/mod_muscol_featured_albums/helper.php on line 51

    Notice: Undefined index: in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/models/album.php on line 90

    Notice: Undefined index: in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/models/album.php on line 90

    Notice: Undefined index: in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/models/album.php on line 90

    Notice: Undefined index: in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/models/album.php on line 90


    On the main component page I get these errors:

    Notice: Undefined index: in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artists/view.html.php on line 90

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 226


    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 440

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 581

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 475

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 490

    Notice: Undefined variable: where in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 625

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 455

    Notice: Undefined variable: return in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/helpers/helpers.php on line 581
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 16 2011, 01:36 PM - #Permalink
    0
    hmmm

    can you try taht little hack (putting the error_reporting() thing)

    on the /components/com_muscol/helpers/helpers.php file?
    (besides router.php)

    that will get ride of many of the errors.
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 05:40 PM - #Permalink
    0
    Yes, that worked in all of the files. Great, now I know how to fix it.

    However, now I have a new problem, where I have a create new artist link in my main menu, and it goes to index.php?option=com_muscol&view=artist&layout=form&Itemid=433&lang=en

    it shows a blank page. I don't know if it's because of all of the error reporting stuff that it's doing this or what.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 16 2011, 05:42 PM - #Permalink
    0
    :S well an error is definitely showing in this page but now we can't see it because we disabled errors.. can you enable errors for a moment and see what Error (real ERROR, not notice) shows up?
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 05:58 PM - #Permalink
    0
    Okay, I enabled error reporting in the global config.
    Here's what the site says now
    Parse error: syntax error, unexpected T_VARIABLE, expecting ';' or '{' in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 18

    I accidentally put some error reporting links in here, even though there were no errors, and I think I messed up the syntax. I think I need to get the original view.html.php file from you again and upload that.. unless you know what the error is all about!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 16 2011, 06:00 PM - #Permalink
    0
    yes it looks like you messed up some extra { } or something ;)

    you can get this file on your package. unzip it and find:

    /site/views/artist/view.html.php
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 06:09 PM - #Permalink
    0
    Thanks Germi!! The site is back up and running and looks great.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 16 2011, 06:10 PM - #Permalink
    0
    great news :)
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 06:13 PM - #Permalink
    0
    aah, I spoke too soon. Such is life. I'm going to try to do the error reporting hack on all of these errors too... hopefully there is no problem now with the database or anything.

    Notice: Undefined property: stdClass::$related in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 86

    Notice: Undefined property: stdClass::$metakeywords in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 98

    Notice: Undefined property: stdClass::$metadescription in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 106

    Notice: Undefined property: stdClass::$artist_name in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 115

    Notice: Undefined property: stdClass::$picture in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/views/artist/view.html.php on line 116
    The reply is currently minimized Show
  • Accepted Answer

    Eve
    Eve
    Offline
    Wednesday, November 16 2011, 06:19 PM - #Permalink
    0
    Okay, I disabled error reporting on all of those lines and now it's completely great. really.
    Thanks again Germi, your troubleshooting skills make everything look so easy!!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 12:53 PM - #Permalink
    0
    i downloaded the component today and im trying it out now but all i get is a blank page with the following message! Does this thing really work???

    Parse error: parse error in C:\\wamp\\www\\Maxed Mag\\components\\com_muscol\\views\\artists\\tmpl\\default.php on line 87
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 01:42 PM - #Permalink
    0
    Oh! and in the admin section i keep getting these::

    Notice: Undefined variable: artists in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 107

    Notice: Undefined variable: songs in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 108

    Notice: Undefined variable: formats in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 109

    Notice: Undefined variable: genres in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 110

    Notice: Undefined variable: types in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 111

    Notice: Undefined variable: tags in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 112

    Notice: Undefined variable: comments in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 113

    Notice: Undefined variable: ratings in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 114

    Notice: Undefined variable: playlists in C:\\wamp\\www\\Maxed Mag\\administrator\\components\\com_muscol\\muscol.php on line 115

    What hte hell :angry:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 02:18 PM - #Permalink
    0
    hellO!

    don't worry about these notices: you just need to disable, or decrease error reporting level

    go to your joomla configuration and check what the error is set to, and set it to the minimum. if you still get these notices let me know

    again, these are not errors, just notices! :)

    please let me know!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 03:31 PM - #Permalink
    0
    Also the front page of the music collection components does not look right, see attachment.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 03:43 PM - #Permalink
    0
    And this is what i am getting on the admin
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2011, 04:54 PM - #Permalink
    0
    hello!

    I can't see your attachments.. :S were they uploaded correctly?
    if you want, you can send them to me at joomlamusicsolutions@gmail.com

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 22 2011, 12:20 PM - #Permalink
    0
    Hey i meant the page looks nothing like the demo, it just shows a whole lot of code!
    Both in the front and back end
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 22 2011, 12:37 PM - #Permalink
    0
    hello!

    yes I received your email :) as you can see in my answer the problem is very simple!!!! it's just that you have the php variable short_open_tags set to OFF and it must be set to ON!
    that's all!

    after that, you'll be able to configure the homepage following this:
    http://www.joomlamusicsolutions.com/en/support/how-to-customize-the-homepage.html
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 22 2011, 01:03 PM - #Permalink
    0
    Thanx! Sorry but im not that savvy with this technical stuff!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 21 2012, 06:00 PM - #Permalink
    0
    to solve the issue of php errors, some code changes might be an option...

    http://choosetheforce.blogspot.com/2008/05/should-you-close-that-php-tag.html
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 21 2012, 06:36 PM - #Permalink
    0
    hello!

    just FYI, we are making all notices disapear on next update :) (even if error reporting is on)
    The reply is currently minimized Show
Your Reply