Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Error confusion

Status
Not open for further replies.

jaelle

Programmer
Nov 21, 2005
14
US
The strangest thing is happening on a site I am working on and I can't figure it out. I get the following error when I visit the page:

Code:
Fatal error: Cannot redeclare getdirarray() (previously declared in /var/[URL unfurl="true"]www/vhosts/cadillacjacksgaming.com/httpdocs/new/functions.php:28)[/URL] in /var/[URL unfurl="true"]www/vhosts/cadillacjacksgaming.com/httpdocs/new/functions.php[/URL] on line 28

note that the filenames and the line numbers are the exact same... How can you be redeclaring a function that's in the same place? :( I've also looked all through every file that's being included into that page, and there is only one declaration of that function. If anyone has any ideas what might cause this, and how I can fix it, it would be very much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top