Uploaded my Codeigniter Project In Server, Throwing Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Uploaded my Codeigniter Project In Server, Throwing Error (/showthread.php?tid=69072) |
Uploaded my Codeigniter Project In Server, Throwing Error - Khadeer - 10-04-2017 Hi Need help in finding the solution for an issue. I have a codeigniter project which is working perfectly in Localhost but not in the client Server. It its Throwing an error Fatal error: Call to undefined function mysqli_init() in /home/coursesandstay/public_html/coursesnstay/system/database/drivers/mysqli/mysqli_driver.php on line 126 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /home/coursesandstay/public_html/coursesnstay/system/database/drivers/mysqli/mysqli_driver.php:126) Filename: core/Common.php Line Number: 564 Backtrace: A PHP Error was encountered Severity: Error Message: Call to undefined function mysqli_init() Filename: mysqli/mysqli_driver.php Line Number: 126 Backtrace: Im Attaching the Screen Shot as well kindly help me in this. Thank You. RE: Uploaded my Codeigniter Project In Server, Throwing Error - InsiteFX - 10-04-2017 That means that you have sent output to the screen. Check the version of PHP and MySQL on the server. Make sure all files are saved without the BOM Also make sure not to have white space in the files Make sure not to include the endding php tag. RE: Uploaded my Codeigniter Project In Server, Throwing Error - Khadeer - 10-04-2017 (10-04-2017, 02:14 AM)InsiteFX Wrote: That means that you have sent output to the screen. PHP Version 5.5.35 RE: Uploaded my Codeigniter Project In Server, Throwing Error - Narf - 10-04-2017 (10-04-2017, 02:14 AM)InsiteFX Wrote: That means that you have sent output to the screen. No, it means the server doesn't have mysqlnd and/or the PHP mysqli extension installed. The "headers already sent" notice is a side-effect, because the actual error message counts as output. RE: Uploaded my Codeigniter Project In Server, Throwing Error - InsiteFX - 10-04-2017 Thanks Narf, that's one reason I mentioned to see what versions were installed, I thought all web host had them installed by default. I know my web provider has them all installed. |