Forum Replies Created

Viewing 15 replies - 211 through 225 (of 272 total)
  • There are various options.
    1) Rename the plugin directory (theme-my-login) via ftp, ssh or whatever you have access to. (This will actually disable the plugin) or 2) Change the settings manually via SQL query (advanced since you need some implementation details)

    Well you changed to redirect but the issue is with referer. So the issue is not “resolved itself”.

    It would help a lot if you could tell what you changed recently. Maybe a redirect to the login page? Anyway I think this is not related to this particular issue.

    Hi Jeff Farthing,
    I’m using TML for the same thing as fourwhitesocks. (Referer after login & logout)
    The actual error looks like this after visiting the link from the mail sent via email when creating a new user.
    The content of the mail is:

    Username: theUsername
    To set your password, visit the following address:
    <http://example.com/resetpass/?key=Yccndncnsdkjfnsdkjnfkjsndfk&login=theUsername>
    http://example.com

    I don’t have SSL on this site and no cache is installed. (Except php’s own OPcache)
    php -version:

    PHP 5.6.9-0+deb8u1 (cli) (built: Jun  5 2015 11:03:27)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies

    WordPress 4.3
    Please tell me if you need further information. I appreciate a solution.

    Marked as Resolved because lack of information.

    Thread Starter No3x

    (@no3x)

    Hi David,
    stumbled upon this. Perhaps this is related?

    Thread Starter No3x

    (@no3x)

    Also 3 CPT are fine! Just send me your current development version which shows this strange behaviour so we are sure we talk about the same.
    Or maybe specify “weird things to how the sidebar formats”.
    But I can’t confirm “(as in menu items move when the mouse rolls over them, the whole thing acts like its been corrupted and doesn’t know that items aren’t there).” for my state.

    Thread Starter No3x

    (@no3x)

    I added another CPT and did not experience any display errors. I was not able to get the CPT in the tab (as shown in the image) but I created a image for clarification at least.
    If this it what you want to do you could add this to the support case, since miunosoft might not understood what you want to archive.

    Thread Starter No3x

    (@no3x)

    Great news! If you like I could look into this.

    Thread Starter No3x

    (@no3x)

    Hi Guys. I waited some time expecting this issue would kinda sort out itself (of course this will not happen). I created a little helper plugin to hide the CPT menu entries. Now it would be cool when clicking the tabs in the settings they would open the CPT.
    David, is there a filter or something to archive this? (Overwriting the tab link or the tab content)
    With a little help from your side I could integrate this whole thing as feature with setting.
    What do you think about this?

    Fixed per 077ca2c

    Cool! Join the chat on gitter or send me login credentials for a screen sharing app (preferably Teamviewer) directly: contact

    I’m sorry ilanaguttman, I can’t reproduce this behaviour and since nobody else reported this I must assume that it’s a problem with your WordPress installation or another theme.
    If somebody else reports this we are likely able to find similarities.

    As last chance we could do a screen sharing to do some debug in your environment.

    It seems like the ‘singular’, ‘plural’ and ‘ajax’ are not passed to the super-constructor. But the WordPress shipped WP_List_Table classes support these attributes for sure.
    Do you have another theme installed? Looks like the WP_List_Table class is overwritten somewhere – with one that doesn’t store these attributes.
    What’s your php version?

    Yes I’m talking about the plugin files in wp-content/plugins/wp-mail-logging/.
    For debugging we must change the wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('WP_DEBUG_LOG', true);
    define('SAVEQUERIES', true);

    Now we are able to debug several points:
    First try to reproduce the behaviour and see if there are any errors displayed. If there are no errors try to debug the sql.

    SQL
    There are few sql queries in the plugin. The relevant delete query is in WPML_Email_Log_List.php#L329. We loop over all submitted mail_id’s and delete them. Since SAVEQUERIES is defined all queries are saved to $wpdb->queries, so we can add a debug print to the debug.log (you can find it at wp_content/debug.log (because WP_DEBUG_LOG is defined))

    $wpdb->query( $wpdb->prepare("DELETE FROM $tableName WHERE mail_id = %d", esc_sql($item_id) ), ARRAY_A );
    error_log( print_r( $wpdb->queries, true ) );

    See if the sql is fine.
    The output should be similar to:

    [48] => Array
            (
                [0] => DELETE FROM 'wp_wpml_mails' WHERE 'mail_id' = 74
                [1] => 0.0086419582366943
                [2] => do_action('toplevel_page_wpml_plugin_log'), call_user_func_array, WPML_OptionsManager->LogMenu, Email_Logging_ListTable->prepare_items, Email_Logging_ListTable->process_bulk_action
            )

    Depending on the result of your investigation we can try other things.

    Thanks for the detailed information that really helps in such cases.

    The plugin uses the current timestamp from the database (see https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_now).
    From now the plugin uses the time from WordPress when saving the mail to the database instead of using the database timestamp.

    I can create a beta version of the plugin for you to manually install and test it (would be nice). Otherwise it will be integrated in the next plugin version (1.6.0) (But then I hopefully really fixed it)

Viewing 15 replies - 211 through 225 (of 272 total)