Hi,

I am getting this notice on my Mambo Installation:-

Notice: Only variables should be assigned by reference in c:\inetpub\wwwroot\mambo\includes\domit\xml_domit_lite_parser.php on line 1670

Again and again. Can anyone suggest me whats the problem in it..

I am using PHP 4.4 version on my Win XP machine. some body suggest me that it is due to php.ini configuration .. Please suggest the corrective solution

thanks

    SumitGupta wrote:

    Hi,

    I am getting this notice on my Mambo Installation:-

    Notice: Only variables should be assigned by reference in c:\inetpub\wwwroot\mambo\includes\domit\xml_domit_lite_parser.php on line 1670

    Again and again. Can anyone suggest me whats the problem in it..

    I am using PHP 4.4 version on my Win XP machine. some body suggest me that it is due to php.ini configuration .. Please suggest the corrective solution

    thanks

    These are notices about poor coding in the application which you are trying to run.

    PHP.ini configuration can control whether or not you see these notices. PHP.ini cannot correct the poor application which is causing these notices in the first place.

    Which do you want to change. Do you want to fix or ignore the coding problems?

      Hi,

      I agree with you that these are sign of Poor coding... But I am taking about Mambo. And My guess is that its the best CMS software around in PHP and I cannot think that they actually has bad code in there script.

      Anyway... Is it really only of Bad coding or there is something to do with the configuration that can cause these notices..

      Thanks

        The value of error_reporting in php.ini decides what level of error/warning repoting you want to enable. I would normally recommend that this is set to "E_ALL" for a development server and 0 for a production server. Developers should see anything that might be wrong with their code, people "out there" on the web should be denied access to this information as it would be a great help to "hackers".

        So, search your php.ini for the error_reporting setting and change the line to

        // Turn off all error reporting
        error_reporting(0);
        

        and watch all your warning (and error info) disappear.

          Hi,

          Thanks for the information... ;o)

          I am using the error_reporting set to E_ALL as you recommended the same for developers..

          Thanks for your guidance

            3 months later
            Write a Reply...