Page 1 of 1
nusphere "strict standards"
Posted: Tue Apr 14, 2009 12:29 pm
by szita1
hi
I started using NuSphere but when the code runs, I keep getting messages "Strict Standards: blabla...".
What should I set to get rid of the messages?
Thanks
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 1:13 pm
by requinix
Fix the problems?
What is PHP complaining about?
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 1:30 pm
by szita1
like these(and 50 more lines):
Strict Standards: Assigning the return value of new by reference is deprecated in D:\wamp\www\npa_szemle\phpfn6.php on line 1466
Strict Standards: Implicit cloning object of class 'cAdvancedSearch' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\npa_szemle\phpfn6.php on line 486
Strict Standards: Implicit cloning object of class 'cField' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\npa_szemle\Szerzo2DCikkinfo.php on line 34
Strict Standards: Implicit cloning object of class 'cAdvancedSearch' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\npa_szemle\phpfn6.php on line 486
Strict Standards: Implicit cloning object of class 'cField' because of 'zend.ze1_compatibility_mode' in D:\wamp\www\npa_szemle\Szerzo2DCikkinfo.php on line 36
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 2:00 pm
by requinix
Since it's probably nuSphere's fault you're stuck with disabling those kinds of error messages.
Open up your php.ini, find the error_reporting directive, and set it to exclude E_STRICT.
Code: Select all
# was error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 2:35 pm
by szita1
Thanks for help.
I changed php.ini as you suggested but it didnt help.
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 3:15 pm
by requinix
You did restart the server, right?
It could be that something, somewhere is calling
Try getting rid of those.
Re: nusphere "strict standards"
Posted: Tue Apr 14, 2009 3:26 pm
by greyhoundcode
Remember that PhpEd has its own micro-server - although by the looks of it the project files are saved under wamp/www it is possible (if you haven't started Wamp up, or depending on how you configured PhpEd) that the micro-server's php.ini also needs to be updated in line with tasairas's post.