RBE on CBOX.org not working?
Hi Ray --
I replied to a forum post through RBE on commonsinabox.org this morning, but I don't think it posted. Can you please check out the situation? Many thanks.
#1 Updated by Raymond Hoh over 6 years ago
I deactivated RBE and reactivated it and it seemed to post what was in queue.
Tried to look at the debug log, but it doesn't exist on cbox.org; there's probably a permissions issue in generating the log.
Adding Boone as a watcher so he can let me know. Btw, I read your blog post on using the WP filesystem :)
I should probably change to using the
wp_upload_dir() instead of just
#5 Updated by Raymond Hoh over 6 years ago
Matt Gold wrote:
Hi Ray --
Just received the message shown in the attached screenshot . . . .
I think you received that message because RBE was processing the backlog of the queue and I left bbPress' anti-flood checks in.
Because bbPress thought you were posting really fast, RBE stopped the post from posting. I'll probably remove this check in RBE to prevent this. Good catch!
Boone Gorges wrote:
Then my blog post was a success :)
On second thoughts, I was thinking about how WP is able to post the debug.log in
/wp-content/. I think the
/wp-content/ directory should be okay to use.
When you have a moment, can you take look at cbox.org's
/wp-content/ directory to see if the permissions are set properly?
#6 Updated by Boone Gorges over 6 years ago
When you have a moment, can you take look at cbox.org's /wp-content/ directory to see if the permissions are set properly?
I don't have sudo on the box, so I just created wp-content/bp-rbe-debug.log and did
chmod a+w. Should work.
I think the /wp-content/ directory should be okay to use.
FWIW I think WP is doing it wrong here, and probably only does it this way for legacy reasons. Also, the WP debug log is probably only something you'd run on a dev site (where permissions may be set much differently) while the RBE log is something designed to run in production in at least some cases. But I digress :)