Title: Wpconfig problem.
Last modified: August 19, 2016

---

# Wpconfig problem.

 *  [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/)
 * Dear WordPress Forum,
 * Im in the unfortunate situation that i have had to sell most of my sites, which
   i thought would be no big deal – but i have now ended up spending a huge amount
   of time transferring the domains.
 * The problem i have is that i have uploaded the websites to the new owners webhosting
   service (Surftown), some works, but some have problems like this one “[smartphone-….](http://smartphone-priser.dk)“
 * I have no clue how i find the correct information to use in the wpconfig file,
   in order to make the sites work?
 * Can anyone help me, please.
 * Best Regards,
    Martin

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816162)
 * The administrator of the mysql installation should have the hostname, user, password
   and database details you need in to put in the wp-config file.
 * If the administrator is at surftown, and they have given you all the details 
   then something else may be wrong. I looked at the link above and if you follow
   the [http://d19868917.u288.surftown.dk](http://d19868917.u288.surftown.dk) link
   there is a web site, though I have no idea if it is the right one or not. The
   DNS will resolve the address properly within 24 hours. The wp-config will make
   no difference to the DNS changes.
 *  Thread Starter [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816165)
 * The link you followed goes directly to the hosting company site.
 * But i should be the administrator of the mysql installation, and i can go to 
   the myphpadmin, but i have several databases like;
    byskov9_wordpress byskov9_wordpress1
   and so on…
 * I have no clue which i should pick, and furthermore i cant seem to find the place
   where i can see what username and password i shall’ use in the wpconfig?
 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816169)
 * To find users, go into phpMyAdmin and select priveledges then show all. This 
   should show a list of users. It won’t show passwords, and if you can’t find the
   passwords – well I am not saying you must do this, but and you might need to 
   reset them if you are only doing this for WP connection and it will not affect
   any other usage, but please be careful, don’t change anything unless you have
   to!
 * If you are not sure which database is which, then if you can see them, go into
   them and look into the wp_options table at blogname or siteurl and check try 
   and match up database name to web site.
 *  Thread Starter [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816180)
 * I have no priveledges it says?
    – I guess i just have to forget about it, i have
   tried for 9 hours now, and have got absolutely nowhere!
 * Best Regards
    Martin
 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816192)
 * I don’t think you are administrator then, just as an exercise, you are connecting
   to mysql via phpmyadmin, try using that login, password, host and one of the 
   database names and see if that site can login. It might prove the connection.
 *  Thread Starter [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816286)
 * Well, i didnt get any bonus doing what you suggested.
 * So now i have deleted all of the sites;
    [1](http://findtaletid.dk) [2](http://smartphone-galleri.dk)
   [3](http://smartphone-priser.dk)
 * And reinstalled 1 click toolbox wordpress, and then copied the files except from
   wpconfig.php to the respective folders, and now it doesnt show the old articles,
   template and plugins.
 * Do you have any suggestions to the new problem?
    – Thanks in advance 🙂
 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816339)
 * Copy your old wp-content directory across to the new site. This should take your
   old plugins, themes and allow the new installation to access them.
 * I am not certain of something, so can you tell me – are some of your sites working
   and some not working on the same host? I am trying to understand if this is a
   hosting issue or a WP issue. If all the WP installs are on one host and some 
   don’t work then it is within WP and we can go through that, if the problem is
   that one host works and the other doesn’t then it is within the service provider.
 * Again so I know the situation fully, can I confirm, you have a full backup of
   the files and a full backup of the data of all these sites, but uploading these
   backup files and running a database restore causes errors and the sites cannot
   be seen?
 * I would have thought any DNS changes would have propogated by now so is there
   a full url you can point me towards?
 * Sorry to ask so many questions, but I need to find out what is happening. I assume
   English is not your first language (though you seem very good at writing it) 
   please tell me if there is anything I say that you don’t understand fully, it
   could save us both a lot of pain!
 *  Thread Starter [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816342)
 * Hi Datasoftict,
 * Youre correct that english isnt my first language, and im sorry if some of the
   posts yesterday were hard to understand, but i ended up being pissed that it 
   didnt work as i thought it would 🙂
 * I have 10 websites, and previously they were located at 2 different hosts, but
   then i sold some, and moved all of them to one of my hosts so i could keep the
   other sites at a different host. Do you follow?
    But then when i finished moving
   the sites all of them worked just fine, a couple of days later i get an email
   from the buyer, who says some of them doesnt work anymore – and he havent done
   a thing. I check up on it, and find the 3 sites mentioned in my last post doesnt
   work, so i reinstall them on the server, and still nothing happens, but i moved
   1 more site which does.
 * **Shortly said they are all on one host – and some works, some dont**.
 * I took a backup of all files before deleting them on the hosting server they 
   previously were placed on, i followed a guide (danish) that the hosting company
   had on their website, but it didnt say anything about taking a backup of the 
   mysql database, which i therefore havent. I dont know if this is a problem?
 * Yesterday i furthermore had a programmor to take a look, and he found out that
   when i tried to reach the website, and when he did we ended up using 2 different
   DNS things, (i have no clue what dns is), but the difference were located within
   the digits (ex. 123.231.24.212) something like that.
 * Yesterday i deleted everything, and used the one click toolbox to install wordpress
   for each website at the new host, then i copied all the files from my computer
   via filezilla to the host, except from wpconfig.php files. I were told that this
   should help, but now i ended up with the problem i explained before, where i 
   just get the standard wordpress installation, and when i enter the wordpress 
   backend i can locate the media i have uploaded, the plugins and the themes – 
   but they doesnt automatically show up in frontend. Furthermore all the articles
   and pages i have written seems to be gone, which is the part that freaks me out
   the most. There is probably 80-90 hours of writting that i cant find anymore.
 * Thanks for your help so far, and i will keep an eye on this forum so i will be
   able to quickly respond on any questions 🙂
 * Thanks again / Martin
 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816343)
 * I can understand your frustration! So we have one host, some sites work and others
   don’t. Are you able to access the old database you had for these three sites?
   If you used phpmyadmin to access the data maybe you can still connect to them
   and back them up. Are the ones that don’t work all of the ones that you moved
   across from the second host?
 * I have rarely hear of things suddenly ‘not working’ with a new user who says 
   they haven’t touched anything, so I personally would be careful about thinking
   that they had not changed something. Can you access the wp-config file for the
   broken sites?
 * If so try changing this setting to true.
    define(‘WP_DEBUG’, true);
 * this will echo back to you ALL the errors that WP encounters when loading. Sometimes
   there is a clue in here, such as can’t find file xxx or erro loading theme Y 
   and so on. It will show all the errors on the site for anyone who views it so
   you don’t want to leave it set to true for very long!
 *  Thread Starter [Marbys88](https://wordpress.org/support/users/marbys88/)
 * (@marbys88)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816345)
 * I cant access the files at the old database, when i use the phpadmin i get nothing
   except from the sites i havent moved.
    Its weird though, cause one of the sites
   i moved, does work.
 * I have deleted the wp-config files, and then reinstalled them several times, 
   så they should be correct, and i cant see whether the new owner have done anything
   since, they have been changed over and over again. The problems is know that 
   i have lost the mysql database somewhere in between – and i cant seem to find
   it again.
 * Hopefully the hosting company has a backup of these databases, if they dont, 
   i cant see how it would be possible for me to get any of the content back on 
   the pages. Guess i just have to take the loss, as frustrating as it might be.
 *  [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * (@datasoftict)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816353)
 * Try your host and see if you can get abackup as unless the database schema has
   bee dropped – that is deleted – it should still be in the mysql installation.
 * Try and backup anything you currently have, especially databases. I have made
   this mistake myself many years ago, and once lost one of our own sites entire
   structure, including all the non WP data such as registrations when the SQL server
   went bang.
 * Try uploading wp-settings.php and the /wp-includes directory manually. I have
   found a couple of times that these can get damaged on transfer.
 * Your pages etc are in the databases, so getting them back is a key factor.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Wpconfig problem.’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 11 replies
 * 2 participants
 * Last reply from: [datasoftict](https://wordpress.org/support/users/datasoftict/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/wpconfig-problem/#post-1816353)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
