Jump to content

Error 101 in combination with Fatal error: Cannot redeclare (function)


grafeety

Recommended Posts

Hi there,

I have a local server set up on my computer which I have used before and it worked flawlessly. It is running apache with PHPand mySQL set up as services. Recently I attempted to copy a project I have worked on at school onto my server. I have the database up and running, however when I try to run a PHP file it gives me the error:

Fatal error: Cannot redeclare getText() in C:\Server\htdocs\projects\tournament\includes\functions.php on line 20

When I rename that function (which I know is not being redeclared) I get a browser error:

This webpage is not available.

 

The webpage at http://localhost/projects/tournament/index.php might be temporarily down or it may have moved permanently to a new web address.

 

  More information on this error

Below is the original error message

 

Error 101 (net::ERR_CONNECTION_RESET): Unknown error.

 

Has anybody else experienced this error and have a solution to fix it?

My guess is that it has to do with the function gettext() being available on this machine but not on the machine at school, however I thought PHP was case sensitive?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.