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/
Related
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.
I have downloaded TastyIgniter from GitHub and running it in localhost (Windows with WAMP and PHP version 7.1.9). In the last step of installation, I am getting errors that "Downloaded files from server are corrupted" and "Missing vendor files". May I know what is causing these errors and how I can run it without bugs in my localhost.
Run composer update command in the root of your project.
If composer is not installed. Download it from this link official website.
it seems like they hardcoded something.
when you unzip the setup-master folder, keep it as it is and don't rename or move its content.
start your installation by calling:
yoursite/setup-master/setup.php
this worked for me.
I tried to run the installation previously by unzipping the files directly in my html folder and tried several fixes but no success.
after a successful installation you need to forward in your apache config / .htaccess file to the subfolder
In order to do so, don't forget to perform the Post-Installation steps mentioned here:
https://tastyigniter.com/docs/master/installation
I finished by aborting tastyigniter. After a successful installation and theme activation, the application worked fine then "suddenly" it throws an exception that the newsletter component can't be found. All suggested helps on the dev forum didn't help. Even after reinstalling the application it comes to the same error.
Apparently you won't come over a "professional" installation support by the developer ($$$)
Thats pretty much my experience, I tried to install in different servers and environments running into several issues, especially it seems not to be made for anything other but specific development environment. Trying to secure installation with SSL already is an issue, that is very standard but poorly documented with this project. Having an example of how configuration files nginx go! Pay or have an experienced server admin do the trial and error. Integrated update mechanism, get your staging server and help to code. It is ok, just would be more honest to mention upfront, that running that app in production environment requieres some serious server administration skills and is nothing like installing and maintaining a wordpress or any other mainstream script.
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?
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
I am developing a Facebook app using heroku. My app needs the ability to upload files (pictures) to a folder on a remote server, and I assume ftp is the best option. Unfortunately the ftp extension is not enabled out of the box. I spoke with support and they suggested the following:
"We unfortunately don't support FTP, or any PHP extension at this moment.
But the good news is that we just open sourced our PHP build pack, so you could try to vendor it yourself:
https://github.com/heroku/heroku-buildpack-php"
So I am assuming I can follow the readme instructions in the link above, and simply include the --enable-ftp option?
This is a bit beyond my current knowledge. I really appreciate the help, and look forward to learning something new.
I had to do something similar. Here's what I did:
1.You need to use a custom buildpack which installs the pear packages Net_FTP. I suggest that you fork the one I've been using (https://github.com/antonyevans/heroku-buildpack-php/)
Then you need to change bin/compile. Key changes are the removal of the lines (around 163):
php/bin/pear install mail
php/bin/pear install Net_SMTP
And the addition of Net_FTP extension:
php/bin/pear install Net_FTP
2.Then you need to tell your application to load the package:
require_once 'Net_FTP.php';
Your biggest problem is that the Heroku file system is emphemeral. I would suggest going back and looking at your architecture again.