hubdohmen Posted August 29, 2012 Share Posted August 29, 2012 Hi! When upgrading to WHMCS 5.1.2. I discovered a problem. The db-connection in third party addons, like mine, halted. So Matt advised me to do something like this: require(ROOTDIR.'/configuration.php'); That did the trick, but I encountered a new problem. Warning: include(templates_c//%%03^035^0357BA4F%%header.tpl.php) [function.include0]: failed to open stream: No such file or directory in /dir/includes/smarty/Smarty.class.php on line 1258 Warning: include() [function.include0]: Failed opening 'templates_c//%%03^035^0357BA4F%%header.tpl.php' for inclusion (include_path='/opt/share/pear') in /dir/includes/smarty/Smarty.class.php on line 1258 So I googled and discovered that the require statement kills the php-path. After I added php_value include_path ".:/path-to-whmcs-install to the .htaccess file, it started working again. This all happened on WHMCS 5.1.2. But it gives the same error on older versions, like 5.0.3. Can anybody help me to solve this? This happens with several third party addons. Local and remote. I do not mind to add the extra line in .htaccess, but this error should now happen. Cheers, Hub 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.