Author Topic: Strict Standards in backend  (Read 4339 times)

agps

  • Beginner
  • *
  • Posts: 49
    • Κατασκευή ιστοσελίδων
Strict Standards in backend
« on: December 17, 2013, 21:24:33 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27467
  • Always on vacation
    • Jenkin Hill Internet
Re: Strict Standards in backend
« Reply #1 on: December 17, 2013, 23:32:31 pm »
PHP5.4? For some servers you need to add a php.in in the Joomla administrator directory to turn off standard reports.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

agps

  • Beginner
  • *
  • Posts: 49
    • Κατασκευή ιστοσελίδων
Re: Strict Standards in backend
« Reply #2 on: December 17, 2013, 23:41:50 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27467
  • Always on vacation
    • Jenkin Hill Internet
Re: Strict Standards in backend
« Reply #3 on: December 18, 2013, 09:11:47 am »
Use this

log_errors = off
display_errors = off
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

agps

  • Beginner
  • *
  • Posts: 49
    • Κατασκευή ιστοσελίδων
Re: Strict Standards in backend
« Reply #4 on: December 18, 2013, 09:46:49 am »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1372
Re: Strict Standards in backend
« Reply #5 on: December 18, 2013, 10:43:42 am »
Try doing the same into an .htaccess file

agps

  • Beginner
  • *
  • Posts: 49
    • Κατασκευή ιστοσελίδων
Re: Strict Standards in backend
« Reply #6 on: December 19, 2013, 11:35:31 am »
Βoth solutions did not work.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Strict Standards in backend
« Reply #7 on: December 19, 2013, 11:38:29 am »
It is btw an warning by joolma, we cannot change it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

agps

  • Beginner
  • *
  • Posts: 49
    • Κατασκευή ιστοσελίδων
Re: Strict Standards in backend
« Reply #8 on: December 19, 2013, 11:40:58 am »
It is strange because in the same server I have another one installation (same versions) and everything works fine.

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1372
Re: Strict Standards in backend
« Reply #9 on: December 19, 2013, 12:03:51 pm »
Then contact your hosting company. They will be able to disable the warnings for sure

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8893
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Strict Standards in backend
« Reply #10 on: July 11, 2014, 11:07:22 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation