I cannot load my website. Instead I get the wordpress installation process page - html

I hosted a wordpress website then I decided to change it and use spip instead. Now when I try to load the website on my laptop I get the wordpress installation process.
It seems to work fine when I load the website on my phone.

Did you import your Database ? or did you change / delete your database ?
if you change host or website you need to upload old Database and do db-replace of urls

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 use Wordpress with localhost and a preexisting database on another server

I've been working on a Wordpress website on my web hosting server. But I wanted to start doing the Wordpress changes locally, while still using the database with all the posts and stuff that's already on the server.
I installed Wordpress on my computer, and had it connect successfully to that database, but going to localhost/website/wp-admin would redirect me to www.site.com/website/wp-admin, and then proceed to do everything on the server again, which I didn't want, and localhost/website would just appear blank.
I tried having Wordpress use a new test_database on the server, and it was happy with that. Wordpress started to run locally, localhost/website wasn't black, while using a database on the server. Even when I wiped out my local Wordpress and reinstalled it connecting to test_database, all the posts remained intact, and Wordpress was still running locally.
How come I was unable to get Wordpress running locally when I tried to connect to the first database?
You're trying to use the same WordPress database instance on two different URLs. You Can't Do Thatâ„¢. Someplace in the options table is the database's URL. It's used to construct many links in WordPress. That's why you're jumping back to the production server.
You can use a plugin like Duplicator to make a copy of your production web site to use as a staging server, or vice versa.

Is there a quick way to import my external css files so that I can convert my dynamic webpage into a static one?

I have a wordpress site and I want to be able to make one of the pages 'standalone' html so that I can display it in a browser that's not connected to the internet. Any ideas?
To get a local copy of your actual page view user Ctrl+s. This will not include all css/js and might be not what you want. Its a better screenshot.
To get a fully working local version install xampp to get a webserver and a mysql server.
https://www.apachefriends.org/
Download you WordPress instance and move it in the htdocs directory that is inside the xampp installation.
Create a mysqldump of your wordpress database and load it into your local mysqlserver.
Configure your local WordPress instance so it can connect to the database.

Hosting web app on xampp

*I hav made a small demo web app(using html5, and jquery mobile)
*I have installed and set up Xampp
*set passwords for local server
* I am confused as in what to do next, where do i store my .html files and other resources
*I need to test my app on a network
*I want to set up a database using xampp ,(i have no idea how to)
*edit: since its a mobile web app, i want to test it from my mobile, is it possible by hosting it on my pc ? If yes, then how?
If you have the apache server running on xampp, you have to put the files in the /htdocs map. This is usually located in something like C:/xampp/htdocs. Then you go to your localhost in your browsers, so localhost and then /example.html.
This would be for example localhost/example.html, this would redirect to the example.html file in the htdocs folder.
Then if you want to set up an mySQL database you should take a look around at localhost/phpmyadmin

Wordpress to ftp without mysql database

I have to upload an old website designed with wordpress into an ftp. I have all files (wp content-with his images, wp admin, wp include and all php stuff) but no mysql database. Can I restore his website to a new ftp, or without the mysql database all is lost?
You can upload your content with ftp but to run your website you need database, Of you have not then you will not able to see the content of your website. Database is must of your website.