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
nusphere "strict standards"
Moderator: General Moderators
Re: nusphere "strict standards"
Fix the problems?
What is PHP complaining about?
What is PHP complaining about?
Re: nusphere "strict standards"
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
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"
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.
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_ALLRe: nusphere "strict standards"
Thanks for help.
I changed php.ini as you suggested but it didnt help.
I changed php.ini as you suggested but it didnt help.
Re: nusphere "strict standards"
You did restart the server, right?
It could be that something, somewhere is calling
Try getting rid of those.
It could be that something, somewhere is calling
Code: Select all
error_reporting(E_ALL | E_STRICT)- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: nusphere "strict standards"
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.