Search found 6 matches

by nidheeshchandran
Fri Nov 12, 2010 5:40 am
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Re: Warning: Invalid error type specified - showing in outpu

:D actually what i need is remove that warning from output .. and i waste my time .. i deleted that line trigger_error('Please use the locale view helper: $view->locale()->toDateTime()', E_WARNING); and now everything fine .. :D thats all i need .. thanks .. actually can u tell for what this trigger...
by nidheeshchandran
Thu Nov 11, 2010 5:32 pm
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Re: Warning: Invalid error type specified - showing in outpu

trigger_error('Please use the locale view helper: $view->locale()->toDateTime()', E_WARNING); now am using this .. but still it show one warning "Warning: Invalid error type specified" i want to hide this warning .. what can i do .. sorry for the double post i forget to post the script
by nidheeshchandran
Thu Nov 11, 2010 5:30 pm
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Re: Warning: Invalid error type specified - showing in outpu

i had used another error type E_WARNING

so now first error msg gone .. .but the 2nd invalid error type still shows .. i just want to hide this msg .. page load perfectly and everything fine .. i dont knw for what this error msg and why is it showing ?

can u pls tell more details .. thanks ...
by nidheeshchandran
Thu Nov 11, 2010 3:17 pm
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Re: Warning: Invalid error type specified - showing in outpu

thanks .. but i dint understood do u mean this one trigger_error('Please use the locale view helper: $view->locale()->toDateTime()', E_USER_DEPRECATED); but in that way am getting 2 errors. Notice: Use of undefined constant E_USER_DEPRECATED - assumed 'E_USER_DEPRECATED' Warning: Invalid error type ...
by nidheeshchandran
Thu Nov 11, 2010 8:34 am
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Re: Warning: Invalid error type specified - showing in outpu

am a newbie :( .. can u pls tell what changes shd i do in that code ? :roll:
by nidheeshchandran
Thu Nov 11, 2010 3:18 am
Forum: PHP - Code
Topic: Warning: Invalid error type specified - showing in output
Replies: 10
Views: 5219

Warning: Invalid error type specified - showing in output

am getting this warning "Warning: Invalid error type specified " for this php line

Code: Select all

trigger_error('Please use the locale view helper: $view->locale()->toDateTime()', 'E_USER_DEPRECATED');
pls help .. thanks.