cloudy

Author Topic: 3in1 updated  (Read 21428 times)

0 Members and 1 Guest are viewing this topic.

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated, sivu2 giving errors
« Reply #270 on: May 09, 2012, 10:28:26 PM »
Could someone please check on what is wrong here? Tried the tricks found in the last 10 pages of this thread to no avail. Happy to provide screenshots or whateve is needed to help figure it out.

iszatso.net/weather/sivu2.php         TIA,

BRGDS,

patrick

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,863
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: 3in1 updated
« Reply #271 on: May 09, 2012, 10:34:53 PM »
Looks like it's not finding the .css. Where is wxall.css ?

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #272 on: May 09, 2012, 11:19:06 PM »
/public_html/weather/css/ and /public_html/weather/css/US       TIA,


BRGDS,

patrick

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,863
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: 3in1 updated
« Reply #273 on: May 09, 2012, 11:41:38 PM »
OK, so instead of:

<link rel="stylesheet" type="text/css" media="screen" href="css/wxall.css?" />
<link rel="stylesheet" type="text/css" media="screen" href="css/US/wxall.css" />

try:

<link rel="stylesheet" type="text/css" media="screen" href="./css/wxall.css" />
<link rel="stylesheet" type="text/css" media="screen" href="./css/US/wxall.css" />

(Note deletion of ? in first one)

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #274 on: May 10, 2012, 12:33:24 AM »
Sorry for my rookiness. Which php file? Only reference found for links was in wxall.lastret.php

p.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,863
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: 3in1 updated
« Reply #275 on: May 10, 2012, 12:53:58 AM »
Hey, I'm just fumbling around trying to help...

It appears that it is wxall.lastret.php that generates the header of sivu2.php, what do you have on lines 1321 to 1323, this part:

Code: [Select]
<link rel="stylesheet" type="text/css" media="screen" href="'.$wxallmainfolder.'css/wxall.css?'.$cssage.'" />
';
if($useustemp==1){$wxallhead.= '<link rel="stylesheet" type="text/css" media="screen" href="'.$wxallmainfolder.'css/US/wxall.css" />';}

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #276 on: May 10, 2012, 02:34:35 AM »
Changed the two references. Now get,

Parse error: syntax error, unexpected T_STRING in /home/iszats5/public_html/weather/wxall.lastret.php on line 1326

line 1326 is   <script type="text/javascript" src="'.$wxallmainfolder.'js/jquery.comb.min.js"></script>

must be getting closer...Thanks for your time and patience. Believe it or not I learn something with each change...

BRGDS,

p.

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #277 on: May 10, 2012, 02:45:52 AM »
Looking at this one at

http://www.shermanctweather.com/wxsim/sivu2.php

to get some ideas as to how it is put together and what references should be invoked when it is working using chrome to check the code. I know enough to be dangerous.

p.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,863
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: 3in1 updated
« Reply #278 on: May 10, 2012, 02:05:36 PM »
Hmmm, got me on that one. Try taking the initial period and single quotes out

 <script type="text/javascript" src="$wxallmainfolder.js/jquery.comb.min.js"></script>

:dontknow:

Changed the two references. Now get,

Parse error: syntax error, unexpected T_STRING in /home/iszats5/public_html/weather/wxall.lastret.php on line 1326

line 1326 is   <script type="text/javascript" src="'.$wxallmainfolder.'js/jquery.comb.min.js"></script>

must be getting closer...Thanks for your time and patience. Believe it or not I learn something with each change...

BRGDS,

p.

Offline weatherbee

  • Posts: 596
  • Sherman, Ct.
  • OS/Browser:
  • Win XP
  • Chrome 18.0.1025.168
    • http://www.shermanctweather.com
Re: 3in1 updated
« Reply #279 on: May 10, 2012, 07:24:02 PM »
Quote
line 1326 is   <script type="text/javascript" src="'.$wxallmainfolder.'js/jquery.comb.min.js"></script>
There is an error after scr=  '"  too many quotation marks.
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #280 on: May 10, 2012, 09:29:26 PM »
Moving right along,

This is what I get. Any ideas?

iszatso.net/weather/sivu2.php       TIA,

BRGDS,

patrick

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,863
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • http://www.realweatherstation.com
Re: 3in1 updated
« Reply #281 on: May 10, 2012, 10:09:06 PM »
Whoa  8O  when I compare the source of http://www.shermanctweather.com/wxsim/sivu2.php with the source of http://iszatso.net/weather/sivu2.php I think it might be time to start over.

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated, will reinstall, following instructions closely.
« Reply #282 on: May 10, 2012, 11:06:46 PM »
Agreed,
Others have despaired and taken it out on the writer of the script. No need for that. Also have backed up to just get the wxsim script from saratoga working first. Another Topic, Another thread.

BRGDS,

patrick

Offline weatherbee

  • Posts: 596
  • Sherman, Ct.
  • OS/Browser:
  • Win XP
  • Chrome 18.0.1025.168
    • http://www.shermanctweather.com
Re: 3in1 updated
« Reply #283 on: May 11, 2012, 11:13:38 AM »
Patrick,
If you want I'll send you all my files.  You will have to change some settings in the config file to match your server.
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.168
    • Eastmont Hills
Re: 3in1 updated
« Reply #284 on: May 11, 2012, 02:50:21 PM »
Because having the upload order switched in WD, and data getting switched in renamed files, and not discovering same until Ken pointed it out in another post the "cascading chain of events" took hold and made about 20 posts that sent people scrambling to fix something in the script, when the fault was the script reading the data files that were screwed up by oversite.

Ever so sorry to all who are helping.

I've got it working partially now, iszatso.net/weather/sivu2.php

Wondering if I take your files and pick what I need or start all over with your files changing the directory structure. If you could take a look at what it is doing now, maybe it is something simple. It seems to be calling all the js stuff, but no graph but forecast works and icons work. Sure, please remit to my email on record here and appreciative to the max.

TIA,

BRGDS,

patrick