Forum Replies Created

Viewing 15 replies - 61 through 75 (of 241 total)
  • Thread Starter Greybox

    (@greybox)

    The only problem I have is that even blocked pages still show the widgets, at least on Graphene theme I use. I guess, this plugin cannot block widgets.

    Thread Starter Greybox

    (@greybox)

    [wpmem_logged_in]You are logged in as [wpmem_field field="user_login"][/wpmem_logged_in]

    works perfectly fine, thank you!!

    Thread Starter Greybox

    (@greybox)

    More details here from the Advanced Image Styles plugin author:

    https://wordpress.org/support/topic/conflicts-with-file-un-attach-plugin?replies=2

    Could you please fix your plugin?

    Thread Starter Greybox

    (@greybox)

    Does it look like pressing Empty Trash or Delete buttons in Trash tab of Media Cleaner plugin initiates wpmc_trash_file function instead of wpmc_delete function? What part of the code is responsible for that and why it works differently on your computer and my computer?

    I also went to “inspect element” and this is what I see:

    Delete All button in Issues tab shows the following code for me:

    <a id="wpmc_delete_all" onclick="wpmc_delete_all()" class="button button-red" style="float: right; margin-left: 5px;"><img style="position: relative; top: 3px; left: -2px; margin-right: 3px; width: 16px; height: 16px;" src="http://www.nautilus-intl.com/wordpress/wp-content/plugins/wp-media-cleaner/img/delete.png">Delete all</a>

    Empty Trash button in Trash tab shows the following code:

    <a id="wpmc_delete_all" onclick="wpmc_delete_all(true)" class="button button-red" style="float: right; margin-left: 5px;"><img style="position: relative; top: 3px; left: -2px; margin-right: 3px; width: 16px; height: 16px;" src="http://www.nautilus-intl.com/wordpress/wp-content/plugins/wp-media-cleaner/img/trash.png">Empty trash</a>

    Both buttons refer to <a id="wpmc_delete_all" onclick="wpmc_delete_all... – is this correct for Empty Trash button?

    The code seems to originate from lines 731 and 733 of wp-media-cleaner.php:

    <a id='wpmc_delete_all' onclick='wpmc_delete_all(true)' class='button button-red' style='float: right; margin-left: 5px;'><img style='position: relative; top: 3px; left: -2px; margin-right: 3px; width: 16px; height: 16px;' src='<?php echo trailingslashit( WP_PLUGIN_URL ) . trailingslashit( 'wp-media-cleaner/img'); ?>trash.png' /><?php _e("Empty trash", 'wp-media-cleaner'); ?></a>
    <a id='wpmc_delete_all' onclick='wpmc_delete_all()' class='button button-red' style='float: right; margin-left: 5px;'><img style='position: relative; top: 3px; left: -2px; margin-right: 3px; width: 16px; height: 16px;' src='<?php echo trailingslashit( WP_PLUGIN_URL ) . trailingslashit( 'wp-media-cleaner/img'); ?>delete.png' /><?php _e("Delete all", 'wp-media-cleaner'); ?></a>
    Thread Starter Greybox

    (@greybox)

    Jordy:

    My steps are:

    1. Went to Media Cleaner
    2. Clicked Reset
    3. Used an FTP program and make sure there are no files in wpmc-trash folder, deleted PHP debug log.
    4. Clicked Scan in Media Cleaner.
    5. Waited until 100% is scanned
    6. Done. 18 issue(s) found. Clicked refresh.
    7. Put check mark against one of the files I am sure I don’t need – camera_animation.gif (+ 3 files)
    8. Clicked Delete button in Media Cleaner
    9. Clicked Empty Trash (without and with checking the individual files). Done. Clicked refresh. There are 4 files in trash (only ./camera_animation-250×250.gif shows the thumbnail, camera_animation.gif, ./camera_animation-300×225.gif and ./camera_animation-400×120.gif show broken thumbnails)
    10. Checked the PHP log, nothing related to Media Cleaner plugin.
    11. Done. Clicked refresh. All 4 files are still listed in Trash. Used FTP client, checked the wpmc-trash folder there are 4 files in that folder.
    12. Checked the log. It now contains the following:

    [13-Jun-2014 17:07:14 UTC] PHP Warning:  rename(/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/./camera_animation-400x120.gif,/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/./camera_animation-400x120.gif) [<a href='function.rename'>function.rename</a>]: No such file or directory in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 254
    [13-Jun-2014 17:07:14 UTC] PHP Notice:  Undefined variable: trashPath in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 304
    [13-Jun-2014 17:07:14 UTC] PHP Warning:  rename(/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/./camera_animation-300x225.gif,/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/./camera_animation-300x225.gif) [<a href='function.rename'>function.rename</a>]: No such file or directory in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 254
    [13-Jun-2014 17:07:14 UTC] PHP Notice:  Undefined variable: trashPath in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 304
    [13-Jun-2014 17:07:14 UTC] PHP Warning:  rename(/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/./camera_animation-250x250.gif,/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/./camera_animation-250x250.gif) [<a href='function.rename'>function.rename</a>]: No such file or directory in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 254
    [13-Jun-2014 17:07:14 UTC] PHP Notice:  Undefined variable: trashPath in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 304
    [13-Jun-2014 17:07:14 UTC] PHP Warning:  rename(/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/camera_animation.gif,/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/camera_animation.gif) [<a href='function.rename'>function.rename</a>]: No such file or directory in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 254
    [13-Jun-2014 17:07:14 UTC] PHP Notice:  Undefined variable: trashPath in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 304
    [13-Jun-2014 17:08:27 UTC] PHP Notice:  wpdb::escape is <strong>deprecated</strong> since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-includes/functions.php on line 3078

    May I ask which part of your script initiates the actual file deletion process? Why “Rename” warnings and trashPath notices in the PHP log always appear as a result of pressing Empty Trash or Delete buttons on the Trash tab. Maybe, to avoid any confusion, can you change your script to get rid of PHP Notice and Warning messages?

    For PHP I have a choice of version PHP 4 and PHP 5. Currently it is set to PHP 5.

    DB Type is currently MySQL5.

    Thread Starter Greybox

    (@greybox)

    I understand that I am not the only user who has this problem. I will try to help you as much as I can, but I am not a programmer and I will need your guidance, if you don’t mind.

    Immediately after I attempt to empty trash, My PHP log shows the following:

    [12-Jun-2014 19:56:44 UTC] PHP Warning: rename(/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/./miner-228x56.jpg,/services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/./miner-228x56.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 254

    [12-Jun-2014 19:56:44 UTC] PHP Notice: Undefined variable: trashPath in /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/plugins/wp-media-cleaner/wp-media-cleaner.php on line 304

    wp-media-cleaner.php, line 254:

    if ( is_dir( $originalPath ) || !rename( $originalPath, $trashPath ) ) {
    
    wp-media-cleaner.php, line 304:
    <code>wpmc_clean_dir( $trashPath );</code>

    Based on my very limited knowledge, it looks like your script in line 254 is trying to rename the file in uploads/./miner-228x56.jpg folder into wpmc-trash/./miner-228x56.jpg, but by this time the file miner-228×56.jpg is no longer in uploads folder, it is already in wpmc-trash folder. So why are you trying to move/rename a non-existing file instead of deleting it?:

    rename(
    /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/./miner-228x56.jpg,
    /services/webpages/n/a/nautilus-intl.com/public/wordpress/wp-content/uploads/wpmc-trash/./miner-228x56.jpg
    )

    As for the second error, it seems like trashPath variable is defined in this line:
    $trashPath = trailingslashit( wpmc_trashdir() ) . $issue->path;

    It looks like $trashPath is still undefined. Is the syntax correct?

    Thread Starter Greybox

    (@greybox)

    Updated to the latest version, still empty trash doesn’t work.

    Thread Starter Greybox

    (@greybox)

    “Simple loop protection” (default) did not work, obviously.
    “Loop protection for older or misbehaving themes” did not work.
    “Last attempt at loop protection” fixed the issue, thank you!

    What I would like to know is what am I missing with the “Last attempt at loop protection”, what is the difference and maybe is there a way to resolve this loop problem at the default level between you and Graphene theme developer:

    http://wordpress.org/themes/graphene

    Thread Starter Greybox

    (@greybox)

    I am sorry if I missed anything. I see for 2.9.2 Release Notes: “Added logout shortcode”, but I couldn’t find the logout shortcode in the User Guide. What would be correct syntax?

    Thread Starter Greybox

    (@greybox)

    I agree with Greg. I think any next version should keep the previous version features unless there is a very good reason for removing that feature. Adding any extra plugin will always put you at incompatibility risk immediately or in the future.

    Forum: Plugins
    In reply to: [Image Parallax] Scroll
    Thread Starter Greybox

    (@greybox)

    If you could make the VERTICAL parallax to respond to the mouse scroll wheel, that could help to make really cool websites.

    Thread Starter Greybox

    (@greybox)

    I just checked – it seems the shortcode is parsed, but I am not sure if everything else works properly.

    Thread Starter Greybox

    (@greybox)

    Global template won’t work for this situation. What do you think about using a text widget with a [poll id="2"] or similar shortcode with <img src=".. code to display a picture?

    Thread Starter Greybox

    (@greybox)

    @jrf: I’ve been actively using the unofficial version 1.6 for more than two months now and I love this plugin! It makes my life so much easier. It works perfectly fine with WordPress 3.8.1 and even 3.9.1 and I didn’t see any problems whatsoever. For some reason the latest official stable version is still 1.1 instead of 1.6 and I am sure WordPress community is missing this wonderful plugin!

    Thread Starter Greybox

    (@greybox)

Viewing 15 replies - 61 through 75 (of 241 total)