XCloner.php doesnt open | Wordpress Support | Forum Archive

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_Feed Topic RSSsp_TopicIcon
XCloner.php doesnt open
January 30, 2013
3:51 pm
Avatar
Guest
Guests

Hi, I try to restore on Xampp localhost. I get some kind of light box effect when I open Xcloner in Firefox (Windows 7) For a brief moment I can see access denied. I checked the file access. Its ok.

I moved the files to a new directory despite. No change.

Any idea what is wrong?

Thank you!

Copied this text from the transparent screen:

Could not connect to $DBname database! Please make sure the database exists and that you assigned the mysql user to it..."); } mysql_query("SET sql_mode='';"); if($_REQUEST['charset_of_file']!="") mysql_query("SET NAMES ".$_REQUEST['charset_of_file'].""); else mysql_query("SET NAMES utf8;"); } if($_REQUEST['do_database'] != 1){ ############ DATABASE ONLY RESTRICTION################################################## ########################### START FTP MODE ################################# if($_REQUEST[transfer_mode]==2){ $_CONFIG[output_path] = $_CONFIG[output_path]."/archive_tmp/"; @mkdir($_CONFIG[output_path]); // set up basic connection $conn_id = @ftp_connect($_REQUEST[ftp_server], $_REQUEST[ftp_port]) or die("Could not connect to $_REQUEST[ftp_server] on port $_REQUEST[ftp_port]! Ftp connection has failed!"); // login with username and password $login_result = @ftp_login($conn_id, $_REQUEST[ftp_user], $_REQUEST[ftp_pass]) or die("Could not login to ftp server for user $_REQUEST[ftp_user] and provided pass! Ftp connection has failed!"); // check connection if ((!$conn_id) || (!$login_result)) { echo "FTP connection has failed!"; echo "Attempted to connect to ".$_REQUEST[ftp_server].":".$_REQUEST[ftp_port]." for user ".$_REQUEST[ftp_user].""; return; } else { echo "
Connected to $_REQUEST[ftp_server], for user $_REQUEST[ftp_user], starting transfer...
"; } $ftp_dir_original = ftp_pwd($conn_id); @ftp_mkdir($conn_id,$_REQUEST[ftp_path]); // try to change the directory to somedir if (@ftp_chdir($conn_id, $_REQUEST[ftp_path])) { echo "Current directory is now: " . ftp_pwd($conn_id) . "\n"; } else { echo "Couldn't change directory to $_REQUEST[ftp_path], please verify that the ftp location exists or use the \"Install files directly\" option!
\n"; return; } @ftp_chdir($conn_id, $ftp_dir_original); } ########################## END FTP MODE ###################################### ##### START extract ###### if($_REQUEST['refresh'] < 1){ $ext = substr($file, strlen($file)-4, strlen($file)); if($_REQUEST['file_utilities'] != '1'){ $tar_object = new Archive_Tar($file); if($_REQUEST['manual_ftp']){ $tar_object->_openRead(); fseek($tar_object->_file, $_CONFIG['seek']); $seek = $tar_object->_extractList($_CONFIG['output_path'], $return, "partial", "", "", $_CONFIG['filesLimit']); $seek = $seek - 512;//reverse 512 bytes if($seek > 0){ $backupSize = filesize($file); $rurl = rurl($seek, $backupSize); $percent = sprintf("%.2f",($seek*100)/$backupSize); echo "
Processing files - ".$percent."%

January 30, 2013
5:30 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

That usually means php is not configured properly and php scripts are not being parsed, please recheck your Xampp installl!

January 30, 2013
7:53 pm
Avatar
Guest
Guests

I found the answer on Stackoverflow:

If I got your question correctly, I think I
had the same problem accessing a php file in XAMPP. I have been online
for several hours searching forums and Google for the answer, not until I
found the simple solution.

I was accessing the PHP file as a file on c drive (eg.

C:\xamp\htdocs\data.php

or

file:///c:/xamp/htdocs/data.php

) instead of as a webpage (ie

//localhost/data.php

).

January 30, 2013
8:15 pm
Avatar
Guest
Guests

Files succesfully copied to C:/xampp/htdocs/wpus/

Tables are populated.

The tables still contain the original path: http://localhost/wordpress/

What went wrong? Does Xcloner not change the path in the db?

 

Thank you!

January 31, 2013
12:12 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

I am not familiar with this message, can you post a screenshot from where you've received it?

 

XCloner only alters the main wp-config.php file , usually that is enough, if you did however hardcoded server paths in your content, then you can use a search and replace plugin for WP to update those, or manually...

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: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
piotr K
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0