I have followed your instructions and something is still wrong I double checked spelling and logged in via WinSCP and can see all the link files in the WXblog directory. It however did do something you can read everything on the blog page just having trouble with the theme stuff I guess. Have a look http://www.inclinemedialive.com/wxblog
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/17/d158432740/htdocs/flyout-menu.php on line 115
symlink added was weather-screen-dark-narrow.css which was how the file name read that I have listed. I did do that and it was in the correct place I double checked in my ftp transfer program in the directory it shows the symlink file names with a little arrow in white if they are linked correctly and red arrow if the symlink is broken and not typed correctly.
as for the index.php your talking about the one in the wxblog directory correct?
in the main index.php in the root directory from your template top.php is included before the header.php, in the wxblog directory the index.php is the wordpress index.php and has not much code in it …
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
I am receiving the following error message after following the wordpress installation instructions. Any help would be greatly appreciated.
Warning: include_once() [function.include-once]: Filename cannot be empty in /home4/jeremyd1/public_html/weather/top-level2.php on line 12
Warning: include_once() [function.include]: Failed opening ‘’ for inclusion (include_path=‘.:/usr/lib/php:/usr/local/lib/php’) in /home4/jeremyd1/public_html/weather/top-level2.php on line 12
I have just installed this excellent script on my site at this address - http://www.brackenhouse.net/weather/wxblog/. I have just a couple of niggling little problems that I can’t resolve.
The page drops down a line compared to other pages on the site - i.e. the image at the top of the page is lower down than all other pages.
The gizmo only shows the temperature. The current conditions are missing, though they are present on all other pages.
Any help will be most appreciated before I make the blog ‘live’.
Alan, here is the fix for the admin bar (and probably some other features that need wp_footer(); such as many plugins that put javascript there.)
edit this theme file:
/wp-content/themes/wxblog/footer.php
Change:
<!-- End wordpress code -->
To:
<?php wp_footer(); ?>
<!-- End wordpress code -->
All users should apply this update. The download has been changed to version 1.41 and updated. This is the only change.
<?php
############################################################################
include("../footer.php");
############################################################################
# End of Page
############################################################################
?>
I added the code …
<?php
wp_footer();
echo $footer
?>
… after ‘End Wordpress code’ and the admin bar appears.
Thanks for your help, now just need to get the gizmo working.
Changed the code to reflect your new coding, Mike and everything is working as it should.
Thanks!
I still need to get the current conditions on the gizmo working. It works fine on all other pages on my site but all I get on the blog is the large temperature displayed (see here). Anyone have any ideas?
Something somewhere is not finding the WXtags because of this. Does that make sense?
If so, we need to tell the program that clientraw.txt testtags.php is located in a folder called ‘data’ in such a way that it can be found be all the other pages. But how?
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftwareURL'] = '#';
$SITE['WXsoftwareLongName'] = '(unspecified)';
$SITE['WXtags'] = ' ';
to …
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftwareURL'] = '#';
$SITE['WXsoftwareLongName'] = '(unspecified)';
$SITE['WXtags'] = 'testtags.php';
… and it works.
Not sure if this is the correct way of fixing the problem, or if it affects anything else, but it’s looking good.
I wanted to touch base with this. I have been attempting to get a blog page going. The problem I have had so far, I have not been successful getting the blog page going properly. I have it all in a folder called “wxstories” http://lightningweather.com/wxstories
I have been getting a 500 internal server error attempting to go to this page, as if it doesn’t exist. not sure what I may be doing wrong. I do know my hosting (iPage) does allow wordpress. no matter what part of the folder I attempt to go to, it gives me a 500 internal server error. ](*,)
I have been able to follow all directions to getting the page set up except adjusting the /flyout-menu.xml to using the url/flyout-menu.xml. Changing that changes the entire site and takes it off line.
I am running the alt-ajaxdashboard, with the updated ajaxwdwx.js and settngs.php files. I don’t know if that makes a difference.
Can someone point me in the right direction?