Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • in reply to: Dante expert needed #51336
    junetwood
    Member
    Post count: 11
    This reply has been marked as private.
    in reply to: Issue with Raw HTML element #47429
    junetwood
    Member
    Post count: 11
    This reply has been marked as private.
    in reply to: Issue with Raw HTML element #47402
    junetwood
    Member
    Post count: 11
    This reply has been marked as private.
    in reply to: Cannot open Swift Framework Shortcodes #45433
    junetwood
    Member
    Post count: 11
    This reply has been marked as private.
    in reply to: Cannot open Swift Framework Shortcodes #45070
    junetwood
    Member
    Post count: 11
    This reply has been marked as private.
    in reply to: Cannot open Swift Framework Shortcodes #44667
    junetwood
    Member
    Post count: 11

    Hi, I edited it correctly this time and still getting an error on line 17

    Please help.

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

    $wp_path = sf_wp_path();

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

    in reply to: Cannot open Swift Framework Shortcodes #44527
    junetwood
    Member
    Post count: 11

    Hi – I am having the same issue as the others

    Warning: require_once(D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\interface.php/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\config.php on line 17

    Fatal error: require_once() [function.require]: Failed opening required ‘D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\interface.php/wp-load.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\config.php on line 17

    I’ve follow the directions and edited line 17 as you can see:

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

    $wp_path = sf_wp_path();

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

    But still getting same error message as above. Please advise.

    Thanks

    in reply to: Cannot open Swift Framework Shortcodes #44170
    junetwood
    Member
    Post count: 11

    Hi – I am having the same issue as the others

    Warning: require_once(D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\interface.php/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\config.php on line 17

    Fatal error: require_once() [function.require]: Failed opening required ‘D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\interface.php/wp-load.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\5068133\html\wp-content\themes\dante\swift-framework\sf-shortcodes\config.php on line 17

    I’ve follow the directions and edited line 17 as you can see:

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

    $wp_path = sf_wp_path();

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

    But still getting same error message as above. Please advise.

    Thanks

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