Hi all,
I'm getting the following error:
Fatal error: Cannot redeclare allow_view() (previously declared in C:\Inetpub\wwwroot\rooms\includes\cms_functions.php:3) in C:\Inetpub\wwwroot\rooms\includes\cms_functions.php on line 23
Here is my code:
<?php
$this_page = 'rooms';
session_start();
header("Cache-control: private"); //IE6 Fix
include_once("includes/dbConnect.php");
include_once("includes/cms_functions.php");
The error only comes up after the page is reloaded a couple times. It seems that the server is caching the include(?) Using include_once/require_once do not help.
I am porting an entire application that has worked fine on other platforms and this is the first time I'm finding the problem.
There were no errors in:
local platform: xampp PHP 5.2.3
other apache systems - PHP 4.x & 5.x
Now I am trying to run PHP 5.2.6 on a IIS server.
Has anyone experienced this issue and found a resolution?