gtk_
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Javascript to bottomTip: You might want to install HTML gzip compress too ??
Forum: Plugins
In reply to: [Plugin: WP Super Cache] File not cached! Super Cache Couldn’t write to:Try to deactivate the plugin, this will perhaps remove
the cache folder. Create the folder with your FTP program and set
permissions to 777 and then activate the plugin again.I suggest you create .htaccess file if you don’t have already one
on your server root and place on the first line:php_flag display_errors on
Tell us what error shows and will tell you how to fix it ??
George
To fix this remove completely function widget_yarpp_init()
from includes.php, also the line add_action(‘plugins_loaded’, ‘widget_yarpp_init’); from yarpp.phpInstead of widget_yarpp_init() place this code, and the plugin will be
working with multiple sidebars:class YarppWidget extends WP_Widget { /** constructor */ function YarppWidget() { parent::WP_Widget(false, $name = 'YARPP Widget'); } /** @see WP_Widget::widget */ function widget($args, $instance) { extract($args); global $wpdb, $post; if (is_single() && have_posts()) { get_post($post->ID); echo $before_widget; echo $before_title . __('Related Posts','yarpp') . $after_title; echo yarpp_related(array('post'),array()); echo $after_widget; } } /** @see WP_Widget::update */ function update($new_instance, $old_instance) { return $new_instance; } /** @see WP_Widget::form */ function form($instance) { $title = esc_attr($instance['title']); } } // class YarppWidget add_action('widgets_init', create_function('', 'return register_widget("YarppWidget");'));
Regards,
GeorgeForum: Everything else WordPress
In reply to: wordpress 2.9 and including the wp-config.php in pluginsHm actually my problem after playing couple of hours it appears
to be in HTML gzip compression plugin, so if you guys have download script
perhaps like wp-filebase and you use gzip output compression you need workaround so you don’t end up like i did ??Cheers
Forum: Everything else WordPress
In reply to: wordpress 2.9 and including the wp-config.php in pluginsHave same problem here, with external PHP file when including
wp-config.php gives strange results.
It’s a file downloader – corrupts the files for download, with older versions (not 2.9.2) I didn’t have any troubles ??