[FX.php List] What does this mean?

Alex Gates alex at gandrpublishing.com
Mon Jan 15 06:34:35 MST 2007


Hi Jon-

It's just a guess, but I'd make sure you include FX_Error.php like you 
did with these:

include_once('Downloads/IHSA/FX/FX.php');

include_once('Downloads/IHSA/FX/server_data.php');

If I were you, I'd make sure the file was in the same directory and add 
this:

include_once('Downloads/IHSA/FX/FX_Error.php');

Hope that helps!

Jon Montgomery wrote:
> Hi,
>     I have a page that looks at session data and then loads the appropriate
> page based on session data.  I was able to get it to work 24 hours ago, but
> after some tweaking and a nights sleep, it gives me this error.
>     Unfortunately, I do not remember what I changed that caused this error?
> 
> Fatal error: Cannot redeclare class fx_error in
> /home/content/b/a/n/bandmandq/html/FX/FX_Error.php on line 41
> 
> Here is the code:
> 
> <?php
> 
> session_start();
> 
> include_once('Downloads/IHSA/FX/FX.php');
> 
> Include_once('Downloads/IHSA/FX/server_data.php');
> 
> $_SESSION['username'];
> 
> $_SESSION['password'];
> 
> $_SESSION['School'];
> 
> $_SESSION['Class'];
> 
> $_SESSION['solo_site'];
> 
> $_SESSION['org_site'];
> 
> $_SESSION['user_level'];
> 
> 
> 
> if(!isset($_SESSION['password'])){
> 
> include_once('ihsa_logout.php');
> 
> 
> }elseif($_SESSION['user_level'] == "user")
> {
> 
> include_once('Downloads/IHSA/IHSA_download2.php');
> 
> }else{
> 
> include_once('Downloads/IHSA/ihsa_manager_download.php');
> 
> 
> }
> 
> 
> ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html
> xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type"
> content="text/html; charset=ISO-8859-1" />
> <title>Untitled
> Document</title>
> </head>
> 
> <body>
> <p>Test
> page</p>
> <p>&nbsp;</p>
> </body>
> </html>
> 
> I really don't know where to go from here to fix this.  Your expertise will
> be greatly appreciated.
> 
> Jon Montgomery
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> 
> 


More information about the FX.php_List mailing list