Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Shortcode generator broken
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Shortcode generator broken
-
Posted in: Neighborhood
-
December 16, 2013 at 10:03 am #37289
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!
December 17, 2013 at 12:11 pm #37663Here the same with chrome!
Please Fix!
December 17, 2013 at 12:14 pm #37664I’ve checked further and i figured out that the shortcode generator doesn’t work with the new image banner code.
December 18, 2013 at 12:22 pm #38082I’ll forward this to the developer of the theme right away!
Thank you!
December 18, 2013 at 1:00 pm #38112Thank you for letting me know about this guys, going to push a v1.52 update now to fix this.
– Ed
December 22, 2013 at 5:19 pm #38830Shortcode generator still broken – now the window just opens a 404.
Using Neighborhood 1.5.2 and WP 3.8
December 24, 2013 at 2:05 am #38955Same 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,
CooperDecember 30, 2013 at 5:08 pm #39594Anything?
December 31, 2013 at 2:48 am #39659@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
January 2, 2014 at 4:28 pm #39882@Ed – my .htaccess does not contain any of the above. What to do?
Have been working for serveral versions, but suddenly it broke.
January 2, 2014 at 10:40 pm #39956Me 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.January 4, 2014 at 10:54 am #40231You can create a htaccess file yourself or talk to your hosting company about creating one for you. All the best!
January 4, 2014 at 1:59 pm #40294I can create the .htaccess-file. But what code does it have to contain?
January 8, 2014 at 5:44 pm #41158Hi 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
January 8, 2014 at 8:05 pm #41175This is what I’m getting when I hit the shortcode button.
I’m not sure what it is. -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.