Forum Replies Created

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter desean

    (@desean)

    btw, i was trying to remove the code you mentioned above to try but i couldn’t find it. i think you might be using version 3.2 (the latest version on www.ads-software.com) but i forgot to mention that i’m using version 3.3.3 (found at the theme’s website)

    Thread Starter desean

    (@desean)

    but any idea why the WP-reCAPTCHA plugin isn’t affected?

    i’m voting for this as well. hope to see it soon.

    Thread Starter desean

    (@desean)

    Just to inform that it is compatible with my 2.7 install

    I would like to vote for this as well.

    With the regular updates for WP Super Cache, users of both WP Super Cache and Bad Behavior have to edit the file manually which isn’t practical in the long run.

    May I suggest that the compatibility code be added to wp-cache-phase1.php first, then introduce the cache_action method later (and remove the compatibility code) when it is ready?

    Thread Starter desean

    (@desean)

    btw to fix this issue currently, i have replaced all sanitize() functions with sanitize_title_with_dashes() in Gallery2_ImageBlock.php

    i don’t know if sanitize_title_with_dashes() is the correct function to use but at least your plugin is working for me right now.

    please let me know what you discover with my above inputs.

    anyway thanks for this plugin

    Thread Starter desean

    (@desean)

    sorry for my late reply. was busy so didn’t check for quite a while.

    i was using version 2.6.2 then. now using 2.6.3 and the problem still exist

    when i mentioned editing my path, i meant the path mentioned in your installation note: “Configure the Gallery2 URL option to match your Gallery install. Do not include main.php or the trailing slash.”

    My gallery URL is https://www.dragonscouts.com/gallery

    just so you know, the error occurs in the dashboard under Design > Widgets section (see screenshot: https://bayimg.com/malfhaabN )

    I had thought the function “sanitize” belongs to Gallery instead of wordpress. I did a search for “function sanitize” in all my wordpress (exclude plugins) and gallery2 files and the result is as follows:

    gallery2\install\InstallStep.class
    function sanitize($string)
    gallery2\modules\core\classes\GalleryUtilities.class
    function sanitizeInputValues(&$value, $adaptForMagicQuotes=true)
    gallery2\modules\search\classes\SearchUtilities.class
    function sanitizeSearchCriteria($string)
    gallery2\upgrade\UpgradeStep.class
    function sanitize($string)
    wordpress\wp-includes\bookmark.php
    function sanitize_bookmark($bookmark, $context = 'display')
    function sanitize_bookmark_field($field, $value, $bookmark_id, $context)
    wordpress\wp-includes\category.php
    function sanitize_category($category, $context = 'display')
    function sanitize_category_field($field, $value, $cat_id, $context)
    wordpress\wp-includes\comment.php
    function sanitize_comment_cookies()
    wordpress\wp-includes\formatting.php
    function sanitize_file_name( $name ) { // Like sanitize_title, but with periods
    function sanitize_user( $username, $strict = false ) {
    function sanitize_title($title, $fallback_title = '') {
    function sanitize_title_with_dashes($title) {
    function sanitize_sql_orderby( $orderby ){
    function sanitize_email($email) {
    function sanitize_url( $url, $protocols = null ) {
    function sanitize_option($option, $value) { // Remember to call stripslashes!
    wordpress\wp-includes\post.php
    function sanitize_post($post, $context = 'display') {
    function sanitize_post_field($field, $value, $post_id, $context) {
    wordpress\wp-includes\taxonomy.php
    function sanitize_term($term, $taxonomy, $context = 'display') {
    function sanitize_term_field($field, $value, $term_id, $taxonomy, $context) {

    it seems that wordpress do not have the sanitize() function. gallery2 have but they are in “install\InstallStep.class” & “upgrade\UpgradeStep.class” files. I don’t think gallery2 use these 2 files except during installtion.

    by the way, i have the following activated plugins (fyi, i have deactivated all plugins except this and still got the same error):
    AdSense Manager
    Akismet
    All in One SEO Pack
    AskApache Google 404
    AskApache Password Protect
    cforms
    External Gallery2 Image Block Plugin
    Google Analyticator
    Google XML Sitemaps
    Lightbox 2 Plugin
    Post Tabs
    Subscribe To Comments
    Wordpress Automatic Upgrade
    WP-EMail
    WP-EMail Widget
    WP-FLV
    WP-PageNavi
    WP-Print
    WP Security Scan
    Yet Another Related Posts Plugin

    Thread Starter desean

    (@desean)

    isn’t there someone who has the same problem as me?

    Thread Starter desean

    (@desean)

    my issue is resolved now. instead of creating the .htaccess file myself, i make use of the AA Password Protect found at:

    https://www.askapache.com/wordpress/htaccess-password-protect.html
    https://www.askapache.com/wordpress/new-version-of-password-protection-plugin.html
    https://www.askapache.com/htaccess/htaccess-plugin-blocks-spam-hackers-and-password-protects-blog.html

    p.s. they are all the same thing. the last 2 links only add more info

Viewing 9 replies - 16 through 24 (of 24 total)