Bug 1069508
| Summary: | [origin_cartridge_57] Some warning shown in web when visit php-5.3/5.4 upstream cakephp quickstart | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Yan Du <yadu> | ||||
| Component: | Image | Assignee: | Vojtech Vitek <vvitek> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.x | CC: | hripps, vvitek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-03-12 03:08:33 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Yan Du
2014-02-25 07:37:32 UTC
And the cakephp is not working when download the file from https://github.com/cakephp/cakephp/tarball/1.3.10 steps: 1. Create a php app 2. download cakephp package from https://github.com/cakephp/cakephp/tarball/1.3.10 , and unzip it tar zvf some/dir/cakephp-cakephp-1.3.10-0-g8671aa3.tar.gz 3.copy all files and dirs to php/ dir of libra app git repo #cp -rf some/dir/cakephp-cakephp-b0abad1/* php1/php 4.git push and visit the page in web After push, we can not get 'CakePHP: the rapid development php framework' homepage, and before the php DocumentRoot logic changed, it works well. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/276cc3fa54d000c3c5e939ad1bd66d25e20a230c fix php erb processing bug bug 1069508 - https://bugzilla.redhat.com/show_bug.cgi?id=1069508 Test on devenv_4420 1. when create cakephp by #rhc app create cake54 php-5.4 mysql-5.1 --from-code=https://github.com/cakephp/cakephp.git, we still got some notice and warning in webpage. 2. try to create the cakephp according the comment1, after app created, the webpage is a little mess, you can refer to the pic in attachment. Created attachment 867817 [details]
cakephp
@Yan Du, in my opinion, there are no more Errors/Warnings that could be considered a bug. > Notice (1024): Please change the value of 'Security.salt' in APP/Config/core.php to a salt value specific to your application. [CORE/Cake/Utility/Debugger.php, line 845] This tells users to set custom value of Security.salt. > Notice (1024): Please change the value of 'Security.cipherSeed' in APP/Config/core.php to a numeric (digits only) seed value specific to your application. [CORE/Cake/Utility/Debugger.php, line 849] This tells users to set custom value of Security.cipherSeed. > Your version of PHP is 5.2.8 or higher. > > Your tmp directory is writable. > > The FileEngine is being used for core caching. To change the config edit APP/Config/core.php > > Your database configuration file is NOT present. > Rename APP/Config/database.php.default to APP/Config/database.php This tells users to create the database config file. See warnings at bottom. > > DebugKit is not installed. It will help you inspect and debug different aspects of your application. > You can install it from GitHub > > Editing this Page > To change the content of this page, edit: APP/View/Pages/home.ctp. > To change its layout, edit: APP/View/Layouts/default.ctp. > You can also add some CSS styles for your pages at: APP/webroot/css. > > CakePHP: the rapid development php framework > Warning (2): include_once(/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/app/Config/database.php): failed to open stream: No such file or directory [CORE/Cake/Model/ConnectionManager.php, line 67] > Warning (2): include_once(): Failed opening '/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/app/Config/database.php' for inclusion (include_path='/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/lib:.:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/lib:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/libs:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/libraries:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/src:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/vendor:/var/lib/openshift/530df479488508a1f60002b0/app-root/runtime/repo/vendors:/var/lib/openshift/530df479488508a1f60002b0/php/phplib/pear/pear/php:/usr/share/pear') [CORE/Cake/Model/ConnectionManager.php, line 67] Warnings related to the missing database config file. Note to the above: Don't forget we're pulling the code straight from the upstream code. There are no OpenShift-specific values (as DB string etc.) set yet - this is not OpenShift QuickStart/Example. CakePHP users are used to configure these files themselves. |