NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Strict Standards


Joined: 14 Apr 2009
Posts: 1
Reply with quote
hi
I started using NuSphere but when the php code runs, I keep getting messages like these:

Strict Standards: Assigning the return value of new by reference is deprecated in D:\wamp\www\phpfn6.php on line 1466
Strict Standards: Implicit cloning object of class 'cAdvancedSearch' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\phpfn6.php on line 486
Strict Standards: Implicit cloning object of class 'cField' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\Szerzo2DCikkinfo.php on line 34
Strict Standards: Implicit cloning object of class 'cAdvancedSearch' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\phpfn6.php on line 486

I already changed php.ini: error_reporting = E_ALL but it didnt help.

What should I set to get rid of the messages?
Thanks
View user's profileFind all posts by szita1Send private message
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
You changed error_reporting to E_ALL and are still receiving errors? I wonder why?... Could it be that E_ALL means displays all errors? hmmmm

Instead of worrying about turning errors off, you oughta fix your code instead.
View user's profileFind all posts by simshaunSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
Or just set display_errors to Off, then you can still see warnings and errors in your log (if you have that on)
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
E_STRICT is not a part of E_ALL, therefore error_reporting=E_ALL should not report E_STRICT errors and it will not report them.
I'd recommend you to check if you modified php.ini in the path that is used by php (consult with phpinfo), and if the changes are in effect (consult with phpinfo). Either you edited wrong php.ini or forgot to restart web Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Strict Standards
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic