Wordpress Plugins Not Installing (Ubuntu, Ssh2) - php

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

Related

Getting Page loading error after successful Plugin installation in Moodle

I have installed Moodle 3.7.1 with XAMPP. The installation had been successful and problem-free. I followed the below video for installation:
https://www.youtube.com/watch?v=Ov2dGoOBmSI&t=436s
Now my main objective is moodle plugin development. Since I am relatively new to this I was exploring plugins and trying to build a simple one first.
But whenever I am trying to install plugin (my own or from Moodle directory) I receive the SUCCESS message but then get 'Page Loading Error' and thereafter I am not able to go to any page
I found this thread on Moodle forums and have tried most of the solutions they offered.
https://moodle.org/mod/forum/discuss.php?d=355930
I dont wish to work on older XAMPP version
My cache folder under Xampp's moodledata folder is empty and i tried clearing my browser cache and restarting the servers.
But the issue still persists
Any ideas what maybe causing this? I have a feeling that its some kind of configuration issue but I dont know where to look and what to look for.
Thanks for all the help. It took me alot of installation and uninstallations but finally when I downloaded the full Windows installer package--it worked.
I guess it was some kind of deeprooted version conflict between xampp and moodle or some configuration issue.

Clone Wordpress Site Hosted on Heroku

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?

Wordpress on local LAMP stack - How to allow PHP files to FTP

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');

Unable to install Wordpress plugins on Heroku

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/

how to deploy joomla website using xampp?

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. :)

Categories