Re: Service/Amazon/S3.php not being found

From: Date: Tue, 12 Aug 2008 00:28:48 +0000
Subject: Re: Service/Amazon/S3.php not being found
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29158@lists.php.net to get a copy of this message
Joe - thanks for your reply.  I added, "ini_set('error_reporting', E_ALL);" to the top of the code and it still ONLY displays the "1" and then stops..  I tried "error_reporting(E_ALL);", same result. Any ideas? Subject: Re: [PEAR] Service/Amazon/S3.php not being found Is your PEAR path in your include_path? Also, what is your error  reporting at? It should be saying something about a failed include. --Joe On Aug 11, 2008, at 4:36 PM, l Burnerheimerton wrote: > Here's the sample code from the sample: > <?php > echo 1; > require_once('Service/Amazon/S3.php'); > echo 2; > // Replace with your own credentials > $accessKeyId = 'xxxxxxx'; > $secretAccessKey = xxxxxxxxxxxx; > $s3 = Services_Amazon_S3::getAccount($accessKeyId, $secretAccessKey); > foreach ($s3->getBuckets() as $bucket) { >  print "<li>" . htmlspecialchars($bucket->name) . "</li>"; > } > ?> > Here's what I have on the server: > Archive_Tar        1.3.2  stable > Auth              1.6.1  stable > Console_Getopt    1.2.3  stable > Crypt_HMAC        1.0.1  stable > DB                1.7.13  stable > HTML_Common        1.2.4  stable > HTML_QuickForm    3.2.10  stable > HTTP_Request      1.4.3  stable > HTTP_Upload        0.9.1  stable > MDB2              2.4.1  stable > MDB2_Driver_mysql  1.4.1  stable > Net_Socket        1.0.9  stable > Net_URL            1.0.15  stable > PEAR              1.7.2  stable > Pager              2.4.7  stable > Services_Amazon_S3 0.1.0  alpha > Structures_Graph  1.0.2  stable > XML_RPC            1.5.1  stable > After install, I restarted the web server. > > When I run it, it stops at "1" (see echo in code above so it is  > failing at: > require_once('Service/Amazon/S3.php'); > > so something is wrong. > Any ideas? > > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.pear.general (#29158) next »