I designed a site last year locally and copied it over to the clients hosting onces the site was complete.
A year later I needed to delete some of my old databases and it turns out one of the db was for that site.
I went back to my hosting provider who imformed me that they can not retrieve the file even though I can still see it although when I open it up in phpMyAdmin there are no wordpress tables in it.
The clients hosting company sent me the ftp details to re-download the website and I have all the latest elements however I do not have an XML file to upload all the latest pages and posts.
I have all the images, all the plugins and themes but nothing else.
Is there any way without me having to recreate the whole thing and creating a new database to establish the link back with the website.
well thats terrible, I would ask the host for a backup, my company swiftgrid.net backs up websites every day. its pretty common for the host to have a backup. If there is no backup the only other thing you could do is go to the http://archive.org/ and copy and paste the pages if there is a record.
Mathew
Related
i'm managing lot of websites, few of those are Joomla.
Last webmaster has gone without giving any help and i've those Joomla DB that i cannot understand which websites are related to.
I mean, on wordpress, i'd see on "option" table to check URL but where i can find this information on Joomla?
Thanks
Have a look in the configuration.php of each site instead. In them, you can see which database is connected to the specific site.
Joomla by itself does not store the web site URL in this tables or configuration files, and I take that as a merit over Wordpress. The advantage of not storing the URL is that I could simply change web server's configuration when I want to change a site's URL. Everything will appear perfectly, unless for some reason a programmer chose to hard-code the web site URL into his code (which is a very bad practice).
So I suggest look into web server's configuration to get your the document roots and then relate the configuration.php file in there to the databases.
So, no chances.
Only solution i see is to backup and delete DBs one by one, if more than one, and see which website has gone "offline"
Can I move all current Joomla site's data (articles, urls, menus,contacts, users. extensions+ their content) to a new installed joomla without loosing anything?
my website has lot of problems and I want to install a fresh Joomla and then import all of the old data to it.
You could use SP Transfer or similar to transfer core content (articles, categories, menus, contacts, users etc) from one Joomla installation to another but there's no easy way to transfer extensions except perhaps to reinstall them and copy across any relevant database tables.
Another approach might be to try the "Reinstall Joomla core files" option in Components -> Joomla Update (run a backup using Akeeba Backup or similar before trying this step) to reset Joomla.
This is an answer to an issue I recently faced.
Background
I recently migrated my Wordpress site from my local machine to a server at siteground.com. I used the plugin duplicator to do the migration. Every time I tried the migration the website would appear properly on the front end (with the exception of a lot of question marks in diamonds replacing certain charachters.) In the backend I could see all of the pages and click in to edit them. Once on a particular pages admin edit screen no content would appear! I could click revisions and see the revision history but nothing would appear in the actual content box. Pressing update would clear that pages contents.
Potential Causes
Database errors.
Plugin conflicts.
The Cause for me
In my wp-config the Database Charset to use in creating database tables was set to
define('DB_CHARSET', 'utf8mb4');
Apparently Wordpress is in the process of upgrading tables to utf8mb4. See here for reasoning, https://make.wordpress.org/core/2015/04/02/the-utf8mb4-upgrade/.
The issue is my server at siteground had it's tables set to utf8. And my local environment had a new wordpress install with the upgrade to utf8mb4.
The Fix
A simple change from utf8mb4 to utf8 did it for me.
Did you properly migrate the website? When toy export the database you need to make sure that you select the proper utf. Also did you checked the version of PHP, MySQL with localhost Vs Web host?
I try to setup a deployment workflow, but I am completely new to it. I consider to use Git and Bamboo and in this whole thing I am stuck with the database.
Let's say I want to make changes on a CMS website and keep my files versioned on git (bitbucket), I understand how to setup Bamboo that it can SCP the files to my webserver, but I don't get it how I can get the database into this whole system? Are there any tools I am missing?
What I want:
I want to be able to checkout my website files from the gitserver, make changes and send them back to the gitserver and this (via Bamboo) should push the files to the live or testserver.
But even after searching for hours, I don't get a smooth way how to handle the database (getting it local, making changes and pushing it to the server via git) or any other smooth way.
I know there are tools to quickly dump the db for WordPress sites, but for other CMS there are no such tools.
Any advice how to do this right?
my problem's a bit complicated. basically i created a client/server CMS architecture that worked very well for a while. now that there are more customers, it's getting very slow and i don't really know how to fix it.
let me explain you the current architecture:
i've developed a content management system to serve various different customers. there's a cms server where each customer has an account to manage the content of his or her website. all customers work on the same interface and store the content in the same database on the cms server. so, for every new customer, i just have to open up a new account on the cms server and they can start managing their content.
to display that content, i have to create a customized website for each customer. that website frontend can run on one of my servers or the customer can host it himself. this frontend now has to connect to the cms server to fetch the content.
on the cms server, there's a php file called "share.php". it allows you to add some parameters such as 'content_ID' to specify the content. the php file then displays that content in JSON format.
on the frontend, i use file_get_contents("{cms_server}/share.php?content_ID=34"); to retrieve the data from the cms server.
as i said, it worked very well for some time when there were few customers using that system. now however a page load lasts at least a few seconds and it's getting worse.
do i just need to increase performance on the cms server or does the concept of retrieving data with file_get_contents(); just suck big time? :D
i appreciate your recommendations of how to fix that problem.
cheers.
Probably you need to look at your database: do you need to add indexes? Are you making redundant calls? Are you making many small SELECTs which could be made into one big one? And so forth.