Moving all Joomla site's data to a new-clean installed one? - joomla3.0

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.

Related

Accidentally Deleted my Database for a wordpress site

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

Wordpress content appearing on front end but not content to edit in the admin

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?

How to maintain and extend Drupal based site?

I've just released a simple Drupal based site on a hosting partner.
The development was done by, first running a install script provided by my hosting partner. The script installed a default Drupal site eith a database.
After this I just logged in to my site and used admin tools to configure my site.
If that was step one,, step two will be to extend my site with one or two extra functions and improve look and feel.
My question is,,, how do I do that without interfering with my site witch now is "live"?
Are there some established methods and tools for doing this??
/regards
/lg
That depends on what you want to do and how you have your site set up so far. If you have one page that is set as frontpage, then you can make another page and test your new functions on that one. Or you could install another site, set it up in a similar way and try it there first.
There's of course loads of ways to do everything. You can start searching for "drupal deployment workflow" and go from there.

How does writing to a database work when a web app uses multiple databases like Sitecore has

In Sitecore you basically have three databases. The Core, Master and Web database.
Simply put the Core database holds all Sitecore settings. The Master database is the authoring database. So it contains all versions of any content.
Then in Sitecore you can "publish" the contents and it will publish the latest version of each content to the Web database.
So suppose I have a website with a news page. And a user is able to edit a news item from the web site (so not through the CMS). How would the database then get updated when it's set up like this?
It would probably update the Web database, but then when I go into the CMS I don't see the latest changes, since the CMS reads from the Master database, right?
So does that mean that it should write twice? Once to the Web database and once to the Master database?
Can anyone tell me how this works in Sitecore or the like?
The reason I'd like to know this is becasue I'm thinking of creating a similar database setup. And I'm just not sure how to solve this issue.
When you have items that needs to be updated by the website visitor, you need to use the SitecoreService SOAP webservice or create your own custom webservice that runs on the Master-instance and triggers a publish after updating.
Well, Sitecore has a publishing step. When the user publishes in Sitecore, it updates the Web database at that point. If you want to build a similar system, I would simply store all versions of an item in the Master database and only when the user chooses to publish, copy the latest version to the Web database.
If your site
- generates a lot of comments
- generates the comments continuously
- uses multiple content delivery servers
- requires CMS users to manage them
I would not store the comments as content items.
The reason is HTML cache and publishing behavior.
On high volume site you'd most certainly use html caching to achieve best possible performance. If a publish is required to show comments, you'd need frequent publish actions and thus html caches are cleared often.
You don't wan't that :-)
Modeling after the DMS implementation is the safest (not cheapest and Datatables isn't something I recommend these days), storing stuff in a separate database, possibly using queuing to prevent an overload if things get busy..

Does DNN CE 7.x support programmatic uploading of files to secure folders?

Does DNN CE 7.x support programmatic uploading of files to already defined secure folders?
I need to bulk upload thousands of file for a large user population (>1500 users).
For each file, at the time of the upload, I must assign specific READ rights for every user.
Then, I need to have a page (DNN module?) where after each user logs on to the system they will be able to visit their page and click to download any of their own files.
Please note that the files are private to every user and no user must be able to view files of another user. Of course, search engines must not be able to index such content.
Is there anything OOTB to support that, or, I shall need to write a DNN module to allow the users to bulk upload files to a secure folder and then another DNN module to list the list of files for each user?
Can this be done with DNN CE 7.x version, or I need to buy DNN Pro 7.x ?
Thank you for any help/insight you can provide.
Regards,
P.
This can be done with CE, but it will require custom development to implement. The FILE system API for DNN should allow you to do all this from a development perspective.

Resources