erikstainsby
Forum Replies Created
-
What I meant was the files could not be found in the server’s filesystem after apparently being uploaded.
In any case, the issue has been resolved. It was an overlooked setting in Network Admin > Sites > Settings . The File upload path here was incorrect and had been placing the files in the wrong place. EUD. [End-user deficiency]
Dialed up the debugging noise for the apache logs to debug, and found this:
[Sun Mar 30 10:07:35 2014] [debug] mod_deflate.c(615): [client 24.84.162.51] Zlib: Compressed 317 to 213 : URL /wp-admin/async-upload.php, referer: https://bclaconnect.ca/wp-admin/media-new.php [Sun Mar 30 10:07:35 2014] [error] [client 24.84.162.51] File does not exist: /srv/www/wp-uploads/bclaconnect.ca/2014/03/chicken-silhouette-64x64.png [Sun Mar 30 10:07:35 2014] [debug] mod_deflate.c(615): [client 24.84.162.51] Zlib: Compressed 325 to 249 : URL /wp-uploads/2014/03/chicken-silhouette-64x64.pngSo it looks like wp-admin/async-upload.php is munging the upload path which mod_deflate receives, possibly?
Yes, Mika. Everything worked in initial installation. Also, I have a second server, development, which is working perfectly well. Uploads to primary and subdirectory sites working correctly.
I have mirrored everything I can thinkof in the production server and still the images do not upload.
Forum: Fixing WordPress
In reply to: Problem installing plguins/themesReinstalling libcurl3 curl and php5-curl (ubuntu) has resolved the problem for me.
Forum: Fixing WordPress
In reply to: Problem installing plguins/themesI’m experiencing the same symptoms: endless
PHP Warning: stream_socket_client(): unable to connect to <various targets and protocols>This started for me with an upgrade from 3.6.1 to 3.7.1. I have since installed clean from 3.7.1 and still have the log issues. The warning ends up pointing to class-http.php in wp-includes, but that is as far as I can see.
Forum: Hacks
In reply to: class-http.php not permitting self-signed SSL to workNetwork upgrade would not complete whiile SSL was enabled. Changed all my URLs to http:// and then ran the network upgrade (3.6.1. > 3.7.1) and the logs have quieted down.
This would *seem* to be a bug.
Forum: Hacks
In reply to: shortcode fails to fireSolved it. The theme file was calling
get_the_content()instead of usingthe_content().See also this WordPress Answers article: http://wordpress.stackexchange.com/questions/22482/loop-on-page-makes-shortcode-fail
Forum: Hacks
In reply to: shortcode fails to fireThanks for the input Chris. Alas, these sugggestions seem not to have the desired effect.
I have discovered that there seems to be an issue using shortcodes with multisite with subdirectoriies(?) I am able to get a shortcode to render if it is in a plugin activated on the base blog (blog 1). It seems that shortcodes will not work from subdirectory-activated plugins. This is really puzzling. I can’t imagine this is true for everyone. There would be a mass developer outcry against such restrictions.
Here is a restatement of my code in case something jumps out at someone.
if( ! class_exists('RSConferenceDisplay')) : include_once( ABSPATH.'wp-includes/pluggable.php'); include_once( ABSPATH.'wp-includes/shortcodes.php'); class RSConferenceDisplay { function __construct() { add_action( 'init', array( &$this, '_init' ) ); add_shortcode('rsconf_regform',array( &$this, 'rsconf_registration_form' )); } function _init() { error_log( __CLASS__.'::'.__FUNCTION__ ); } public function rsconf_registration_form() { error_log( __CLASS__.'::'.__FUNCTION__ ); $out = array( '<div class="rsc_registration">'); $out[] = '<h1>Shortcode</h1>'; $out[] = '</div><!-- .rsc_registration -->'; return implode("\n",$out); } } if( ! isset( $rsdisplay )) { global $rsdisplay; $rsdisplay = new RSConferenceDisplay(); } endif;I see the _init method firing when the plugin loads, but the shortcode does not get replaced in the page which calls it.
Forum: Networking WordPress
In reply to: Appearance menu missing ?!Thanks for the feedback Pali,
Turns out it was a collision between a plugin and the Network Admin menu system. It was hiding the Themes menu item. Switched it off and pop. Menu is back.
Forum: Hacks
In reply to: Sort/load-order admin submenu items ?I’ve discovered that using the mu-plugins folder, and a proxy file apprpriately named (alphabetical execution order), it is possible to load the submenu elements as must use plugins and in the order I want.
Forum: Hacks
In reply to: Custom menu permissions issuesAs long as I create a submenu item in the top level plugin 9the owner of my new menu), the rest behaves as documented.
Forum: Hacks
In reply to: Show Custom Field data on All Pages table listingAh ha! ;-P
Thanks for taking the time. The quality of your feedback is most excellent. I do not require sortability for this case, so I was able to resolve it by creating an arbitrary column and feeding the data I needed visible when that column was hooked.
Thanks, bcworkz. Top notch.Forum: Hacks
In reply to: Show Custom Field data on All Pages table listingYour assumptions are correct: I am using manage_pages_custom_column docs, and the mananage_page_posts_custom_column action. I think I missed the filter manage_page_posts_columns.
I think may have been missing something in your explanation: that the filter actually adds a column name to the definition for the table, and that that column name becomes the trigger for my custom data to be written into the table. I was assuming the column had to be part of a preexisting SQL entity for it to become part of the table. I’ll have another look now with this in mind.
Had to install in the shared wordpress/wp-content/plugins folder, not a symllinked ref.
Forum: Hacks
In reply to: Custom post type not rendered into frontside nav menusRemoving the
if( is_admin() ) {
condition from around theadd_action('init',...
did the trick.