News:

Support the VirtueMart project and become a member

Main Menu

Strict Standards in backend

Started by agps, December 17, 2013, 21:24:33 PM

Previous topic - Next topic

agps

Hi,

In VM backend there are a lot of Strict Standards notifications. I have set Error Reporting = System Default (or None) but the Strict Standards are still appear. In frontend everything is fine. The php error_reporting is 30711

Strict Standards: Non-static method SimplePie_Misc::fix_protocol() should not be called statically, assuming $this from incompatible context in /home/XXX/public_html/libraries/simplepie/simplepie.php on line 833

Joomla 2.5.16 & VM 2.0.26

jenkinhill

PHP5.4? For some servers you need to add a php.in in the Joomla administrator directory to turn off standard reports.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

agps

#2
Yes php 5.4.21

I have added a php.ini in administrator folder with the following line but nothing changed.

error_reporting = off

In my php editor I have error_reporting E_ALL | E_DEPRECATED | E_STRICT

jenkinhill

Use this

log_errors = off
display_errors = off
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

agps

I did it but nothing changed.

In System Information > PHP Settings and PHP Information the values of display_errors and log_errors are Off.

balai

Try doing the same into an .htaccess file

agps


Milbo

It is btw an warning by joolma, we cannot change it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

agps

It is strange because in the same server I have another one installation (same versions) and everything works fine.

balai

Then contact your hosting company. They will be able to disable the warnings for sure

GJC Web Design

I know this is old but this may help

in both the index.php in the Joomla root and administrator add at the top

error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

Use it on all my installs
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation