1
circlecast
Weather
  • 2005/12/19 23:45

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


I searched for this topic and was not able to find anything pertaining to my problem.

I have tried all 5 of the different weather moduels and they are all coming up with the same problem

They are not showing up

I see the header for the different moduel and there is no images nor text showing up. It lis like it is blank what information do you need so that you can help troubleshoot this odd problem.

2
tdickson
Re: Weather
  • 2005/12/20 0:38

  • tdickson

  • Just popping in

  • Posts: 26

  • Since: 2005/9/26


I also gave up on the weather modules and desided to design my own.

check out the following link
http://netweather.accuweather.com/adcbin/netweather/netweather_index.asp?

sign up and add the html to a custom block.
works beautfully!!!

3
circlecast
Re: Weather
  • 2005/12/20 5:05

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


Actually I just tried that and I am still getting nothing. What could be causeing this?

4
limecity
Re: Weather
  • 2005/12/20 5:32

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


You can create custom block to show the weather. and the content type you set to "Auto Fomat (smilies enabled)".

you can get the free weather content at.
http://www.wunderground.com
it simple and loads fast on your site.
hhttp://www.mounthiking.com
all your hiking gears and gadgets


5
circlecast
Re: Weather
  • 2005/12/20 13:47

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


I am beginning to think that this has something to do with the smart templates Because I an getting the same result each time. So is there a way to turn off the smart template feature?

6
tdickson
Re: Weather
  • 2005/12/20 21:52

  • tdickson

  • Just popping in

  • Posts: 26

  • Since: 2005/9/26


Here is the code I used:
if it helps at all



<script src="http://netWeather.accuweather.com/adcbin/netWeather/runNetWeather.js" language="JavaScript" type="text/javascript"></script>
<script src="http://netWeather.accuweather.com/adcbin/netWeather/setNetWeather.js" language="JavaScript" type="text/javascript"></script>
<div align="center"><script language="JavaScript" type="text/javascript" >
RunNetWeather ("id", "netWx", "minversion", "6,0,0,0", "movie", "http://netWeather.accuweather.com/adcbin/netWeather/netWxCheck_P?id=8885096623376&l=C&s=3&n=VERJQ0tTT04=", "quality", "high", "src", "http://netWeather.accuweather.com/adcbin/netWeather/netWxCheck_P?id=8885096623376&l=C&s=3&n=VERJQ0tTT04=", "width", "245", "height", "450", "name", "netWx", "align", "top")
</script></div>

7
circlecast
Re: Weather
  • 2005/12/20 22:32

  • circlecast

  • Just popping in

  • Posts: 14

  • Since: 2005/12/19


looks like I might have some other problem. I turned on the PHP and Smarty tag debug information and I got the following

PHP Debug
le="color: #000000"><?php Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 94 Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215 Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239 Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239 Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229 Notice [PHP]: Only variables should be assigned by reference in file kernel/blockinstance.php line 169 Notice [PHP]: Only variable references should be returned by reference in file kernel/blockinstance.php line 111 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 151 Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 154 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/catads/class/ads.php line 320 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Warning [PHP]: main(): Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in file modules/snx_weather/xoops_version.php line 42 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159 Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239 Notice [PHP]: Only variable references should be returned by reference in file kernel/blockinstance.php line 111 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 14 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 69 Notice [PHP]: Only variables should be assigned by reference in file class/template.php line 216 Warning [Xoops]: Smarty error: unable to read resource: "db:news_block_topicnav.html" in file class/smarty/Smarty.class.php line 1084 Notice [PHP]: Only variable references should be returned by reference in file language/english/local.php line 11 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variable references should be returned by reference in file language/english/local.php line 11 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variable references should be returned by reference in file language/english/local.php line 11 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 310 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 312 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 313 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 316 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 322 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 329 Notice [PHP]: Only variables should be assigned by reference in file class/module.textsanitizer.php line 331 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 14 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 69 Notice [PHP]: Only variables should be assigned by reference in file class/template.php line 216 Warning [Xoops]: Smarty error: unable to read resource: "db:news_block_randomnews.html" in file class/smarty/Smarty.class.php line 1084 Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239 Notice [PHP]: Only variable references should be returned by reference in file modules/xhld0/include/functions.php line 14 Notice [PHP]: Only variables should be assigned by reference in file modules/xhld0/class/headlinerenderer.php line 259 Notice [PHP]: Only variable references should be returned by reference in file modules/xhld0/include/functions.php line 14 Notice [PHP]: Only variables should be assigned by reference in file modules/xhld0/class/headlinerenderer.php line 259 Notice [PHP]: Only variable references should be returned by reference in file kernel/blockinstance.php line 111 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 14 Notice [PHP]: Only variables should be assigned by reference in file class/smarty/plugins/resource.db.php line 69 Notice [PHP]: Only variables should be assigned by reference in file class/template.php line 216 Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 320 Notice [PHP]: Only variables should be assigned by reference in file kernel/online.php line 146 Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 87 Notice [PHP]: Only variables should be assigned by reference in file kernel/online.php line 168 Notice [PHP]: Undefined index: xoops_module_header in file templates_c/%%BD^BD4^BD4DFEB7%%theme.html.php line 37 Notice [PHP]: Undefined index: xoops_clblocks in file templates_c/%%BD^BD4^BD4DFEB7%%theme.html.php line 218 Notice [PHP]: Undefined index: xoops_crblocks in file templates_c/%%BD^BD4^BD4DFEB7%%theme.html.php line 233


Smarty tag
le="color: #000000"><?php Smarty Debug Console included templates & config files (load time in seconds): db:news_block_bigstory.html db:minical_block.html db:system_block_mainmenu.html db:system_block_user.html db:system_block_waiting.html db:news_block_topicnav.html db:news_block_randomnews.html db:xhld0_block_rss.html db:system_block_dummy.html db:system_block_newusers.html db:system_block_online.html /homepages/1/d147368783/htdocs/themes/7dana-soft/theme.html (0.18315) assigned template variables: {$SCRIPT_NAME} /index.php {$block} Array (5) id => 5 typeid => 7 title => Who's Online content => <b>2</b> user(s) are online (<b>2</b>... weight => 10 {$module} Array (3) adminlink => http://www.westernoknews.com/modules/... pendingnum => 0 lang_linkname => Comments {$user} Array (4) avatar => empty id => 1 name => Bryan joindate => 2005/12/8 {$xoops_banner} <div><a href="http://www.westernoknew... {$xoops_ccblocks} Array (3) 0 => Array (5) id => 7 typeid => 15 title => Big Story content => empty weight => 0 1 => Array (5) id => 6 typeid => 4 title => Waiting Contents content => <ul>rn <li><a href="http://www.wes... weight => 2 2 => Array (5) id => 12 typeid => 29 title => Other News content => <script type="text/javascript" src="h... weight => 3 {$xoops_charset} ISO-8859-1 {$xoops_contents} empty {$xoops_dirname} system {$xoops_footer} Powered by XOOPS 2.2.3 Final © 2001-2... {$xoops_imageurl} http://www.westernoknews.com/themes/7... {$xoops_isadmin} 1 {$xoops_isuser} 1 {$xoops_js} //--></script><script type="text/java... {$xoops_langcode} en {$xoops_lblocks} Array (3) 0 => Array (5) id => 3 typeid => 5 title => Main Menu content => <table cellspacing="0">rn <tr>rn ... weight => 1 1 => Array (5) id => 9 typeid => 18 title => Navigate thru topics content => empty weight => 2 2 => Array (5) id => 4 typeid => 9 title => New Members content => <table cellspacing="1" class="outer">... weight => 10 {$xoops_meta_author} Western Oklahoma News {$xoops_meta_copyright} Copyright © 2005 {$xoops_meta_description} News and postings for the western Okl... {$xoops_meta_keywords} western, Oklahoma, canute, Sayre, Eri... {$xoops_meta_rating} general {$xoops_meta_robots} index,follow {$xoops_notification} Array (1) show => 0 {$xoops_pagetitle} Local News for Western Oklahoma {$xoops_rblocks} Array (5) 0 => Array (5) id => 13 typeid => 31 title => Calendar content => <table align="center" border="0" cell... weight => 0 1 => Array (5) id => 1 typeid => 1 title => User Menu content => <table cellspacing="0">rn <tr>rn ... weight => 2 2 => Array (5) id => 10 typeid => 19 title => Random news content => empty weight => 3 3 => Array (5) id => 26 typeid => 13 title => Weather content => empty weight => 5 4 => Array (5) id => 5 typeid => 7 title => Who's Online content => <b>2</b> user(s) are online (<b>2</b>... weight => 10 {$xoops_requesturi} /index.php {$xoops_rootpath} /homepages/1/d147368783/htdocs {$xoops_showcblock} 1 {$xoops_showccblock} 1 {$xoops_showlblock} 1 {$xoops_showrblock} 1 {$xoops_sitename} Western Oklahoma News {$xoops_slogan} Local News for Western Oklahoma {$xoops_theme} 7dana-soft {$xoops_themecss} http://www.westernoknews.com/themes/7... {$xoops_uname} Bryan {$xoops_upload_url} http://www.westernoknews.com/uploads {$xoops_url} http://www.westernoknews.com {$xoops_userid} 1 {$xoops_version} XOOPS 2.2.3 Final assigned config file variables (outer template scope): {#files#} Array (0) {#vars#} Array (0)


ANy clues cause all I am seeing is some mud with a few pieces of information like
le="color: #000000"><?php Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084

8
Jharis
Re: Weather
  • 2005/12/21 1:29

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


Works for me. I created a custom block, pasted the code, set to html and viola! Weather. I am using XOOPS 2.2.3 php 4.4.1. I also have a static ip.

@circlecast

Just off hand you might want to verify with your host if they allow rss feeds. Pulling info from accu weather shouldn't be any different than rss. Not all host allow rss especially if your on a shared server (eats up bandwith). You may have to go with a static IP or upgrade your hosting plan. I would contact your provider and ask them.

don (el paso)
motto - green chili for everything!

9
Jharis
Re: Weather
  • 2005/12/21 1:33

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


tdickson,
Is there a way to display only your local weather, and if you want weather for another area then use the drop down?

don (el paso)
motto - green chili for everything!

10
tdickson
Re: Weather
  • 2005/12/21 3:04

  • tdickson

  • Just popping in

  • Posts: 26

  • Since: 2005/9/26


If you follow the link on the top... that will get you to all the options.

I have it set up for San Martin (my local town) so you'd have to set up an account for your local town. Then if someone wants weather outside of that town it will open up a window when you put the zip or city in.

Since it is done entirely in flash... I don't think there is a way to pull it up from a drop down menu. Unless you ran some if statements and created your own form. Which called up a different weather profile for every drop down menu you specify. it's a thought... if you really would want something like that.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!