I am using the cloud foundry buildpack https://github.com/cloudfoundry/php-buildpack which is the same one used in both the CodeIgniter and Laravel demo's. My issue is that when I try to push my application (following the exact steps from the Laravel Demo Walkthrough) I end up with an error stating (full printout will be listed below):
Hello,
I am not sure if this is quite where I should be posting this issue but wondering if anyone can help me. I am trying to create an application using the Laravel framework and push it to IBM's development platform, Bluemix. I have found some useful stuff from the links below:
- CodeIgniter Example - https://github.com/dmikusa-pivotal/cf-ex-code-igniter/blob/master/manifest.yml
- Laravel Demo Walkthrough - https://developer.ibm.com/bluemix/2014/06/17/getting-started-laravel-bluemix/
- Laravel Demo Files - https://github.com/cloudfoundry/php-buildpack
I am using the cloud foundry buildpack https://github.com/cloudfoundry/php-buildpack which is the same one used in both the CodeIgniter and Laravel demo's.
My issue is that when I try to push my application (following the exact steps from the Laravel Demo Walkthrough) I end up with an error stating (full printout will be listed below):
2015-04-07T15:25:26.66+0100 [STG/0] ERR Could not scan for classes inside
"database" which does not appear to be a file nor a folder
Whereas there is quite clearly a folder there (see bottom of post).
I have put a question on the developer forum on bluemix https://developer.ibm.com/answers/questions/184161/problem-pushing-laravel-framework-php-onto-bluemix/?smartspace=bluemix but I am wondering whether this is simply that the buildpack isn't designed to work for Laravel? And if not, will it be?
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/583b4802-b4f6-4232-9f9f-7f068ac544cc%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to a topic in the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CAAqVxAzBLWEEahoDre5qHxSo8LJ89hsxaG3yCRyJ34375%3DMHCQ%40mail.gmail.com.
Hi Dan,Thanks for the quick reply. I'd have a few follow up questions if I can pick your brain a little as I'm afraid I'm new to the whole cloud world with buildpacks etc.You mention to try cf files, however I'm not sure that will work until I am able to deploy an application onto Bluemix and that won't work yet? So not sure this is something I can do - unless I'm missing something?
I'm equally new to Laravel so not sure what you mean by using relative paths and a home working directory etc. You say to set the full paths to $HOME but I'm not sure where you are saying to reference that?
Not sure if you know whether I'd set in the options.json file to public with Laravel (I believe that's correct).
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CAGB%3D%3DfYSwD3m6n-_ixhDUT%2BfeTV1Rb6ZYC-OJQLNTrLgGKswHg%40mail.gmail.com.