Showing blank page when database is loaded - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Showing blank page when database is loaded (/showthread.php?tid=16546) |
Showing blank page when database is loaded - El Forum - 03-10-2009 [eluser]drale2k[/eluser] Hi, i read another thread having the same problem but its not a solution for mine. I have running Linux Debian Lenny 64Bit Apache2 mod_fcgi, mod_rewrite PHP5 + MYSQL I uploaded a fresh installation of CI and all was ok. Then i set up the autoload.php with 'database' and filled up the !100% correct! connection settings. If i remove the 'database' autolaod it works. Now i created a file in same dir as /system/ and wrote into it: Code: $conn = mysql_connect('localhost','XXX','XXX'); When i call this file i get an error: Code: Fatal error: Call to undefined function mysql_connect() in /var/www/virtual/md5hood.com/htdocs/a.php on line 2 I dont know what to do, i installed mysql correctly (i guess). I think its a problem that i am running PHP CGI becouse of the Hostingpanel (using CGI). Please help if you can. Showing blank page when database is loaded - El Forum - 03-10-2009 [eluser]xwero[/eluser] which mysql version are you using? |