jonas32 LiteCart Fan From Sweden Member since Nov 2018 jonas32 May 19 2021 01:56 PM Hey. I just installed paypal rest. When I click on it in modules, I get an error and this in logs [quote][19-May-2021 13:47:54 Europe/Stockholm] Fatal error: Unknown function name (text()) in ~/includes/functions/func_form.inc.php (Line 589) ← ~/includes/library/lib_functions.inc.php (Line 13) in call_user_func_array() ← ~/admin/modules.app/edit_module.inc.php (Line 108) in __callstatic() ← ~/admin/modules.app/edit_module.inc.php (Line 108) in form_draw_function() ← ~/admin/index.php (Line 137) in include() Request: GET /admin/?app=modules&doc=edit_payment&module_id=pm_paypal HTTP/1.1 Client: 2a02:920:1fe4:dae8:990c:a83e:d6ca:477 (2a02:920:1fe4:dae8:990c:a83e:d6ca:477) User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0[/quote]
jonas32 LiteCart Fan From Sweden Member since Nov 2018 jonas32 May 19 2021 02:05 PM There was no /includes/payment dir either v. 2.14
tim Founder From Sweden Member since May 2013 tim May 19 2021 03:20 PM You are using a module made for LiteCart 2.2.x in 2.1.4. Where do you get the instruction for finding a folder named /includes/payment?
jonas32 LiteCart Fan From Sweden Member since Nov 2018 jonas32 May 19 2021 03:35 PM I downloaded this Kompatibla versioner: 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6 The zip file contained those files includes/payment includes/modules/payment What file should I download ?
jonas32 LiteCart Fan From Sweden Member since Nov 2018 jonas32 May 19 2021 03:41 PM Paypal REST 2.1.zip Contained those files includes/payment includes/modules/payment and gave those errors I copied the one in includes/payment to includes/modules/payment and it worked
tim Founder From Sweden Member since May 2013 tim May 19 2021 05:34 PM I see the first package for 2.0-2.1 has been wrapped up with an accidental folder includes/payment/ that should have been includes/modules/payment/. I will fix that, thank you.