1 (edited by egeller 11/13/2017 11:52:29 am)

Topic: Simple API error

Hi,

I've tried using the https://frontaccounting.com/fawiki/index.php?n=Devel.SimpleAPIModule wiki guide by AP Muthu and also from this blog, http://www.kvcodes.com/2014/08/frontaccounting-simpleapi-module-guide/ by kvcodes.

I keep getting an error Call to undefined function get_text_init() in session-custom.inc on line 263.

I'm new to frontaccounting and php, so am having trouble figuring out what the problem is.

Regards
Erich

Re: Simple API error

That code and info is for a dated version of FA 2.3.x and needs to be modified for FA 2.4.x. That file was available for fallback purposes in FA 2.3 and stands renamed as

includes/lang/gettext.inc

(the earlier php extension was changed) in FA 2.4. You can alter the include file in the extension to refer to it accordingly. The said file is included in

includes/lang/language.inc

(also so renamed from FA 2.3).