Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter cinman

    (@cinman)

    Thank you!

    Thread Starter cinman

    (@cinman)

    Hi, so I’m testing this out more and I see I can update Category and probably actual post content, but it will not update postmeta when using the [preplace]. Upon post creation, I can use [pcustom name=phone value=”7025551212″] and it will populate the postmeta just fine, but if I change that, or any other postmeta field, it does not update. Only the Post Category (contained in the Subject) will update. I don’t use post_content, so that i have not tested, but I’m sure it would work. What I need is the postmeta updated.

    Am I missing something, or is the limitation of the plugin?

    Any chance that I could see the preplace match to the post_id or post_slug in the subject as well as having postmeta update as well?

    I know it sounds weird and I could use REST API, but then I would have to expose my servers and I don’t want to do that.

    Semper Fi!

    Thread Starter cinman

    (@cinman)

    I see that I can use the Shortcode add-on to use the [preplace] function; however, the doc says “In order for Postie to know which post to replace your email subject must match the post title exactly.”
    So I have many posts with the same Post Title i.e. Mary Smith. But they would have different slugs i.e mary-smith and mary-smith-2.
    How would this work? is it Post Title only? How would it differentiate?
    Or is it post slug?
    Thanks in advance.

    Thread Starter cinman

    (@cinman)

    For anyone else that may be interested, I have received a solution via email.

    Sorry for the delay, yes you were correct with just doing the same, as they get added to an array for meta_value.

    function my_wpmdb_anonymization_rules( $config ) {
    $config[‘postmeta’][‘meta_value’][] = array(
    ‘constraint’ => array( ‘meta_key’ => ‘cc_num’ ),
    ‘fake_data_type’ => ‘creditCardNumber’,
    );

    $config[‘postmeta’][‘meta_value’][] = array(
    ‘constraint’ => array( ‘meta_key’ => ‘cvv’ ),
    ‘fake_data_type’ => ‘numberBetween($min = 101, $max = 999)’,
    );

    return $config;
    }

    Cheers,
    Iain

    Thread Starter cinman

    (@cinman)

    I have resolved the issue. My new hosting manages outgoing connections. the logs showed the blocked connection to your servers for authentication and I was able to whitelist from my side.
    The connection resolved, allowed the Migrate plugin and I’m running it now.

    Thanks

    Thread Starter cinman

    (@cinman)

    I finally was able to get error reporting to work. The only error that gets reported at all during the unsuccessful database backup, when all plugins are enabled is – below-

    [06-Sep-2013 04:45:34 UTC] PHP Fatal error: Out of memory (allocated 23855104) (tried to allocate 269817 bytes) in /root/blog/wp-content/plugins/updraftplus/backup.php on line 858

    Thread Starter cinman

    (@cinman)

    More testing – again, I don’t know which plugin is causing the issue, but I can get a proper backup by deactivating all plugins prior to a backup. So, did so, and updated to WP 3.6. Tested again, same results.

    Thread Starter cinman

    (@cinman)

    I added the logging script below to my php.ini file under wp-admin and added a plugin to read any errors, but nothing is showing for errors, nor is the file being created that I can see. I ran several other manual backups with the same results of No Database. My host is 1and1 if that means anything. I’m not sure if the php.ini is set correctly and in the correct spot to catch anything.

    error_reporting = 4339
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    error_log = /php_error.log
    log_errors_max_len = 1024
    ignore_repeated_errors = On
    ignore_repeated_source = Off
    html_errors = Off

    Thread Starter cinman

    (@cinman)

    https://pastebin.com/G5NLEp63
    Replaced actual server paths with /rootDir/

Viewing 9 replies - 1 through 9 (of 9 total)