nawad24 Posted August 22, 2007 Share Posted August 22, 2007 we are having a problem with our index.php file. our webhost says that it is corrupt, but i am not sure how to fix this - i am completely new to this ??? the message we get when we try to access the site is: Fatal error: Cannot redeclare getfields() in /home/cust1/usr1127/html/management/lib/db/record_set.class on line 225 any help would be very much appreciated! i've tried to upload an old version of the file, but that obviously didn't work. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/66197-corrupt-indexphp/ Share on other sites More sharing options...
akitchin Posted August 22, 2007 Share Posted August 22, 2007 it means that you're trying to define the function getfields() twice. look through your includes, your functions files, etc. and find out where you're trying to redeclare it. Quote Link to comment https://forums.phpfreaks.com/topic/66197-corrupt-indexphp/#findComment-331103 Share on other sites More sharing options...
nawad24 Posted August 22, 2007 Author Share Posted August 22, 2007 Thanks - would they be the files in the Management directory? Quote Link to comment https://forums.phpfreaks.com/topic/66197-corrupt-indexphp/#findComment-331198 Share on other sites More sharing options...
akitchin Posted August 22, 2007 Share Posted August 22, 2007 i have no idea - you'll have to look at every file that's included within the main index.php file. Quote Link to comment https://forums.phpfreaks.com/topic/66197-corrupt-indexphp/#findComment-331221 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.