nixell Posted July 8, 2012 Share Posted July 8, 2012 I found that new domainsync not working PHP Warning: main(..//dbconnect.php): failed to open stream: No such file or directory in /home/xxx/xxx/xxx/crons/domainsync.php on line 0 PHP Fatal error: main(): Failed opening required '..//dbconnect.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/xxx/xxx/xxx/crons/domainsync.php on line 0 0 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 8, 2012 Share Posted July 8, 2012 You have to modify the whmcspath variable in the config.php Copy your path from the licence information. "# Enter path to root WHMCS directory (relative or full)" 0 Quote Link to comment Share on other sites More sharing options...
nixell Posted July 8, 2012 Author Share Posted July 8, 2012 Oh i see, thank you 0 Quote Link to comment Share on other sites More sharing options...
epretorious Posted December 17, 2013 Share Posted December 17, 2013 (edited) You have to modify the whmcspath variable in the config.php... Thanks, DSS: Works for me! To confirm: Regardless of whether or not you move the crons directory outside the public accessible folder tree, the $whmcspath must be defined (except when executing the domainsync.php script from the crons directory). Edited December 17, 2013 by epretorious Added the hyperlink to the documentation "Further Security Steps". 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.