The free forums are no longer in use. It remains available as read-only archive.
The forums are currently locked and only available for read only access
Warning! cloner.functions.php
October 26, 2010
3:44 pm
3:44 pm
webs4travel
New Member
Members
Forum Posts: 2
Member Since:
October 26, 2010
October 26, 2010
Offline
Hi,
I am getting the following warning and am unsure what the problem is. I know my ftp username and password are correct as I've checked I can connect using filezilla.
Warning: Invalid argument supplied for foreach() in /home/travelma/public_html/mywebsitename.co.uk/administrator/components/com_xcloner-backupandrestore/cloner.functions.php on line 496
Warning: ftp_connect() has been disabled for security reasons in /home/travelma/public_html/mywebsitename.co.uk/administrator/components/com_xcloner-backupandrestore/cloner.functions.php on line 510
FTP connection has failed!Attempted to connect to http://ftp.mywebsitename.co.uk for user myusername
I have looked at cloner.functions.php - it contains:
496 | } | |||||
497 | ||||||
498 | foreach($files as $file){ | |||||
499 | $source_file[] = $_CONFIG['clonerPath']."/".$file; |
|||||
500 | $destination_file[] = $_REQUEST[ftp_dir]."/".$file; |
|||||
501 | } | |||||
502 | ||||||
503 | ||||||
504 | ||||||
505 | list($fhost, $fport) = explode(":",$_REQUEST[ftp_server]); |
|||||
506 | if($fport == "") | |||||
507 | $fport = '21'; | |||||
508 | ||||||
509 | $ftp_timeout = '3600'; | |||||
510 | // set up basic connection | |||||
511 | if(!$_CONFIG[secure_ftp]){ | |||||
512 | $conn_id = ftp_connect($fhost, (int)$fport, (int)$ftp_timeout); |
|||||
513 | $connect = "Normal"; | |||||
514 | } |
Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar VeraModerators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0
© Simple:Press —