I have been using dynamic publishing for a while (since 3.something) due to the number of little tweaks I make and my inability to bother my backside at rebuilding the site each time. I had no trouble with using the MT4 beta, apart from the documented bug with monthly archives not working with dynamic publishing.
This weekend I've decided to ditch the beta and go full 4.01. And since then dynamic publishing just isn't playing ball at all.
Since installing 4.01 any page loaded that has dynamic publishing enabled in its template gives an error when loading in a browser:
CODE
Warning: db(mtdb_mysql.php) [function.db]: failed to open stream: No such file or directory in /--path_to--mt.php on line 154
Fatal error: db() [function.require]: Failed opening required 'mtdb_mysql.php' (include_path='/--path_to--php/lib:/--path_to--/php/extlib:/--path_to--/php/extlib/smarty/libs:.:/usr/lib/php:/usr/local/lib/php') in /--path_to--/php/mt.php on line 154
.htaccess is standard, just as MT creates when dynamic publishing is set up.
As this only started failing the instant I upgraded, it's highly unlikely to be my host. I am wide open to suggestions that I missed something in the install (I usually do, re-installing MT each upgrade normally throws something up that I forgot to do.
Any advise greatly appreciated.