Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter cjsdfw

    (@cjsdfw)

    Ok, found the problem: my onw fault. Thanks so much.

    Thread Starter cjsdfw

    (@cjsdfw)

    Hi Jarrryd and thanks for replying. However passing two parameters to the hook ‘pmpro_after_change_membership_level’ still couses it to fail.

    Please note documentation reflects it needs three parameters:

    do_action( 'pmpro_after_change_membership_level', int $level_id, int $user_id, int $cancel_level );
    https://www.paidmembershipspro.com/hook/pmpro_after_change_membership_level/

    You are referencing a different hook:

    /**
     * When users expire we give them an "expired" level.
     * Set your "expired" level ID on line 26
     *
     * You can add this recipe to your site by creating a custom plugin
     * or using the Code Snippets plugin available for free in the WordPress repository.
     * Read this companion article for step-by-step directions on either method.
     * https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
     */
    function pmpro_after_change_membership_level_default_level($level_id, $user_id)

    Please advise, thanks.

    THe root cause of the issue is that the Plugin does not really support Multisite. I have submitted the code required to make it compliant with Multisite to the developer, hopefully he will integrate the code and make it available to everyone. Meantime if you are interested in the code you can PM me.

    Thread Starter cjsdfw

    (@cjsdfw)

    I think Peter should look at this.
    I found the reference below which described a workarround consisting in activating the plugin in each site manually as opposed to Network Activate.

    Workarround

    I tested the workarround and it worked. I did some further testing and found out the following:

    After manually activating for each site I went ahead and deactivated each indivudal site plugin and re activated for Network. I was able to add new role rules.

    I added a new site but I was not able to define redirect rules for the new site. I Network deactivated the plugin, activated manualy for the site, deactivated the plugin and Network activated the plugin again. I was able to create the rules.

    Seems like a small glitch but very anoying and inconvenient for Multisite sites.

    Hope it get resolved, the reference issue was marked as RESOLVED which is not, workarrounds are not resolutions.

    I just ran into the same issue, your bypass works great. Seems like a worthwhile fix for the developer.

    Thread Starter cjsdfw

    (@cjsdfw)

    Ok, just in case some else runs into this issue this is how I resolved it:

    1) There are no restrictions on running WP Multisite in an Apache Virtual Host
    2) In fact you can configure multiple WP Multisites each on its own Virutal Host without issues.

    I was able to identify two problems: these were my issues, yours may be different but keep an eye for this ones:

    1) I wanted to support SSL so I found out you MUST define an SSL certificate for each of the WP Multisite installs specific to the WPMU domain.
    2) If you have domain mapped WPMU site you also need to configure SSL certificates for those sites.
    3) Since I am running a “Private Network” it was crucial to disable OCSP Stapling for this setup to work

    The following site was of great help in uncovering the above issues:
    https://ssl-config.mozilla.org/#server=apache&server-version=2.4.29&config=intermediate&openssl-version=1.1.1

    I hope this may help others.

    Thread Starter cjsdfw

    (@cjsdfw)

    Ok, so I restore a backup and fixed the issue.

    Thread Starter cjsdfw

    (@cjsdfw)

    Sorry for the delay in posting the settings info,I was sick:-(

    Thread Starter cjsdfw

    (@cjsdfw)

    WordPress version: 5.2.3
    BackWPup version: 3.6.10
    PHP version: 7.0.33 (64bit)
    MySQL version: 5.6.36-82.1-log
    cURL version: 7.59.0
    cURL SSL version: OpenSSL/1.0.2r
    WP-Cron url: https://pr-homes.com/wp-cron.php
    Server self connect: Not expected HTTP response:
    Status-Code: 500
    Server: nginx
    Date: Sat, 12 Oct 2019 16:39:21 GMT
    Content-type: text/html; charset=utf-8
    Content-length: 1101
    X-powered-by: PHP/7.0.33
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-control: no-cache, must-revalidate, max-age=0
    Vary: Accept-Encoding,User-Agent
    Content-encoding: gzip
    Content: <!DOCTYPE html>
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; lang=”es-ES”>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <meta name=”viewport” content=”width=device-width”>
    <meta name=’robots’ content=’noindex,follow’ />
    <title>WordPress › Error</title>
    <style type=”text/css”>
    html {
    background: #f1f1f1;
    }
    body {
    background: #fff;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif;
    margin: 2em auto;
    padding: 1em 2em;
    max-width: 700px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    }
    h1 {
    border-bottom: 1px solid #dadada;
    clear: both;
    color: #666;
    font-size: 24px;
    margin: 30px 0 0 0;
    padding: 0;
    padding-bottom: 7px;
    }
    #error-page {
    margin-top: 50px;
    }
    #error-page p {
    font-size: 14px;
    line-height: 1.5;
    margin: 25px 0 20px;
    }
    #error-page code {
    font-family: Consolas, Monaco, monospace;
    }
    ul li {
    margin-bottom: 10px;
    font-size: 14px ;
    }
    a {
    color: #0073aa;
    }
    a:hover,
    a:active {
    color: #00a0d2;
    }
    a:focus {
    color: #124964;
    -webkit-box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, 0.8);
    box-shadow:
    0 0 0 1px #5b9dd9,
    0 0 2px 1px rgba(30, 140, 190, 0.8);
    outline: none;
    }
    .button {
    background: #f7f7f7;
    border: 1px solid #ccc;
    color: #555;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    margin: 0;
    padding: 0 10px 1px;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    }

    .button.button-large {
    height: 30px;
    line-height: 28px;
    padding: 0 12px 2px;
    }

    .button:hover,
    .button:focus {
    background: #fafafa;
    border-color: #999;
    color: #23282d;
    }

    .button:focus {
    border-color: #5b9dd9;
    -webkit-box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
    box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
    outline: none;
    }

    .button:active {
    background: #eee;
    border-color: #999;
    -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
    }

    </style>
    </head>
    <body id=”error-page”>
    <p>El sitio está experimentando dificultades técnicas.</p></body>
    </html>

    Document root: /home/carloss2/public_html
    Temp folder: /home/carloss2/public_html/wp-content/uploads/backwpup-54866b-temp/
    Log folder: /home/carloss2/public_html/wp-content/uploads/backwpup-54866b-logs/
    Server: Apache/2.4.39 (Unix) mod_hive/6.27 OpenSSL/1.0.1e-fips mod_fastcgi/2.4.6
    Operating System: Linux
    PHP SAPI: cgi-fcgi
    Current PHP user: carloss2
    Maximum execution time: 45 seconds
    BackWPup maximum script execution time: 30 seconds
    Alternative WP Cron: Off
    Disabled WP Cron: Off
    CHMOD Dir: 493
    Server Time: 16:39
    Blog Time: 12:39
    Blog Timezone:
    Blog Time offset: -4 hours
    Blog language: en-US
    MySQL Client encoding: utf8mb4
    PHP Memory limit: 512M
    WP memory limit: 512M
    WP maximum memory limit: 512M
    Memory in use: 18.00 MB
    Loaded PHP Extensions:: Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

    Thread Starter cjsdfw

    (@cjsdfw)

    Hi Davood,

    Thanks for responding.

    I do not want to change the permalink setting, this will change it for all posts.

    Rather I have a need to determine the raw (plain permalink) from the current permalink: in other words reverse the rewrite for a specific link. In code and for specific conditions I want to set a page hyperlink to the “plain permalink” instead of the permalink specified in permalink settings.

    Thanks,
    Carlos

    Thread Starter cjsdfw

    (@cjsdfw)

    Sure,

    It is a type of file Realtyna WPL PRO (real estate plugin) uses for multiple purposes: it defines a template file to be used in a given process.

    The point is BackWPup is confusing an extension of .tmp with .tmpl, perhaps it is using a “like” function instead of checking the actual file extension when it make the decision to exclude files.

    EI:
    “like” .tmp% instead of “equal” .tmp where % is a wild card.
    Just a thought.

    Carlos

    Thread Starter cjsdfw

    (@cjsdfw)

    You are 100% correct, it is the global $domain variable that controls the cloned blog domain. I used get_network()->domain to get the network domain and temporarily set global $domain to it returning it to the calling blog domain afterwards: it works!
    Thank you so much!

    Thread Starter cjsdfw

    (@cjsdfw)

    I did not see them before although I did search for similar issues.
    Anyways, it is indeed the same issue.
    I downloaded WinRar and open one of the backups with issue and indeed the files are there but like commented on the other tickets they are all prefixed by “.\.name.ext

    Image of WinRar

    Can I provide some more info to help resolve? Be happy to do so.

    Thanks,
    Carlos

    Thread Starter cjsdfw

    (@cjsdfw)

    Hi @duongcuong96,

    Here is the PDF

    Copy of FIles tab

    Thanks,
    Carlso

    Thread Starter cjsdfw

    (@cjsdfw)

    Hi @duongcuong96,

    I have created a pdf of the Files tab so you can see it in its entirety but I am afraid I can’t find a way to attach a file to this ticket, please advise.
    Carlos

Viewing 15 replies - 1 through 15 (of 22 total)