|
||||||||||
|
New in This Group [PEAR-BUG] Doc #16920 [NEW]: Bad code sample for rethrowing exceptions in PEAR coding guide12/17/2009 5:56:17 PM [PEAR-BUG] Documentation Problem #16888 [NEW]: User note that is a documentation problem12/8/2009 12:14:57 AM [PEAR-BUG] Doc #16779 [NEW]: Tell people how to check if pear is installed on shared host with web interface11/10/2009 7:13:37 PM [PEAR-BUG][Reminder] Reminder about open bugs in Documentation11/1/2009 9:42:02 AM [PEAR-BUG][Reminder] Reminder about open bugs in Documentation10/1/2009 8:42:02 AM [PEAR-BUG] Feature/Change Request #16608 [NEW]: pear documentation prev/next links missing rel attributes9/15/2009 1:21:04 AM [PEAR-BUG] Bug #16607 [NEW]: Installation guidelines instruct you to use command that fails9/14/2009 7:31:24 PM PhD 0.9 Released9/11/2009 1:00:06 PM [PEAR-BUG] Bug #16577 [NEW]: Documentation incorrect9/7/2009 8:20:17 PM [PEAR-BUG][Reminder] Reminder about open bugs in Documentation9/1/2009 8:42:02 AM |
[PEAR-BUG] Doc #16779 [NEW]: Tell people how to check if pear is installed on shared host with web interface
|
|||||||||
| Group: php.pear.doc |
Subscribe
|
Posted:11/10/2009 7:13:37 PM | Replies:0 | Views:33 | Items(0) |
|
From: cweiske
Operating system: Package version: PHP version: Irrelevant Package: Documentation Bug Type: Documentation Problem Bug description: Tell people how to check if pear is installed on shared host with web interface Description: ------------ <Rob``> hey, i'm a bit of a newb to PEAR, I've installed it (afaik), and I'm trying to get the Mail-Queue package working, I've installed it - and followed the tutorial and it says that Mail/Queue.php couldn't be included. <Rob``> anyone got any ideas? <till> AzaToth: yeah, correct. so maybe System_Daemon accepts multiple :) <till> Rob``: see if the directory where it's installed is in your include_path <Rob``> I'm on a shared host, and I don't have access to the CLI, just the web interface - hence the PEAR Manual way of checking if it's installed correctly doesn't work. <till> how did you install it? <till> btw, on top of your script, you can do: set_include_path('/new/path:' . get_include_path()); <Rob``> include path is .:/usr/share/pear-php5 <till> and where did you install it? <Rob``> not there :P <till> geesh, ok. <Rob``> ./htdocs/rob <till> use an absolute path <till> not just ./htdocs <till> and add that the way i showed you <Rob``> alright, cheers <till> you're welcome! <Rob``> so thats that sorted, but now it's not adding anything to the database <Rob``> loads, without errors this time, yet the mail_queue table is still empty <Rob``> sorry about this btw <till> check your code, you need to test with PEAR::isError(), there is also Mail_Queue::hasErrors() and getErrors(). <till> it's in the docs online <till> most likely your db credentials are off <Rob``> christ this is different from php :P <till> no, it's just php4 <till> there are no exceptions, or anything <till> http://code.google.com/p/mail-queue2/ < you can test our new fork, but it's a large work in progress :) <till> i hope to have some time for it in end of nov <Rob``> I'm looking for a newsletter sender really, PHP's mail isn't supposed to be used in a for loop, which is what I was orginally doing, and I was pointed to PEAR. <till> finish it uppp :) <till> yeah, well, you can use Mail_Queue already for that <till> that's what i use it for as well <till> you just need to read the docs <till> they document all the current short-comings <till> http://pear.php.net/manual/en/package.mail.mail-queue.php <till> just fyi <Rob``> thanks :P <till> night! <Rob``> argh, I can't seem to get this, no errors are appearing when I use either of those functions. <Rob``> Anyone else about that has had exp. with this package? <AzaToth> till: sad It has to be known as System_Socket and not just Socket <zul> till: i have it working fix should be uploaded tomorrow -- Edit bug report at http://pear.php.net/bugs/bug.php?id=16779&edit=1 -- |
pear-...@lists.php.net ("cweiske at php dot net") 11/10/2009 7:13:37 PM |
note 97095 added to soapclient.soapclient
note 97094 added to function.sqlite-changes
note 97093 added to function.sqlite-changes
note 97092 added to ref.xmlrpc
note 97091 added to function.var-export