Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/magicwor/public_html/portfolio/common/database.class:42 Stack trace: #0 /home/magicwor/public_html/portfolio/index.php(5): database->database() #1 {main} thrown in /home/magicwor/public_html/portfolio/common/database.class on line 42