loic-sharma / Messages

A Laravel Bundle for the Swiftmailer library
GNU Lesser General Public License v3.0
39 stars 7 forks source link

Bundle incompatibility with the openshift server? #29

Open haryono opened 11 years ago

haryono commented 11 years ago

It runs smoothly on localhost but once I deployed to open shift [https://www.openshift.com] server it brings down the whole website down unless i commented it out from the bundle.php.

Anyone have the guideline for this? is there any special configuration required for it to run on server?

loic-sharma commented 11 years ago

That's strange. I'll test this when I have time.

haryono commented 11 years ago

==> php-5.3/logs/access_log-20130907-000000-EST <==

==> php-5.3/logs/error_log-20130907-000000-EST <== [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP Fatal error: Class 'Swift_DependencyContainer' not found in /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/swiftmailer/dependency_maps/cache_deps.php on line 3 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP Stack trace: [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 1. {main}() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/php/index.php:0 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 2. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/php/index.php:34 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 3. Laravel\Bundle::start() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/laravel/laravel.php:93 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 4. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/laravel/bundle.php:102 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 5. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/start.php:29 [Fri Sep 06 23:44:23 2013] [error] [client 127.9.91.129] PHP 6. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/swiftmailer/swift_init.php:22

loic-sharma commented 11 years ago

Just out of curiosity, have you tested vanilla Swiftmailer 4.2.2 on openshift?

haryono commented 11 years ago

Hi, nope this is my first try out on swiftmailer laravel bundle. I am currently using laravel 3.x not the 4 , is that the problem?

Here are some of the message on the initial commits ==> php-5.3/logs/error_log-20130907-000000-EST <== [Sat Sep 07 00:31:09 2013] [error] [client 127.9.91.129] PHP 5. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/start.php:29 [Sat Sep 07 00:31:09 2013] [error] [client 127.9.91.129] PHP 6. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/swiftmailer/swift_init.php:22 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP Fatal error: Class 'Swift_DependencyContainer' not found in /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/swiftmailer/dependency_maps/cache_deps.php on line 3 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP Stack trace: [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 1. {main}() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/php/index.php:0 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 2. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/php/index.php:34 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 3. Laravel\Bundle::start() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/laravel/laravel.php:93 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 4. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/laravel/bundle.php:102 [Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 5. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/start.php:29

[Sat Sep 07 00:31:11 2013] [error] [client 127.9.91.129] PHP 6. require() /var/lib/openshift/518bc16f5973ca8646000075/app-root/runtime/repo/bundles/messages/swiftmailer/swift_init.php:22