New Landing How can we help? Themeforest Theme Support Dante Shortcode generator empty

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #45880
    jkrue123
    Member
    Post count: 38

    My shortcode generator appears to be broken (screenshot attached).

    I already consulted this thread: http://support.swiftideas.net/forums/topic/shortcode-generator-broken/ and tried every option listed. Nothing has changed. Any other suggestions?

    #46575
    Melanie – SUPPORT
    Member
    Post count: 11032

    Can you go to your server and set the permissions for the folder and files inside /swift-framework/sf-shortcodes/ to 755

    If that doesn’t work, try replacing /swift-framework/sf-shortcodes/config.php with:

    <?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( $wp_path . '\wp-load.php' );
        }
    ?>
    #46703
    jkrue123
    Member
    Post count: 38

    I tried both options and neither yielded any results. I’m still only seeing a blank javascript page.

    #46724
    jkrue123
    Member
    Post count: 38

    All is well! I just updated to the newest version of Dante and it is working perfect.

    #47560
    Melanie – SUPPORT
    Member
    Post count: 11032

    Great!

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register