Load tcpdf - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Load tcpdf (/showthread.php?tid=79873) |
Load tcpdf - pippuccio76 - 08-06-2021 hi, sorry for english , in my localhost i install tcpdf with composer , in controller i use : use TCPDF; and everything work Online server: -i insert the tecnickcom folder in vendor folder -update composer.json but i have this error : class TCPDF not found Wat's wrong ? RE: Load tcpdf - captain-sensible - 08-06-2021 maybe try : Code: composer dump-autoload RE: Load tcpdf - captain-sensible - 08-07-2021 did it work " another approach is to define in autoload.php thats what i did with PHPMailer ; which has a names ; if no namespace you can use Classmap section of Autoload.php located : yourApp/app/Config/Autoload.php RE: Load tcpdf - pippuccio76 - 08-20-2021 (08-06-2021, 11:37 AM)captain-sensible Wrote: maybe try :How can do this command online ? try to update on local and copy the folder composer online but i have : Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". Wats the correct way to update library ? |