I have a Wordpress blog hosted on Heroku.
I'm trying to figure out how to clone the site from Heroku so that I can do my WP development locally (I've set up VVV locally - works like a dream).
I've tried backing up the Heroku site with WP Clone and it fails because Heroku's PHP install doesn't include zlib (I know how to install plugins and have installed and activated the WP Clone plugin, but it screams for zlib when attempting to backup).
I've tried WPManage and it can connect to the Heroku site, but when I try to backup I get a 500 internal server error.
Has anyone had success cloning, or backing up, a WP site and database that is hosted on Heroku? How? Different cloning tools to try?
I'd suggest you do it manually if you planned to do it locally. XAMMP or WAMP?
Just backup your user data, images, plugin and database.
A tool that I have good success with is Duplicator. You're biggest issue is that your PHP config is missing required libs that wordpress needs to function properly.
I would look at getting a PHP install that has zlib in as wordpress itself uses it. See What are PHP extensions and libraries WP needs and/or uses?
Related
I can download the WordPress website which is already created. So, I need to run that website locally. Please let me know step by step.
I don't know your setup but I'll give you a complete solution now and then we fix any problems afterward.
First thing you need to do is download a local WordPress hosting environment and set up a local host for the website. I prefer to use FlyWheel because it's the easiest so far. Other options include Laragon, XAMP, and WAMP.
After installing Flywheel and setting up a local install you download the "All In One WP Migrator" plugin on both the live website you want to run locally and the local website.
Once you use that to migrate the website to a local setup everything should be fine. If you have the error establishing database connection again I will tell you how to resolve that. It's pretty easy actually.
I'm running an ubuntu server with apache, and I have wordpress all installed. We're trying to get the themes and plugins available for install through the wp-admin console. So I used this guide to implement SSH2 instead of FTP.
https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu
So everything finally works for installing themes. I'm assuming when I'm uploading the zip and that's getting installed that it's correctly using the ssh settings.
However, when trying to install a plugin I'm redirected to :
http://ServerIpAddress/wp-admin/themes.php?page=tgmpa-install-plugins
That just gives me a "No data received" Chrome Page.
So the guide had me mess around with a bunch of permissions, but this almost seems kind of far removed from the ssh. The ssh is working for themes. It's not spitting out the same errors it used to when ssh wasn't implemented properly. So I figure this is something new. Has anyone seen this
No more cowboy coding! I'm trying to develop on my local machine, but I'm no Ubuntu expert!
I've got it to the point where when I browse to "localhost" in my browser, it pulls up my Wordpress install and runs the site. It's trying to update, and showing this prompt:
So it's trying to run FTP as what? I'm new to Ubuntu, on my shared Bluehost server space Wordpress has no trouble FTPing out. How do I configure this on my local Ubuntu machine so that Wordpress can update. It's a fresh Ubuntu install from ISO disk. Do I need to configure FTP somehow? This is probably a very basic question - I think I'm looking for a few shell commands as the answer.
Here is a way in which you can disable the FTP Credentials for installing Plugins and Themes from backend
Just Add the following Code in wp-config.php
define('FS_METHOD','direct');
I installed Heroku on Wordpress by using the guidelines from https://github.com/mhoofman/wordpress-heroku. The system works fine. Only when I try to install plugins I receive the error message
Abort class-pclzip.php : Missing zlib extensions.
The error message is clear, zlib missing. I was just wondering if anyone of you had the same issue and can provide some best practices how to solve the problem?
It seems that heroku does not allow you to create files and you have to extract plugins and themes locally inside their folders respectively and push your changes back to your heroku repository. From the wordpress-heroku documentation:
Because a file cannot be written to Heroku's file system, updating and
installing plugins or themes should be done locally and then pushed to
Heroku.
Heroku does not allow you to modify files. You cannot use the backend of Wordpress to do those things if the site is hosted on Heroku. You have to install locally and then deploy. There is a good tutorial here:
http://wptutorialguide.com/wordpress-on-heroku/
i have pre developed site ( using joomla )
i should make some editing to the database using xampp server
should i install joomla ?
and when i enter
localhost/project/index.php
i get this message
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
I think you don't need install it again. You did it before, just you need to install Xampp to run Apache and MySQL. Then copy your files in its htdocs folder in a certain folder (Like joomla). But pay attention that you must have a backup from your previous database. Otherwise, you need to install joomla again to create database and its tables.
I used AMPPS to do the same. You can import your current installation of Joomla in Softaculous provided by AMPPS. AMPPS is also a WAMP Stack with auto-installation of more than 230 open-source scripts. All the site installed by AMPPS and imported manual installations will be managed by AMPPS.
(Note : Your config file of Joomla should be proper. Take bakup before importing)
If nothing works you can still install Joomla again as it is easy using AMPPS. Hope this helps. :)