Page 1 of 1

Call to undefined function ew_UserAgent()

Posted: Thu Oct 17, 2013 4:18 am
by wungaz

Getting the error - Fatal error: Call to undefined function ew_UserAgent() for my existing files when i generate the new files with existing one after upgrade to 10.0.2


Re: wungaz

Posted: Thu Oct 17, 2013 5:57 am
by wungaz

I have added custom code on some of the scripts

I have copied the ew_UserAgent() function from the old version and added to the userfn.php

Working Now

Hope there could be an easier method


Re: Call to undefined function ew_UserAgent()

Posted: Thu Oct 17, 2013 12:04 pm
by Ethelseg

wungaz wrote:
Getting the error - Fatal error: Call to undefined function
ew_UserAgent() for my existing files when i generate the new files with
existing one after upgrade to 10.0.2

I also encounter this error.


Re: Call to undefined function ew_UserAgent()

Posted: Thu Oct 17, 2013 12:15 pm
by Webmaster

ew_UserAgent() is not used anymore and hence removed. Just re-generate all scripts. If you have customized the template or generate scripts, customize accordingly to remove code calling the function.


Re: Call to undefined function ew_UserAgent()

Posted: Thu Oct 17, 2013 12:52 pm
by wungaz

Thanks - I think it would be very helpful if you can list the functions that have been removed when you bring a new update - struggled until i figured it out