Page 1 of 1

Notice: PEAR.php line 848

Posted: Sat Sep 16, 2006 5:00 am
by NetWhiz
I am not sure where this is coming from when I go to save an entry:

Code: Select all

Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls. This may take a while..

Checking http://www.trianlgemommies.com for possible trackbacks...

Notice: in /homepages/42/d176478838/htdocs/rileydupont.com/www/bundled-libs/PEAR.php on line 848
I just installed a local PEAR "install" on my shared host to get the Weather plugin to work. When I remove the php.ini used to include the local PEAR dirs., the Weather plugin does not work and I still get the error. This error did not occur before the local PEAR install and I can not get it to stop. I have seen other posts about this same error and the permissions on the PEAR dir. are fine since everything else was working. I also understand you are not familiar with PEAR, but I find it strange it is occurring now. Some PEAR parts work (i.e. Weather plugin), but then whatever is being called here is no longer working.

EDIT: It turns out the error has to do with the URL http://www.trianlgemommies.com. It is an invalid address which should be http://www.trianglemommies.com. Once this was changed, it no longer reported an error. I wonder if this could be fixed to either tell of the exact reason for the error or not error out on something like this?[/i]

Posted: Sat Sep 16, 2006 10:20 pm
by judebert
I'm already working on this, but it's a bear of a problem. Just solving it in SPARTACUS wouldn't be too hard; solving it in all other places is nearly impossible. The thing is, the PEAR library just reports "a problem happened with the socket!" Determining the specific problem is a process of elimination: first try connecting somewhere reliable, then try looking up a hostname, then try connecting via IP address, etc.

Thanks for the suggestion. I'll keep working on it.