PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 5th, 2006, 02:52 PM
AlPHP AlPHP is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 AlPHP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Pear example don't work on Unix server

I'm trying to run Service_weather package on my server. This package contants example "weather.com-extensive.php". It works on my home Windows PC.

I've installed PEAR and all packages I need on my server. When I try to run weather.com-extensive.php, I don't get any error message. There is just empty page in my browser.

I think code stops working here:
php Code:
Original - php Code
  1.  
  2. // Object initialization - error checking is important, because of
  3. // handling exceptions such as missing PEAR modules
  4. $weatherDotCom = &Services_Weather::service("WeatherDotCom", array("httpTimeout" => 30));
  5. if (Services_Weather::isError($weatherDotCom)) {
  6.     die("Error: ".$weatherDotCom->getMessage()."n");
  7. }


The code works before these lines.

Where is the problem? How to resolve it?

Reply With Quote
  #2  
Old May 6th, 2006, 04:24 AM
lig's Avatar
lig lig is offline
"Forum Nazi"
Click here for more information.
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,727 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 1 h 4 m 45 sec
Reputation Power: 6
RE: Pear example don't work on Unix server

I have never worked with those packages - only thing I can say is ask about it on the PEAR mailing list.

Reply With Quote
  #3  
Old May 6th, 2006, 06:11 AM
AlPHP AlPHP is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 AlPHP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: Pear example don't work on Unix server

Quote:
I have never worked with those packages - only thing I can say is ask about it on the PEAR mailing list.

What is Pear mailing list? I mean how it works (I can ask somebody a question or it's just news mailing list)? I've subscribed, what I should do now?

Reply With Quote
  #4  
Old May 7th, 2006, 09:16 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Click here for more information.
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,727 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 1 h 4 m 45 sec
Reputation Power: 6
RE: Pear example don't work on Unix server

Here is where you go to sign up for the pear mailing list - Make sure you join the correct one for your needs.

After you are fully registered - simply send an email to the mailing list and wait for an answer.

Reply With Quote
  #5  
Old May 8th, 2006, 04:56 AM
AlPHP AlPHP is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 AlPHP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: Pear example don't work on Unix server

Quote:
Here is where you go to sign up for the pear mailing list - Make sure you join the correct one for your needs.

After you are fully registered - simply send an email to the mailing list and wait for an answer.

Ok. Thanks.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Pear example don't work on Unix server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway