pear

How can I debug PEAR auth?

I have a directory on my site that I've implemented PEAR's Auth to run my authentication. It is working great. However, I've tried to make a copy of my site (it's going to be translated to a different language), and on this new site, the Auth process doesn't seem to be working correctly. I can login properly, but every time I try to g...

Pear HTML BBcode Hyperlink

Has anyone used the PEAR HTML BBcode Package? I don't really understand why hyperlink target _blank does not open a new tab in firefox. SQL INSERT Snippet (string) [url=http://site.com t=_blank]Link[/url] PHP Require PEAR require_once 'HTML/BBCodeParser.php'; $options = @parse_ini_file('BBCodeParser.ini'); $parser = new HTML_BBCo...

Problems installing PEAR MDB2 with MAMP

I've installed a copy of MAMP on my macbook so I can run my php/mysql based website locally. The MAMP package itself seems to work fine but I needed the PEAR MDB2 Package. I did the following to install pear install MDB2 pear install MDB2_Driver_mysql pear channel-update pear.php.net All apparently worked and if I try again, they s...

How do you change the default Pear/PECL build folder from /var/tmp?

I'm trying to install a PECL package on Linux, but the installer never gets past the configure stage. My hosting provider mounted a file system at /var/tmp that prevents files from executing, and that's causing this error: root@host [/usr/local/apache/conf/includes]# pecl install pdo downloading PDO-1.0.3.tgz ... Starting to download P...

Install propel_generator 1.2?

I'm trying to install propel_generator version 1.2 (later versions are incompatible with the project I'm working on). I've tried pear install propel/propel_generator-1.2 But I get the following error: Failed to download propel/propel_generator, version "1.2", latest release is version 1.5.2, stability "stable", use "channel://pear....

Installing PEAR, IIS Problem

I installed PHP with Web Platform Installer. Now I need to install PEAR but installation documantation of Pear is saying that you have to manually execute the batch file located in e.g. c:\php\go-pear.bat PHP folder isn't in c:, it is located in C:\Program Files\PHP and there isn't any file named "go-pear.php".. ...

PEAR requireonce error on the remote server

hi i am using pear spreadsheet in my project. its working fine on the localhost but on the remote server its throwing a fatal error... Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/worm/Pear_packages/Spreadsheet/Excel/Writer.php on line 34 Fatal error: require_onc...

got disconnected on the remote linux server ....

my project on the remote server stopped working after i did the following 1> install putty 2> connect to the remote server using FTP details 3> then in the root server installed pear using $ sudo apt-get install php-pear 4> then i changed the path in php.ini now the server has stopped working ... why? what happened? HELP!! ...

spreadsheets gets corrupted for large data

hi, i'm exporting data from my database into an excel file using php and pear extension libraries. it works fine when i download small quantity of data. but if the data is large then the excel sheet gets corrupted, (usually all url gets written in the same cell) the data i'm exporting is of type string, url or date. why is the excel she...

PHP Pear Package - Pager on Awardspace Hosting Question?

Hi everyone! If you are using awardspace.com for free website hosting or have an idea does anyone know how to chnage the include path or my script hosted on awardspace such that...it can correctly display data using the pager.php package. Currently my script has this option set: :::PHP CODE::: include_once 'pager/Pager.php'; While ...

Sending in UTF-8 from Mail_Queue PEAR Package

So, I have set up the PEAR Mail_queue package on my server, and I have it running fine, and sending emails out. I have it set to run by a cron-job every 15 minutes. Everything works fine, except the problem is that I need to send emails in Chinese, and when I send them using the Mail_queue package, I only get gibberish. I'm assuming that...

php mail , pear , html header

Hi, I'm trying to send email using php pear email package but I don't know how to set the headers correctly to send the content as html . I currently have : $headers = array ( 'From' => $username, 'To' => $bid_email, 'Reply-To' => $seller_email, 'Subject' => $subject, 'MIME-Version:' => "1.0", 'Content-type:' => "text/htm...

Managing External and Internal Libraries in Codeigniter with PEAR

I want to start using more libraries for my codeigniter project, but I am weary of having them all in my vcs or having to manually manage versions of the libraries. I've recently found this PEAR Guide but I don't see anything about existing codeigniter libraries being available through this system. Does a CI specific PEAR repo exist and ...

PEAR Mail, "unable to set sender"

I have a PHP mail script that successfully sends emails to everything BUT GMail addresses, so now I'm trying to create one with PEAR's Mail and Mail_Mime packages that can send to GMail. I've gotten the impression that this is only possible if I connect through GMail's SMTP server to send the messages. Upon trying a simple test script, I...

PEAR location on install?

I'm trying to install PEAR, but I'm confused by the locations suggested. I'm using Wampserver to run my PHP scripts, and I wanted to do unit tests. So I found PEAR. I tried installing via the go-pear.bat file, but that didn't work. I found out more about this here: http://blog.pear.php.net/2009/07/01/php-53-windows-and-pear/ So I down...

How to include the PEAR php packages on a MAC when changed include path in .htaccess

Hi folks, I'm trying to use the Text_Password class of PEAR but am not sure how to include it. I have installed PEAR. And I'm guessing it has put the classes somewhere in the PHP directory. I have this in my .htaccess file php_value include_path .:/Library/WebServer/Documents/phpweb20/include Which is why I'm guessing it isn't pic...

PEAR directory problem on Windows

I've downloaded the ZIP archive of PHP and extracted it under my profile. I then needed some PEAR packages. go-pear.bat apparently installed PEAR just fine, I just needed to go into the pear.bat file afterwards and adapt the path to php.exe – no big deal and after that it ran. However, when I try installing something I get the following...

Upgraded MySQL 5.0 Linux -> MySQL 5.1 Windows and now query doesn't work

First of all, I know this SHOULDN'T work. We're using a very old DAL/ORM (Pear/DB/GenericDao based) layer that incorrectly surmises that id is not an autoincrement/integer field. This statement DOES work in 5.0 Linux, DOES NOT work in 5.1 Windows. Is there a setting that could be different in my ini (ignore_type_errors="yes":))? I ...

Install PEAR SOAP fails

All, I'm getting the following error attempting to use PEAR to install SOAP # pear install soap Failed to download pear/soap within preferred state "stable", latest release is version 0.12.0, stability "beta", use "channel://pear.php.net/soap-0.12.0" to install install failed I'm looking for advice on what to do next. I'm ...

Is my PEAR package installation okay?

I want to install PEAR's Mail package. I went through the Terminal and installed Mail and its dependencies. The files were saved to my /usr/lib/php directory. In that lib directory I also have a 'PEAR' directory but my new packages weren't saved there. Do I need to drop the new packages into the PEAR directory or is it okay to let them s...