If you are getting errors similar to:
Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xxxx/public_html/xxxx/xxx.php
You can hide them by creating a php.ini either on the www root or specifically to the directory where the error occurs and placing the code as follows:
error_reporting = E_ALL | ~E_NOTICE
log_errors = On
error_log = "error.log"
display_errors = off
This basically redirects the errors to an "error.log" file. You might want to clear this out every now and then or just turn off log_errors to completely remove error logging.
- 185 Users Found This Useful
Related Articles
What database settings do I use for scripts?
Server Hostname: localhost Database Username: <your username>_<database name> e.g....
Do you support Silverstripe Hosting?
Yes, we run Linux servers designed to run the New Zealand developed Silverstripe application. If...
Fix permissions of all directories and files
To change all the directories to 755 (-rwxr-xr-x): find /home/xxx/public_html -type d -exec...
How to create a MySQL database
To create a new MySQL database, you can use a the MySQL Database Wizard from cPanel. In...
How do I install Silverstripe?
MyHost shared and reseller servers support Silverstripe Hosting. We've now made it easier to...