I just made a
major booboo! Let me explain: I finished upgrading to PHP version 5.2.6 from PHP 4.2.1, and in my code I use a lot of include() and require() functions to create the page templates. Well, as soon as I restarted my server, those functions stopped working. Even worse is I have literally thousands of pages on my site and practically all of them use these functions in one way or another; these pages are no longer rendering... Is there some sort of setting I need to change or fix in php.ini, or something else, or is there a way to fix this globally? If not, how can I downgrade back to PHP 4.2.1?
Also, I have a MySQL database and for some reason, I can't connect to the database using this code:
CODE
$con = mysql_connect('localhost', 'mysql_user', 'mysql_password');
It just flat out doesn't return anything. Am I doing something wrong here, too?
Please, please,
please help me fix my
mess catastrophe!!
This post has been edited by gadgetsguru: 8 Oct, 2008 - 03:01 AM