Menu

Type: 2048, Message

Help
2006-05-09
2013-03-07
  • Armando Alorro

    Armando Alorro - 2006-05-09

    I have BE 0.4.8 running for over three years on the same hosting company and until last night everything was fine. This morning I got this error massages on top of the pages:

    1) Type: 2048, Message: var: Deprecated. Please use the public/private/protected modifiers
        File: /home/filam/public_html/backend/includes/template.inc, Line: 40, Context: Array

    2) Type: 2048, Message: var: Deprecated. Please use the public/private/protected modifiers
        File: /home/filam/public_html/backend/includes/template.inc, Line: 43, Context: Array

    3) Type: 2048, Message: var: Deprecated. Please use the public/private/protected modifiers
        File: /home/filam/public_html/backend/includes/template.inc, Line: 46, Context: Array

    4) Type: 2048, Message: var: Deprecated. Please use the public/private/protected modifiers
        File: /home/filam/public_html/backend/includes/template.inc, Line: 49, Context: Array.........

    The articles appear at the bottom of the pages nonetheless but the error messages are annoying to say the least.

    I am not aware of any changes made by the hosting company. Is there a fix for this?

    Thanks.

     
    • Mike Gifford

      Mike Gifford - 2006-05-09

      Turn of your php warnings..

      You should be able to do this by making sure that this line in the config.php is uncommented:

      ini_set('error_reporting', E_ALL~E_NOTICE~E_WARNING);  

      Mike

       
    • Armando Alorro

      Armando Alorro - 2006-05-09

      Thanks for the quick response. However, I can't find any config.ini file. I saw settings.ini and tried making a few changes, and it didn't work.

       
      • Mike Gifford

        Mike Gifford - 2006-05-09

        You can actually just toss that line of code into the index.php page too if that's what's giving you the problem.  It just needs to be set early..

        Mike

         
    • Armando Alorro

      Armando Alorro - 2006-05-10

      I don't know exactly where to put the code in the index.php file. However, there is a biot of information I got from the web hosting company. They upgraded their server from PHP 4 to PHP 5. How does BE 0.4.8 work with PHP5? Do I need to upgrade BE too?

      Thanks for your help.

       
      • Mike Gifford

        Mike Gifford - 2006-05-10

        It should work, but may be version specific things..

        We can't offer free support for this product as we are no longer actively developing it..

        Mike

         
    • Armando Alorro

      Armando Alorro - 2006-05-11

      Hi, Mike. Just one last request of info. How do I get rid of the error message? There is no config.php file and I don't knoe where to put the line of code in the index.php.

      Thanks so much.

       
      • Mike Gifford

        Mike Gifford - 2006-05-11

        Just put it in after the first <?php

        Probably the 2nd line of code would be good..

        Mike

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.