Welcome Guest, Not a member yet? Register   Sign In
Use library without namespace
#1

Hi , i want use this php library :

https://github.com/s2software/fatturapa

if i add namespace to FatturaPa.php (renamed ) i have this error :
Class 'App\ThirdParty\Fatturapa\DOMDocument' not found
this is the error row :
471        $doc = new DOMDocument();
if i load with require_once: require_once (APPPATH.'/ThirdParty/Fatturapa/FatturaPA.php');
folder three:
https://imgur.com/KLiuofM.png
i have thi error :
Class 'App\Controllers\FatturaPA' not found

how can i use the library ?
471         $doc = new DO
471        $doc = new DOMDocument();MDocument();
Class 'App\ThirdParty\Fatturapa\DOMDocument' not found Class 'App\ThirdParty\Fatturapa\DOMDocument' not found 
Reply


Messages In This Thread
Use library without namespace - by pippuccio76 - 01-31-2022, 01:44 PM
RE: Use library without namespace - by kenjis - 01-31-2022, 05:04 PM
RE: Use library without namespace - by iRedds - 01-31-2022, 05:12 PM
RE: Use library without namespace - by kenjis - 02-01-2022, 01:08 AM
RE: Use library without namespace - by iRedds - 02-06-2022, 04:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB