z900collector Posted December 21, 2017 Share Posted December 21, 2017 Hi All, I get the dreaded "Detected attempt to include init.php for a second time. Unable to continue." after I press save on a New Client.... I removed all the modules and hooks and checked all the plain text code to see if there is anything and I just can narrow it down. Its on our Dev System and I think its the latest version. I'm lost for things to try, being a dev systems its been a few weeks since anyone added a client so we don't have any idea why its failed. Sid Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted December 21, 2017 WHMCS Technical Analyst II Share Posted December 21, 2017 Hello Sid, Thank you for your post! Normally I would encounter this issue where a customisation present on the installation is trying to include the init.php file when it should not. I note from your post however that you have checked this. As this is a development installation, can you try moving aside your current WHMCS files (except configuration.php ) and upload a fresh copy of the WHMCS files? Link to comment Share on other sites More sharing options...
z900collector Posted January 8, 2018 Author Share Posted January 8, 2018 Hi, I uploaded a fresh copy of the WHMCS code and the issue disappeared. I can't explain how this has fixed the issue as the files are all encoded. I've been slowly replacing the addon modules and custom hooks and so far no issues. I should add, for the custom code there are no calls to init.php. Link to comment Share on other sites More sharing options...
Recommended Posts