Problem in cron|Joomla Support|Forum Archive|XCloner

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Problem in cron
September 13, 2012
8:02 pm
Avatar
Suhreed
New Member
Members
Forum Posts: 1
Member Since:
September 13, 2012
sp_UserOfflineSmall Offline

Hi 

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

September 14, 2012
8:41 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Could you copy/paste here the latest cron command you use from which you got that error? Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10080
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Manuele Freddo_1
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0