Trouble w/ Wordpress restore on GoDaddy Windows hosting. Urgent. | General Questions and 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_TopicIcon
Trouble w/ Wordpress restore on GoDaddy Windows hosting. Urgent.
May 24, 2013
4:27 pm
Avatar
Justin
New Member
Members
Forum Posts: 2
Member Since:
May 24, 2013
sp_UserOfflineSmall Offline

I'm trying to restore a Wordpress site backed up with XCloner to a GoDaddy Windows hosting account. The situation is a bit urgent, as it's a recreation of an original site that's about to go down.

I get the following message every time I click "Start Install" from the xcloner.php script:

"Warning: fopen(D:/Hosting/7835216/html/wp-config.php) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\7835216\html\XCloner.php on line 599
Unable to write to configuration file D:/Hosting/7835216/html/wp-config.php... Aborting..."

I've dug through the wiki, searched through these forums, and tried everything I can. I've put the archive and script in a different, clean folder. I've tried different file permissions. I've tried "Restore by using the server utilities(tar)", I've tried manually unzipping the files and uploading them and doing "Skip files restore". Everything results in that error.

This is what's on line 599 of the script, which the error is referencing:

"

if ($fp = fopen($file, "w")) {
fwrite( $fp, $config_data);
fclose( $fp );
} else {
return false;
} // if
 return true;

if ($fp = fopen($file, "w")) { fwrite( $fp, $config_data); fclose( $fp ); } else { return false; } // if return true;"

Any suggestions? I really need to get this up asap.

Thanks.

May 24, 2013
6:01 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You need to make the D:/Hosting/7835216/html/ folder writeable by all users, you can switch it back when done!

 

Hope it helps!

May 24, 2013
7:14 pm
Avatar
Justin
New Member
Members
Forum Posts: 2
Member Since:
May 24, 2013
sp_UserOfflineSmall Offline

Thanks. I did just set the permissions to 777 on everthing in the directory and am getting the same error. Any other ideas?

May 24, 2013
7:52 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

I would advise editing your wp-config.php mysql details, did the mysql restore go through?

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
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 Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0