PJ Brunet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Think I found the problem.
Last night somebody started installing WordPress backup plugins and that filled up the disk to 100%.
Yesterday when the problems started the disk had plenty of room :-/
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Now the error log isn’t working either. Just my luck today.
I added this to wp-config.php and wordpress_error.log is not doing anything. Do I need to touch the file first before logging starts?
@ini_set( ‘log_errors’, ‘On’ );
@ini_set( ‘display_errors’, ‘Off’ );
@ini_set( ‘error_reporting’, E_ALL );
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );
@ini_set( ‘error_log’, ‘wordpress_error.log’ );Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Cool I didn’t know WordPress had its own error log.
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Working on that. I have php-fpm logs, nginx logs, yadda yadda.
The problem is I don’t know what I’m grepping for. And you’re assuming there will actually be an error in one of the logs. WordPress errors don’t necessarily end up in server logs.
It would be better if WordPress had its own logging system. Are you listening Matt Mullenweg?
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?I am the host ??
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Is there a way to get a more detailed error message concerning how the upgrade failed? One-click install has worked for this blog before. I don’t want to do manual upgrades for every version.
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?Switching off the theme would be a last resort. This blog gets millions of visitors. How could the theme break an upgrade?
It might have something to do with a plugin, that’s when we started having problems last night. The Favado plugin crashed everyone’s server last night and ever since then it’s been one weird problem after another.
I’m not using FTP or phpMyAdmin, I have root access. I spend all day in MySQL’s CLI.
Also I’m using Nginx on this site for years now, not using .htaccess.
Forum: Fixing WordPress
In reply to: Why isn't one-click update working?“An automated WordPress update has failed to complete – please attempt the update again now.”
Forum: Requests and Feedback
In reply to: run wp-cron.php in a timebased wayI disabled DISABLE_WP_CRON, now my question:
Is it OK for me to run wp-cron.php twice overlapping?
Sometimes it runs in just a few seconds. Sometimes it needs several minutes!
Like say I have it running every 10 mins with a real crontab
*/10 * * * etc.
And it needs a full 15 minutes to do its business.
Can two “instances” of wp-cron.php safely run together? Does the oldest instance die and the new ones takes over? Is any data lost from the first instance? Scheduled posts not published?
Forum: Fixing WordPress
In reply to: wp-load error from wp-cron output in CPanelThis error can happen when you try to run wp-cron.php from another directory where wp-cron.php can’t find its supporting files
At least in my case there was nothing to “fix” on line 26.
Essentially I was trying to run wp-cron.php from a crontab like this:
php /home/www-data/example.com/wp-cron.php
My solution was to create a bash script to first change directories and provide me some extra information:
*/10 * * * * root . /etc/wpcron.sh > /dev/null 2>&1
Full explanation here:
https://tomakefast.com/when-wp-cron-php-sceduling-fails-3003/
“if ( false && $jetpack->use_ssl[$method] ) {“
This worked for me as of Jetpack Version: 1.2.2
Then NginX gave me an authorization error, but seems to be working ??
Forum: Networking WordPress
In reply to: Setting up Multisite Domain MappingThat’s one way of doing it. Or you can skip the plugin if you’re using NginX, the trick is “server_name _;”
That’s how I do it.
Forum: Networking WordPress
In reply to: finally got domain mapping working!OK “dude” thanks for the link, I was about to Google it but you saved me the trouble.
Forum: Networking WordPress
In reply to: Setting up Multisite Domain Mapping“The question I do has is how to setup separate dbase for each new domain that is added.
Currently it is adding all the info to the same wordpress dbase. Really makes things a bit difficult to manage if I am planning on adding 25-30 separate domains. “
Sounds like you’re talking about different “tables”. MySQL has this strange terminology ?? If you’re on a shared account (like most people) you’re probably sharing a “database” with 1000s of other people. (By the way, this is why shared hosting is so slow.)
From what Andrea is saying, sounds like the new “Multisite” method doesn’t give you the control to adjust options on a site-by-site basis?
I’m considering trying the new 3.x “Multisite” for a client, but doing more research first. Right now I have multiple installs working like this and it works fine:
$table_prefix = substr(str_replace(“-“, ”, $_SERVER[‘HTTP_HOST’]), 0, 4) . ‘_’;
If you do it this way, you can configure each blog individually (if you want to) which is useful in my opinion.
Maybe it would help to know what post by Otto you’re talking about, at first I thought you were talking about Olly the vpsBible guy.
Forum: Networking WordPress
In reply to: finally got domain mapping working!1. Where’s the site? Why not share the URL so we can try it?
2. What plugin are you talking about?