Donovan Posted February 22, 2014 Share Posted February 22, 2014 Hi People I am quite new to WHMCS, i have downloaded a template from http://www.whmcs.com but after following the instructions provided with the template, the template seems to be installed but some of the pages is not working as the following error accrues when trying to access the page: Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/geekhost/public_html/example1/clientportal.php on line 6 Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/geekhost/public_html/example1/clientportal.php on line 6 Fatal error: require() [function.require]: Failed opening required 'init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/geekhost/public_html/example1/clientportal.php on line 6 After trying to fix the problem for several hours, i have noticed that there was no init.php files supplied with the template ? any help shall be highly appreciated. Regards, Don 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted February 22, 2014 Share Posted February 22, 2014 Hello Don, This error means the page clientportal.php is using the old WHMCS custom page code but you're running a newer/latest version. So to fix this the code in clientportal.php has to be updated with that listed on WHMCS's website: http://docs.whmcs.com/Creating_Pages Regards, Jack 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.