Jump to content

domainsync error


nixell

Recommended Posts

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

Link to comment
Share on other sites

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)"

Link to comment
Share on other sites

  • 1 year later...
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 by epretorious
Added the hyperlink to the documentation "Further Security Steps".
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated