cloudy

Author Topic: HELP needed to convert from remote to local server  (Read 881 times)

0 Members and 2 Guests are viewing this topic.

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #30 on: December 26, 2011, 11:20:49 PM »
Indeed on the ajax issues. I'm not even sure what needs to be fixed as I know of header issues not being found (getting undefined variables) which should be defined. Also the cloud-base area is because of the curl error I cannot locate or even understand what it is.

Would be a big help if you can post where the path errors are so I can edit them.

Also the Clientraw and Testtags will not be current since I do not send that info to the server yet... I occasionally DL them from the active remote server just to keep it somewhat up to date.
C:\web\www\header.php on line 54    what is on line 54 in the header?
this is one of the paths the header is looking for is this the correct location for the header????  most all the errors have this path in them?  can you tell me your folder structure or PM me if you like with it??  did you check under your php install in the php.ini to see if the curl_init is active?  open php.ini in notepad and search for curl  make sure it doesn't have ###  or something in front of it?
« Last Edit: December 26, 2011, 11:24:47 PM by n7xrd »

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #31 on: December 26, 2011, 11:32:37 PM »
C:\web\www\header.php on line 54
this is one of the paths the header is looking for is this the correct location for the header????  most all the errors have this path in them?  can you tell me your folder structure or PM me if you like with it??  did you check under your php install in the php.ini to see if the curl_init is active?  open php.ini in notepad and search for curl  make sure it doesn't have ###  or something in front of it?

 The directory/folder structure you see is correct and header.php does exists there (I know as I have been trying to fix this problem now for a few hours). that line that is showing error is actually not finding a variable... $temperature so it is bombing, but after all pieces load, at least on my end, the error goes away and then all works proper.

As for CURL in the php.ini file (looking in the php directory off my root)... does not exist. Thus why curl is not working. Not even sure how to put that in either.

FYI: Just reviewed the post you referred to and, unless I am overseeing something, all my paths direct to ./
« Last Edit: December 26, 2011, 11:35:04 PM by K3JAE »


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #32 on: December 26, 2011, 11:36:23 PM »
The directory/folder structure you see is correct and header.php does exists there (I know as I have been trying to fix this problem now for a few hours). that line that is erroring is actually not finding a variable... $temperature so it is bombing, but after all pieces load, at least on my end, the error goes away and then all works proper.

As for CURL in the php.ini file (looking in the php directory off my root)... does not exist. Thus why curl is not working. Not even sure how to put that in either.
you can't find curl or the php.ini  if it's just curl I think you can run the install again and it will ask if you want to add or something to that effect then you can find the curl and install it which php version are you useing?  let me download the header file and take a look...

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #33 on: December 26, 2011, 11:46:22 PM »
you can't find curl or the php.ini  if it's just curl I think you can run the install again and it will ask if you want to add or something to that effect then you can find the curl and install it which php version are you useing?  let me download the header file and take a look...

LOL, in my php.ini file CURL does not exists or even is mentioned....
Using PHP 3.4.8

Do you have access to or use EchoLink?


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #34 on: December 26, 2011, 11:51:29 PM »
wow that's an old version..I don't have echolink hooked up to the laptop here...can you run the php setup file again and see if it ask you to add or repair your install if it does you can find it under the extensions I believe and click to install it!

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #35 on: December 26, 2011, 11:57:30 PM »
I think if it were me I would install the 5. whatever newer version of php to start with!!

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #36 on: December 26, 2011, 11:58:28 PM »
OI!!! Slams head....  ](*,)

Was giving phpMYadmin version....

Actual php being used is version: 5.2.17 (windows).

I was going to use EchoLink via 2m local. OK, no problem there.


73's de K3JAE

John
K3JAE Weather Station

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #37 on: December 27, 2011, 12:01:30 AM »
Finding out cloud-base.php is erroring because I need to have the GD2 library installed in PHP. Any ideas/help there? Where does one get the GD2 library?



73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #38 on: December 27, 2011, 12:03:27 AM »
Ok that should be fine then!! check this out..http://us3.php.net/manual/en/book.curl.php

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #39 on: December 27, 2011, 12:06:32 AM »
Finding out cloud-base.php is erroring because I need to have the GD2 library installed in PHP. Any ideas/help there? Where does one get the GD2 library?
same place in the php.ini make sure it is on or you will have to run the install and install it also..



Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #40 on: December 27, 2011, 12:17:04 AM »
php.ini  you can't find this??   ;extension=php_curl.dll     if you can remove the ;  in front of it to make it work....
you should also see ;extension=php_gd2.dll    do the same remove the ;     it's about 2 lines below the curl line
« Last Edit: December 27, 2011, 12:18:52 AM by n7xrd »

 

cumulus