The free forums are no longer in use. It remains available as read-only archive.
8:02 pm
September 13, 2012
OfflineHi
I am new to Xcloner. I just set it up and tested with my site. It works fine in making backup on the server. Then I tried configuring cron, saved it with a name - db.php. I tried to execute the job by typing URL xxxx/administrator/components/com_xcloner-backupandrestore/cloner.cron.php and administrator/components/com_xcloner-backupandrestore/cloner.cron.php?config=db.php
In both cases it shows error message:
Warning: require_once(./configs/3) [function.require-once]: failed to open stream: No such file or directory in /home/****/public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php on line 57
Fatal error: require_once() [function.require]: Failed opening required './configs/3' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php on line 57
It seems that the file cant include db.php file in configs folder. So I looked in cloner.cron.php line 57, and found the line:
require_once( './configs/'.$_REQUEST['config'] );
It looks that $_REQUEST['config'] returning a value of 3, and file inclusion fails. When I hard code require_once('./configs/db.php') the cron works fine.
I gues the problem is with the file cloner.cron.php. Could any one provide solution to this?
Many thanks in advance.
Regards
Suhreed
1 Guest(s)
Log In
All RSS