Using Solarium PHP Solr client with Codeigniter - 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: Using Solarium PHP Solr client with Codeigniter (/showthread.php?tid=77575) |
Using Solarium PHP Solr client with Codeigniter - myo - 09-19-2020 Hi, I was trying to use Solarium PHP Solr client with Codeigniter 4 but having issues. I used composer to download all dependencies at my desktop & then copied whole folder in app/ThirdParty. Then added following line in config/Autoload: PHP Code: 'Solarium' => APPPATH . 'ThirdParty/Solarium/vendor/autoload.php', Then I created app/Config/Solarium_config.php and added following: PHP Code: <?php namespace Config; Then I added following in Home Controller: PHP Code: <?php But what i get following error message, which means I am making mistakes, kindly help Code: ERROR Class 'App\Controllers\Client' not found Note: I have attached all files and solarium folder for your review. Regards |