Jump to content

domainsync.php issue on XAMPP server


lithiumsystems

Recommended Posts

Hi,

I'm running the latest version of WHMCS on an in-house XAMPP server (server 2008). All working well including the nightly automaton task which I've scheduled using the Windows Task Scheduler.

 

However, I can't get the domainsync.php file to run using the same method.

 

When I try to run it from the command line I get the following errors:

 

C:\xampp\php>php c:\xampp\htdocs\crons\domainsync.php

 

Warning: main(..//init.php): failed to open stream: No such file or directory in

C:\xampp\htdocs\crons\domainsync.php on line 0

 

Warning: main(..//init.php): failed to open stream: No such file or directory in

C:\xampp\htdocs\crons\domainsync.php on line 0

 

Fatal error: main(): Failed opening required '..//init.php' (include_path='.;C:\

xampp\php\PEAR') in C:\xampp\htdocs\crons\domainsync.php on line 0

 

When I navigate to the domainsync.php file using a web browser it works as expected although this is a manual process and I'd love to get it working via a 4 hourly scheduled task.

 

Does anyone have any ideas ?

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