Hi,
Right, there should be an update including a fix for this issue in a few hours.
The Alfie Team
Marking this as resolved.
Thread Starter
pkd
(@peter-king-design)
Thanks for the quick response!
Got this when i updated the plugin:
! ) SCREAM: Error suppression ignored for
( ! ) Warning: include(shortcode.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\intranet\wp-content\plugins\alfie-wp-weather\index.php on line 61
Call Stack
# Time Memory Function Location
1 0.0032 970024 {main}( ) ..\plugins.php:0
2 0.0046 1087400 require_once( ‘C:\wamp\www\intranet\wp-admin\admin.php’ ) ..\plugins.php:10
3 0.0051 1113336 require_once( ‘C:\wamp\www\intranet\wp-load.php’ ) ..\admin.php:30
4 0.0055 1132408 require_once( ‘C:\wamp\www\intranet\wp-config.php’ ) ..\wp-load.php:29
5 0.0067 1263808 require_once( ‘C:\wamp\www\intranet\wp-settings.php’ ) ..\wp-config.php:91
6 0.4921 27981296 include_once( ‘C:\wamp\www\intranet\wp-content\plugins\alfie-wp-weather\index.php’ ) ..\wp-settings.php:195
( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: include() [function.include]: Failed opening ‘shortcode.php’ for inclusion (include_path=’.;C:\php\pear’) in C:\wamp\www\intranet\wp-content\plugins\alfie-wp-weather\index.php on line 61
Call Stack
# Time Memory Function Location
1 0.0032 970024 {main}( ) ..\plugins.php:0
2 0.0046 1087400 require_once( ‘C:\wamp\www\intranet\wp-admin\admin.php’ ) ..\plugins.php:10
3 0.0051 1113336 require_once( ‘C:\wamp\www\intranet\wp-load.php’ ) ..\admin.php:30
4 0.0055 1132408 require_once( ‘C:\wamp\www\intranet\wp-config.php’ ) ..\wp-load.php:29
5 0.0067 1263808 require_once( ‘C:\wamp\www\intranet\wp-settings.php’ ) ..\wp-config.php:91
6 0.4921 27981296 include_once( ‘C:\wamp\www\intranet\wp-content\plugins\alfie-wp-weather\index.php’ ) ..\wp-settings.php:195
Hi,
Please open shortcode.php in a text editor and change line 61 to
include 'shortcode.php';
Let us now if the error dissapears.
The Alfie Team
Thread Starter
pkd
(@peter-king-design)
I don’t see a shortcode.php file in your plugin. There is one in the wp core files called shortcodes.php.
Sorry, the file you have to edit is index.php, located inside alfie-wp-weather directory. But, still, there MUST be a shortcode.php file in the same directory.
I just installed your plugin so I have the most current version. I am unfortuanatly having the same 404 error within a sub-directory . . . It is calling the root and not the sub-directory. I have
include ‘shortcode.php’;
on line 61 in my index.php file as well.
Hi,
Sorry to hear you encountered problems with the plugin. Could you please post a link to a page where you have the widget active, so we can look into the issue?
Thanks.
The Alfie Team
Thread Starter
pkd
(@peter-king-design)
My version is being developed for an intranet so i can’t give you a link. But i modified the include shortcode.php line 61 in index.php and got same result. It seems you need an actual shortcode.php file in your plugin if you are going to call it.
I commented out line 61 and the error was removed. However, i’m still not seeing the widget.
pkd, please update to the latest version, there was a bug with the latest version and shortcode.php wasn’t comitted. Let us know if it solves the issue.
Regards.
The Alfie Team
Thread Starter
pkd
(@peter-king-design)
Ok. I did just catch that. Thanks. The error is now gone. However, the widget is not showing when on a subfolder. I’m seeing the same error where the JS is calling getfeed.php in the root.
I’m running locally, could that have something to do with it? I have not tested this from a live site.
The intranet i’m running from this machine is also local, but i’ve created a Virtualhost to rename the site locally. Still have same problem here.
Hi,
We’ve just released an update for the plugin that fully fixes subdirectory install issues. Please update the plugin to the latest version.
Hope it finally works for you guys.
The Alfie Team
It works great! Love your plugin and great support!
Thread Starter
pkd
(@peter-king-design)
It works for me now in a test version. My live intranet version is not working and i’m banging my head trying to figure out. My guess is a Jquery conflict somewhere, possibly with TImely Event Calendar. But i’ve disabled and deleted all the plugins and it still breaks. Any of this sound familiar?
Works on my Test version though. Thanks for fixing. I do like the plugin.