That is odd. require_once will load main.inc.php only *if* it hasn't already been loaded. If your just using require its being loaded no matter what. So, require_once must think you didn't need it because it's loaded yet it's not working because it wasn't. LoL make sense?
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.