New Landing How can we help? Themeforest Theme Support Neighborhood Shortcode generator broken

Viewing 15 posts - 1 through 15 (of 17 total)
  • #37289
    n8-b
    Member
    Post count: 99

    Hi there,

    Since updating to version 1.51 the shortcode generator has stopped working entirely in Firefox and works when it wants to in Chrome. Neither browser will allow me to insert the shortcode for the image banner.

    The error log that is generated in swift-framework/sf-shortcodes says this:
    [16-Dec-2013 09:47:36 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpdm_do_login' not found or invalid function name in /home/yesmagco/public_html/wp-includes/plugin.php on line 429

    I’ve attached a screenshot of what the shortcode generator modal window looks like in Firefox.

    Thanks!

    #37663
    mr_pa
    Member
    Post count: 31

    Here the same with chrome!

    Please Fix!

    #37664
    mr_pa
    Member
    Post count: 31

    I’ve checked further and i figured out that the shortcode generator doesn’t work with the new image banner code.

    #38082
    Melanie – SUPPORT
    Member
    Post count: 11032

    I’ll forward this to the developer of the theme right away!

    Thank you!

    #38112
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thank you for letting me know about this guys, going to push a v1.52 update now to fix this.

    – Ed

    #38830
    KennethJ
    Member
    Post count: 25

    Shortcode generator still broken – now the window just opens a 404.

    Using Neighborhood 1.5.2 and WP 3.8

    #38955
    cbshear
    Member
    Post count: 1

    Same here. When I click the shortcode generator button it brings up a window that says

    “Warning: require_once(D:\Hosting\9739631\html\okc\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\9739631\html\okc\wp-content\themes\dante\swift-framework\sf-shortcodes\config.php on line 12

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

    Please let me know how this can be resolved.

    Thanks,
    Cooper

    #39594
    KennethJ
    Member
    Post count: 25

    Anything?

    #39659
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @KennethJ – if you’re getting a 404, this is likely being blocked by your server setup. Try checking any .htaccess files you have in your WordPress directory / wp-admin directory, and you want to be looking for this to remove:

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


    @cbshear
    – can you 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' );
    	}
    ?>

    Let me know.

    – Ed

    #39882
    KennethJ
    Member
    Post count: 25

    @Ed – my .htaccess does not contain any of the above. What to do?

    Have been working for serveral versions, but suddenly it broke.

    #39956
    Michael
    Member
    Post count: 2

    Me too! I’ve got the same problem. Latest version of theme (1.5.2) and WordPress 3.8.
    Still the 404 error when opening the Shortcode generator.

    #40231
    Melanie – SUPPORT
    Member
    Post count: 11032

    You can create a htaccess file yourself or talk to your hosting company about creating one for you. All the best!

    #40294
    Michael
    Member
    Post count: 2

    I can create the .htaccess-file. But what code does it have to contain?

    #41158
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Kenneth,

    What version did it break with? We haven’t changed that code on Neighborhood.


    @Michael
    – Can you ensure you have CHMOD 755 recursive on /wp-content/themes/dante

    – Ed

    #41175
    ramworks
    Member
    Post count: 2

    This is what I’m getting when I hit the shortcode button.
    I’m not sure what it is.

Viewing 15 posts - 1 through 15 (of 17 total)

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

License required for the following item
Login and Registration Log in · Register