Skip to content

Instantly share code, notes, and snippets.

<?php
class ProjectController extends BaseController implements ProjectCreatorDelegate
{
public function store()
{
$creator = new ProjectCreator;
return $creator->create(Input::all(), $this);
}
<?php
/**
* @package Develpr_Sqs
* @author Kevin Mitchell <kevin@develpr.com>
* @copyright Massachusetts Institute of Technology License (MITL)
* @license http://opensource.org/licenses/MIT
*/
require(Mage::getBaseDir('lib') . '/develpr_sqs/aws.phar');
( ! ) Fatal error: Uncaught exception 'Exception' with message 'Warning: include(Aws\Sqs\SQSClient.php): failed to open stream: No such file or directory in /Users/kevin/Sites/magento1901/lib/Varien/Autoload.php on line 95' in /Users/kevin/Sites/magento1901/app/code/core/Mage/Core/functions.php on line 245
( ! ) Exception: Warning: include(Aws\Sqs\SQSClient.php): failed to open stream: No such file or directory in /Users/kevin/Sites/magento1901/lib/Varien/Autoload.php on line 95 in /Users/kevin/Sites/magento1901/app/code/core/Mage/Core/functions.php on line 245
Call Stack
# Time Memory Function Location
1 0.0040 231336 {main}( ) ../test.php:0
2 0.4734 5974120 Develpr_Sqs_Helper_Data->getSqsClient( ) ../test.php:49
3 0.4769 5978304 Varien_Autoload->autoload( ??? ) ../test.php:0
4 0.4770 5979840 mageCoreErrorHandler( ???, ???, ???, ???, ??? ) ../test.php:95
array (size=2)
0 =>
array (size=2)
0 =>
object(Varien_Autoload)[1]
protected '_isIncludePathDefined' => boolean false
protected '_collectClasses' => boolean false
protected '_collectPath' => null
protected '_arrLoadedClasses' =>
array (size=0)
//your modules config.xml in the event node
<sales_order_place_after>
<observers>
<customer_save>
<class>sfintegration/observer</class>
<method>salesOrderPlaceAfter</method>
</customer_save>
</observers>
</sales_order_place_after>