Well, I gave that a try, and that didn't work either. Now the error looks like this:
[:"purple"]PHP Notice: Undefined variable: Cat in C:\Inetpub\wwwroot\aowroot\index.php on line 66 PHP Warning: main(/ubbthreads/includes/main.inc.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\aowroot\index.php on line 70 PHP Warning: main(): Failed opening '/ubbthreads/includes/main.inc.php' for inclusion (include_path='.;c:\php\includes;c:\inetpub\wwwroot\aowroot;c:\inetpub\wwwroot\aowroot\ubbthreads\includes\main.inc.php') in C:\Inetpub\wwwroot\aowroot\index.php on line 70 PHP Notice: Undefined variable: myprefs in C:\Inetpub\wwwroot\aowroot\index.php on line 71 PHP Warning: main(/ubbthreads/pals/languages//genericpal.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\aowroot\index.php on line 71 PHP Warning: main(): Failed opening '/ubbthreads/pals/languages//genericpal.php' for inclusion (include_path='.;c:\php\includes;c:\inetpub\wwwroot\aowroot;c:\inetpub\wwwroot\aowroot\ubbthreads\includes\main.inc.php') in C:\Inetpub\wwwroot\aowroot\index.php on line 71 PHP Fatal error: Cannot instantiate non-existent class: user in C:\Inetpub\wwwroot\aowroot\index.php on line 75[/]
I'm no expert at this by any means, but I see a couple of potential things in this error. I looked at the index.php, and it's referring to the variable $thispath from the main.inc.php
Here are the contents of my main.inc.php:
[:"purple"]<?
// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK // THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION $thispath = "c:\inetpub\wwwroot\aowroot\ubbthreads";
// PATH TO YOUR config.inc.php file. BY DEFAULT THIS IS THE // SAME AS , BUT IF YOU MOVE config.inc.php TO ANY // OTHER LOCATION YOU MUST SPECIFY IT HERE. $configdir = "c:\inetpub\wwwroot\aowroot\ubbthreads\includes";
// DO NOT EDIT ANYTHING BELOW THIS LINE! include("$thispath/ubbt.inc.php");
// Page load times $timea = getmicrotime();
?> [/]
The other thing that I'm wondering about is this: If something is wrong with the include_path, why does threads work? After all, it's only the IIP that I can't use...
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.