The free forums are no longer in use. It remains available as read-only archive.
3:51 pm
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."%
7:53 pm
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
). |
8:15 pm
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!
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...
1 Guest(s)