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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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.
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
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.
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
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.
Just put it in after the first <?php
Probably the 2nd line of code would be good..
Mike