Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • in reply to: Cannot open Swift Framework Shortcodes #43973
    Weekendfm
    Member
    Post count: 4

    ok, I changed line 17. and everything is ok 🙂

    in reply to: Cannot open Swift Framework Shortcodes #43972
    Weekendfm
    Member
    Post count: 4

    Hello there,

    I have the same problem. I have changed this line in swift-framework/sf-shortcodes/config.php

    require_once( sf_wp_path() . ‘/wp-load.php’ );

    into this:

    require_once( sf_wp_path() . ‘\wp-load.php’ );

    and now there is a message:

    “Parse error: syntax error, unexpected ‘[‘ in /wp-content/themes/dante/swift-framework/sf-shortcodes/config.php on line 4”

    This is my config.php file in /swift-framework/sf-shortcodes/config.php line

    <?php
    if (!function_exists(‘sf_wp_path’)) {
    function sf_wp_path() {
    if (strstr( SF_SERVER[“SCRIPT_FILENAME”], “/wp-content/”)) {
    return preg_replace(“/\/wp-content\/.*/”, “”, SF_SERVER[“SCRIPT_FILENAME”]);
    } else {
    return preg_replace(“/\/[^\/]+?\/themes\/.*/”, “”, SF_SERVER[“SCRIPT_FILENAME”]);
    }
    }
    }

    sf_wp_path = sf_wp_path();

    if (strpos( sf_wp_path, ‘/’) !== false) {
    require_once( sf_wp_path() . ’/wp-load.php’ );
    } else {
    require_once( sf_wp_path() . ‘\wp-load.php’ );
    }
    ?>

    What is wrong? Can you help me?

    arek

    in reply to: Swift Page Builder – problem with loading #43869
    Weekendfm
    Member
    Post count: 4

    Hi bujma!

    I switched off stats and … it works 🙂 many, many thanks for your help.

    arek

    in reply to: Problem with "Theme Options" #43439
    Weekendfm
    Member
    Post count: 4

    Ok, it works 🙂

    I changed line 13 in includes/options/defaults.php into:

    if(!defined(‘Redux_OPTIONS_URL’)) {
    define(‘Redux_OPTIONS_URL’, get_template_directory_uri().’/includes/options/’);
    // define(‘Redux_OPTIONS_URL’, get_template_directory_uri().’/includes/options/’); // COMMENT OUT FOR IIS SERVERS
    }

Viewing 4 posts - 1 through 4 (of 4 total)