WXforum.net
May 23, 2013, 10:24:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6617  •  Posts: 178662  •  Topics: 18129
Please welcome TheMOX, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: test.php  (Read 887 times)
0 Members and 1 Guest are viewing this topic.
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« on: May 12, 2012, 12:49:04 PM »

Can someone tell me where test.php is located?
Thanks
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: May 12, 2012, 01:34:28 PM »

Ummm... It's not a page from the template sets.  Where are you seeing the error (URL to page showing the missing 'test.php')?
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #2 on: May 12, 2012, 01:39:27 PM »

Yes. I have some pages not showing the header,footer,etc...
Here is an example.. http://hayskansasweather.com/stormreports.php
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #3 on: May 12, 2012, 01:45:51 PM »

That page (stormreports.php) generates data that is to be included into a template page for display on your site.  It doesn't include the full HTML to present as a standalone page.

Try this:
1) make a copy of wxnewpage.php and call it wxstormreports.php
2) edit wxstormreports.php and in the main section replace
Code:
<div id="main-copy">
 
<h1><?php langtrans('Sample Blank Page'); ?></h1>
   
    <p>This is a sample page</p>

    <p>Copy it to a new name and use as the base for a new page on your site.</p>
   
</div><!-- end main-copy -->

with
Code:
<div id="main-copy">
 
  <?php include("stormreports.php"); ?>
   
</div><!-- end main-copy -->

and upload the wxstormreports.php page to your site.

Then http://hayskansasweather.com/wxstormreports.php should show the complete page in your template, and you can add the new page link in your flyout-menu.xml

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #4 on: May 12, 2012, 01:54:34 PM »

Sorry but where is wxnewpage.php located?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #5 on: May 12, 2012, 02:01:46 PM »

It is with the other wx...php pages included with the template set.
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #6 on: May 12, 2012, 02:03:36 PM »

Oh . Have no clue
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #7 on: May 12, 2012, 02:14:24 PM »

It should be in the offline copy of your website on the system you use to maintain your website.  If it seems to be gone, then just download a copy of Base-USA.zip from my website, and get a fresh copy from the .zip file.
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #8 on: May 12, 2012, 02:18:04 PM »

This one Ken?



Download One Base Template:

Updated



Canada Template .ZIP

04 May 2012 08:49pm PDT (05 May 2012 03:49 GMT)



USA Template .ZIP

04 May 2012 08:50pm PDT (05 May 2012 03:50 GMT)



World Template .ZIP

04 May 2012 08:50pm PDT (05 May 2012 03:50 GMT)



Download One WX software Plugin:

Updated



Cumulus .ZIP

31 Mar 2012 11:58am PDT (31 Mar 2012 18:58 GMT)



Meteohub .ZIP

28 Apr 2012 11:30am PDT (28 Apr 2012 18:30 GMT)



VWS .ZIP

24 Mar 2012 04:05pm PDT (24 Mar 2012 23:05 GMT)



Weather-Display .ZIP

18 Feb 2012 03:55pm PST (18 Feb 2012 23:55 GMT)



WeatherLink .ZIP

31 Mar 2012 11:58am PDT (31 Mar 2012 18:58 GMT)



WeatherCat .ZIP

25 Mar 2012 12:36pm PDT (25 Mar 2012 19:36 GMT)



WeatherSnoop .ZIP

14 Jan 2012 10:52am PST (14 Jan 2012 18:52 GMT)

 [see Version History]


PS. Sorry I'm a PIA
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #9 on: May 12, 2012, 02:20:02 PM »

The Base-USA.zip (called "USA Template .ZIP" on the link) is the one that has the wxnewpage.php in it for USA folks.
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #10 on: May 12, 2012, 02:22:42 PM »

found it
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #11 on: May 12, 2012, 02:27:50 PM »

So where do I put the script at in wxnewpage.php?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #12 on: May 12, 2012, 02:40:39 PM »

Got it on Ken but I got some errors.

http://hayskansasweather.com/wxstormreports.php
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #13 on: May 12, 2012, 03:22:08 PM »

Errors?

The page looks ok to me ...
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #14 on: May 12, 2012, 03:27:47 PM »

Got it working Ken.

http://hayskansasweather.com/wxstormreports.php


Thanks for your time!
Ryan
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #15 on: May 12, 2012, 03:28:31 PM »

I customized the colors to match my page too.
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #16 on: May 12, 2012, 03:35:49 PM »

When I put this Code:

<div id="main-copy">
 
  <?php include("stormreports.php"); ?>
   
</div><!-- end main-copy -->

It gave me an error so I just left it out and it works?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #17 on: May 12, 2012, 05:08:37 PM »

In your wxstormreports.php page, did you replace the
Code:
<div id="main-copy">
 
<h1><?php langtrans('Sample Blank Page'); ?></h1>
   
    <p>This is a sample page</p>

    <p>Copy it to a new name and use as the base for a new page on your site.</p>
   
</div><!-- end main-copy -->
with
Code:
<div id="main-copy">
 
  <?php include("stormreports.php"); ?>
   
</div><!-- end main-copy -->
and not add any other instances of that to the page?

What was the error you'd seen (exact message would be very helpful)?
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #18 on: May 12, 2012, 08:52:52 PM »

So add the code and the script under main copy?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Online Online

Posts: 3733


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #19 on: May 12, 2012, 09:46:32 PM »

No, just do the edit shown in the post above.
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Online Online

Posts: 1597



WWW
« Reply #20 on: May 12, 2012, 11:54:19 PM »

So do the edit above and load the script to my server?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.206 seconds with 18 queries.