New Landing How can we help? Themeforest Theme Support Dante Cannot open Swift Framework Shortcodes

Viewing 7 posts - 31 through 37 (of 37 total)
  • Posted in: Dante
  • #55105
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Still get issues when testing with that. Think it’s not a very common structure – given you are the first person that has mentioned this to us.

    Will have a think about what we can do to work around that.

    – Ed

    #55631
    Jan B
    Member
    Post count: 14

    Yes i think using composer with wordpress is not very common at the moment but in my oppinion composer in general is rising.

    I found a solution for me which suit us both.

    I put a modified wp-load.php in my root so that I can use your solution.

    It would be awesome if you could include your solution in an upcoming release of the theme 🙂

    #55651
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Will look into it!

    Thanks,

    – Ed

    #113387
    jasonleerogers
    Member
    Post count: 4

    Hello,

    I am having the same issue as above, even after trying all of the fixes.

    Here is my config.php file:

    <?php
    	if (!function_exists('sf_wp_path')) {
    		function sf_wp_path() {
    			$wp_path = "";
    			if (strstr($_SERVER["SCRIPT_FILENAME"], "/wp-content/")) {
    				$wp_path = preg_replace("/\/wp-content\/.*/", "", $_SERVER["SCRIPT_FILENAME"]);
    			} else {
    				$wp_path = preg_replace("/\/[^\/]+?\/themes\/.*/", "", $_SERVER["SCRIPT_FILENAME"]);
    			}
    			
    		if (strpos($wp_path, 'interface.php') !== FALSE) {
    				$absolute_path = __FILE__;
    				$file_path = explode( 'wp-content', $absolute_path );
    				$wp_path = $file_path[0];
    			}
    			
    			return $wp_path;	
    		}
    	}
    	
    	$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' );
    	}
    ?>
    #113450
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @jasonleerogers – check in your .htaccess file within the WordPress root and /wp-admin, and check if you have anything like this:

    <Files *.php>
    deny from all
    </Files>

    If so, remove that.

    – Ed

    #113513
    jasonleerogers
    Member
    Post count: 4
    This reply has been marked as private.
    #113901
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    That looks like the file within the root. Have you checked the file in /wp-content ?

    – Ed

Viewing 7 posts - 31 through 37 (of 37 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