Ok, so I make this big fancy script for auto-updating my database (including my phpBB database to activate/deactivate users). I do all my testing and debugging just by visiting the page in my browser so it executes, and get it working perfectly.
So, I try to set up a cron job with my new script. Lo and behold, it doesn't work. So I talk to the dreamhost tech guy and he says "duh, it runs differently when it's a cron compared to visiting it in a browser". I just don't know what exactly he meant by that, or how to fix it.
When I go to the file (update.php) in a browser, it executes through just fine. However, when run through a cron job, the email containing the results of the job has an error:
The config.php file could not be found.
Click here to install phpBB
Any ideas why this is happening?