Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jeevaeditor

    (@jeevaeditor)

    Hi Cais and thanks so much for your assistance! I deactivated and then reactivated the reset plug-in again and then cleared the cache. Unfortunately, it didn’t work. I looked into the code for the plug-in. Do you see anything in here that might be wrong? Thanks again!

    // This is a temporary function to replace the use of WP’s esc_url which strips spaces away from URLs
    // TODO: Move this to a better place
    if (!function_exists(‘nextgen_esc_url’)) {
    function nextgen_esc_url( $url, $protocols = null, $_context = ‘display’ ) {
    $original_url = $url;

    if ( ” == $url )
    return $url;
    $url = preg_replace(‘|[^a-z0-9 \\-~+_.?#=!&;,/:%@$\|*\'()\\x80-\\xff]|i’, ”, $url);
    $strip = array(‘%0d’, ‘%0a’, ‘%0D’, ‘%0A’);
    $url = _deep_replace($strip, $url);
    $url = str_replace(‘;//’, ‘://’, $url);
    /* If the URL doesn’t appear to contain a scheme, we
    * presume it needs http:// appended (unless a relative
    * link starting with /, # or ? or a php file).

    Thread Starter jeevaeditor

    (@jeevaeditor)

    Hi – I have new info. GoDaddy says the problem is related to the domain name change in the staging site.

    A “domain name change” is the temporary domain that we provide you, also known as the “myftpupload.com” URL. In this case it is causing a detachment between your information and the plugin.

    There is no difference in our production and staging site, and this issue is not something that is caused by the hosting environment, the issue is most likely caused by the use of a temporary/different domain name.

    Is there something that needs to be set in the Nextgen gallery plug-in so that it adapts to a domain name change?

    Thanks very much – I’d love more advice!

    Thread Starter jeevaeditor

    (@jeevaeditor)

    Thank you, Cais – I wish I could say the reset plugin worked, but it didn’t. This is a huge problem for us. When we first migrated from WP engine to GoDaddy the galleries also didn’t show up and the developer had to go in and get them working again. And now the same problem is happening with the staging site. Obviously, we can’t ask the developer every time we pull a staging site to test any plug-in updates or updates to Nextgen. I’d really appreciate it if you have any other ideas that might help. Thanks again!

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