-
AuthorPosts
-
December 3, 2015 at 11:01 am #760252
Dear all,
I hope you will be able to help me, I spent times to investigate but unfortunately I wasn’t able to solve the problem.
Once I have installed the site following your guidelines, I got several errors on the front site and in back office (admistrator area)
Below the list of error I have in top of my webpage:
**Strict Standards: Non-static method JError::setErrorHandling() should not be called statically in /web/includes/framework.php on line 18
Strict Standards: Non-static method JError::setErrorHandling() should not be called statically in /web/includes/framework.php on line 19
Strict Standards: Non-static method JError::setErrorHandling() should not be called statically in /web/includes/framework.php on line 20**_As I am hosted on a shared hosting server, I cannot change php.ini settings.
The PHP version is PHP Version 5.4.39
Perl 5.014002
MySql 5.5
Apache 2.2.xI have tried to comment the following lines in files framework.php but nothing works on my website.
// Set system error handling
JError::setErrorHandling(E_NOTICE, ‘message’);
JError::setErrorHandling(E_WARNING, ‘message’);
JError::setErrorHandling(E_ERROR, ‘message’, array(‘JError’, ‘customErrorPage’));We cannot navigate into the backoffice the administration panel is only accessible from the main page.
Thank you in advance for your help.
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 4, 2015 at 4:16 am #760511Hi fkeszi,
These are warnings message only ( due to the different php version, etc, …) and actually, they will not affect function on your site.
You can get rid of these messages by going to Back-end of your site > navigate to Sites > Global Configuration > Server tab and set option ‘Error Reporting’ to "None".
Cheers!!!
December 5, 2015 at 11:15 am #760799Hi Saguaros,
Cannot access to the Global Configuration, I have the same errror messages and I have no way to access to any other page of the admin panel than the main one.
That’s why I have tried to disable the error notification as you told me… but nothing works…
I reinstall 3 times… If somebody can help me. Thank you
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 7, 2015 at 2:34 am #761259Try to change via ‘configuration.php’ file in root folder of your site. Look for this line:
public $error_reporting = 'none';and change to "none" as above.
If there is still no go, you can try to install a Joomla package and check whether there is something wrong with your server or not.
Hope this helps.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum