Will rewriting the Joomla system files, remove my articles and data? - mysql

As I cannot access to my admin area, I was told that Joomla system files might have problems and the best is to download the latest version and rewrite it on my host. My website is running and up. So if I replace the Joomla package on my host, will it remove or change anything on my website? anything that I have on the website, such as plugins, template, articles, music, mySQL, and so on. Will they change?
It is based on Joomla 1.5.
If yes, Any suggestion?

It's not a good idea to do it on your live server because you may broke your site. Instead of this prepare a local server and download your site to it. Then download a dump of your server database and restore it locally.
On your local copy you only need to change the configuration.php file with your local database settings (username, password and database) and paths to tmp and cache directories.
When the local site is up and running you can try to replace old files with the new ones, but don't overwrite the configuration.php file. Before replacing files is not a bad idea to keep a copy of your site files. By the way, don't try to overwrite with files from higher versions than 1.5 : it simply won't work. The last stable package for the (discontinued) 1.5 is 1.5.26, available through JoomlaCode : http://joomlacode.org/gf/project/joomla/frs/
If this solves your issue then you can upload the files downloaded from Joomla to your server (except the configuration.php) .
Regards!
Edit: as you can see, your articles will not be removed, as they are stored on the database.

Related

Wordpress Duplicator from MAMP to local LAMP server - Links broken

I developed a Wordpress site locally using MAMP.
I'm trying to transfer it on my home server to show to the client, so I used the plugin "Duplicator".
Everything seemed to work fine but all the links are now broken.
I put the .zip archive and the installer.php inside a folder inside the "html" folder of apache and run installed.php from the browser.
I'm not familiar with the 'duplicator' plugin, but when you transfer a Wordpress site to a new server, you usually have to do three things.
Edit the wp_options table and change the siteurl and home field to the URL of the new site.
Update the wp-config.php file to have the correct settings for the new server.
Use a search and replace tool to bulk replace the old URL with the new URL in all your posts and pages. The best tool I have found is to install wp-cli (http://wp-cli.org/) and then run:
wp search-replace oldurl.com newurl.com
You obviously need to use wp search-replace carefully, as you could mess up a lot of posts if you do it wrong. So obviously keep a backup around.

How to create a wordpress database file with existing files in my site directory?

I have a live wordpress website, due to some problem my database table become empty. Now I have only files and folders of my website. So please guide me how to create a clone of my website in my wamp server localhost with existing file/folders in root directory without database file?
This plugin is an excellent tool to migrate from live to local and vice versa All in one wp migrator copies all files and database. But in your case not sure if it will help .
To copy the files locally all you need is filezilla and the ftp credentials which may be the same as cpanel credentials. Then copy all files to local folder for website of your wamp. Php myadmin on your live site dump the sql and import into your local wamp php .
Can you check if you have a back up via the cpanel under softaculous installer you may be able to restore a back up of the site.
If your database is empty and there is no backup then all the contents of your website (except for photos) are lost.
Your hosting company may have made automatic backups and you ought to contact them right away.
You can make a MAMP clone using your current files and images, but none of your old content will appear and your images will not appear in the Media Manager. The images will need to be re-imported.
To make a local MAMP site with your existing files, first create a new blank Wordpress installation using the following instructions:
https://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP
A new contentless Wordpress database will be created in this process.
Then remove all the Wordpress files except wp-config.php and copy all your old live site's files into the folder. When you reload Wordpress it will be running off the live site's code and plugins.

Cloning whole blog ends in 404

I am currently developing a WordPress project on a Windows machine (XAMPP) with my partner on a Mac (MAMP).
I installed WordPress on my local /htdocs, edited themes etc.
At the end of this all, I exported my WordPress database through PhpMyAdmin for my partner to install the whole project on his machine.
He has the /wordpress folder and imported the SQL with correct database names etc.
But whenever he goes to localhost:8888/wordpress it results in a 404 page not found error.
why?
The problem is, there are a lot of serialized things in the wordpress database, what you can not just find / replace.
I moved from localhost to production a ton of times wordpress sites.
So what you need to do is to:
Dump the database from local
Copy the files to production server
Import the database, but do not open the site in browser!
Download the script from here.
Unzip, and upload this into a wp-replace directory
Go to http://example.com/wp-replace/
Follow the instructions. Replace the olddomain.com to newdomain.com/wordpress (do not use http and trailing slash, add port if needs)
Go to the dashboard, login, and refresh the permalinks.
Done

Can html5 be used front end for an ftp server?

quick question to day. I've done a little digging around on the net and i can't really find a very definitive answer.
Basically, I run my own server on a redundant dual core, 4gb ram 2Tb pc (server1)
And on here, i would like to make an FTP partition. Reason being, i would very much like to be able to transfer files back and forth work, uni and home as i please.
I also run a website from my server which allows me to stream media from my hard drive to any laptop, tablet, desktop, iphone, android.. you name it!
I would LIKE to be able to add a section on my website where by I can log in and access my files as a sort of HTMF5 Front end.
I am aware and know how to create a login with a database which has md5 hash and store cookies to stop un-authorised people accessing my ftp.
Any help or a shove in the right direction would be much appreciated! Thanks in advance :D
Yes it's possible. but that won't be HTML5 ftp server etc that you mentioned.
You can achieve this by installing a web server on your machine like apache and then make directories public - run Apache on some port and you will be able to access the directory. if your server is running on port 8080, URL will be like: domain.com:8080 - You can style directory using this simple script & make this password protected as well using .htaccess .
osFileManager
The other option is to use some php script. Many commercial scripts are available and as well as open source. i recommend you trying osFileManager - it has a lot of features like:
Browse the directory structure
Create files
Upload files
Rename files
Move files
Delete files
Edit files
Change permissions
Change password
Create users
Here is it's installation instructions: http://www.osfilemanager.com/osfilemanager-docs.html
or a paid HTML5 & AJAX based script can be bought for 14$ from here:
http://codecanyon.net/item/file-manager-and-backup-system/5177206

Uploading MVC Website and MySQL to Webhost

I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com
How do I:
upload my models, views and controllers to the public_html folder of 000webhost?
get my MySQL database up and running on 000webhost?
Thanks in advance
I am presuming that your control panel is cPanel. If thats the case then upload all your files in the web root of the server. Create a database, and change that details in database.php inside config folder. thats it, your site will be up and running.
Your .htaccess (at least mod_rewrite for codeigniter) will not work if you use the free 000webhost service (at least the last time i wanted it, the support told me that they doesn't support it... that was thy time i signed up for their free service for private test of scripts i wrote). Another thing is that for the free hosting they use their own control panel (not cPanel), cPanel is for the paid accounts.
Anyway they both offer ftp accounts, mysql databases and of course web ftp (online file manager). All you need is a ftp client (such as FileZilla or even Windows Explorer itself).