I have been looking for a way to create a PEAR package out of my Symfony plugin on Windows. I am unable to find any utility or tutorial explaining the process.
In case there is no solution, I will have to manually prepare my package.xml, which is kind of sad in this world of automation.
Any solution?
...
I have installed pear and when sending mail, I get the following error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6144 bytes) in C:\wamp\www\GamesRus\mail.php on line 2
I am running on windows 7.
Here is my code:
$mail = Mail::factory("mail");
$headers = array("From"=>"[email protected]", "Subject"...
Im having a little trouble connecting to a database with PEAR on my GoDaddy hosting account.
I am able to connect to my database with the standard mysql_connect.
I have downloaded the DB package from:
http://pear.php.net/package/DB
Firstly I have included the package (which works):
include 'libs/pear/db/DB.php';
Then I connect with...
I am trying to perform a Twitter search using the PEAR package Services_Twitter.
Unfortunately this only returns an array of status ids, for example *(var_dump)*:
object(stdClass)#88 (2) {
["statuses"]=>
array(11) {
[0]=>
int(49497593539)
[1]=>
int(49497593851)
[2]=>
int(49497598001)
[3]=>
int(4949759...
Hello Good poeple!
I've downgraded php to 5.2 in ubuntu 10.04 and it seems i can't install new pear packages.
the existing packages i had by typing pear list are :
Package Version State
Archive_Tar 1.3.3 stable
Console_Getopt 1.2.3 stable
PEAR 1.9.0 stable
Structures_Graph 1.0.2 stable
X...
Hi. i installed PHPUnit via pear and cannot find the phpunit.bat file to add to the path in netneans. Where should it be? My pear dir is c:/server/xampp/php/PEAR
...
My php can't find mail.php
I installed the PEAR package in a directory named pear_admin
I secured everything in that directory with .htaccess and .htpasswd
When I go to mysite.com/pear_admin/index.php it asks for my username and password.
This works and I am able to see and use PEAR Package Management
I installed the Mail package.
I cr...
Is there a way with Pear DB to return the ID of a newly INSERTED record?
...
So I guess a PEAR channel is like a server that lets you distribute your own PEAR packages? I was under the impression PEAR was sort of dead, until I started looking at Symfony (is it dead? I haven't used it in the past so maybe someone with more experience in PHP can comment on its state and whether it makes sense to invest any time in ...
Hi,
I've just installed a PEAR package (Event_Dispatcher) and I can't use the classes in that package. When I run the command pear list I see the new package, however I see that the classes in the package are saved in /usr/lib/php (I have a Mac).
Is there a loading part after installing a PEAR package? How exactly do I move the files t...
I have been trying to upload my SYmfony plugin for some time but I keep getting this error.
Initially the dependency on the SYmfony Package was missing, but I added that.
My package.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns...
My website allows users to upload a csv file with a list of books. The script then reads this file and checks the isbn number against Amazon, using the PEAR Services_Amazon class, returning enhanced book data. However, whenever I run the script on a list of books the amount of memory consumed steadily increases until I get a fatal error....
I have a PHP library that I'm planning to submit to the PEAR database. In order to do this, the library needs to follow the PEAR Coding Standards.
Is there a tool that can check my code to make sure it follows the standards completely?
...
I saw this thread which is exactly what I've done as well, Downgraded PHP to version 5.2 on Ubuntu 10.4
When running as root I just get the download, no install message, any thoughts?
pear install Mail_Mime-1.8.0.tgz
downloading Mail_Mime-1.8.0.tgz ...
Starting to download Mail_Mime-1.8.0.tgz (31,292 bytes)
.........done: 31,292 bytes...
In short what i want to do is, create several worksheets dynamically, populated with data from a database result.
So far i'm getting:
Fatal error: Call to undefined method PEAR_Error::write() in /mnt/hgfs/workspace/CCMS-Web/reports/file-excel.php on line 113
When i'm trying to do this:
$workbook = new Spreadsheet_Excel_Writer();
//...
Just can't seem to print the binded values without executing the query. Looking to debug the query before execution. Any tips? I know I'm overlooking something simple, ugh...
$field1 = 'one';
$field2 = 'two';
$field3 = 'three';
$fields = 'SET ';
$fields .= 'field1 = ?, ';
$fields .= 'field2 = ?, ';
$fields .= 'field3 = ? ';
$vals[] =...
Hi all,
Could anyone please provide me an example which is very easy to understand to resize an image using PEAR in PHP...
Thanks in advance...
...
I noticed during testing the the database will jump a number in the index if someone else inserts a record while I've issued the nextId(). Does issuing this command reserve the next id?
Example:
User 1:
$nextId = $db->nextId('id');
echo "Next id: ".$nextId."<br />";
results: 1234, but no insert happen as I'm just getting the nextId(...
Hello guys. I spent the past few hours searching for a tutorial/documentation for QuickForm2 but seems like there is no such thing other than the examples attached with the package itself which are not sufficient at all. I tried looking through the API documentation but I can't find a method called addElement for example which is the mos...
Hi all, I have a php/smarty/pear app that has it's own localization implementation that involves using ids for strings and the strings are stored in a db. currently the app is only in English but I will start adding other languages. The current implementation is very poor and basically I'm not a big fan of re-inventing the wheel.
Can a...