# |
Feb 1st 2018, 17:44 |
joopm |
but both gave blank page |
# |
Feb 1st 2018, 17:44 |
joopm |
well i run the composer to make an experiement but also copied manually an earlier project |
# |
Feb 1st 2018, 17:42 |
openmail_slack |
Did you run composer? |
# |
Feb 1st 2018, 17:36 |
joopm |
i got this error |
# |
Feb 1st 2018, 17:35 |
joopm |
https://thepasteb.in/p/wjh0QRKwg1Buv |
# |
Feb 1st 2018, 17:34 |
amit |
Anyone have any experience with OpenStack/Object Store API |
# |
Feb 1st 2018, 17:23 |
hmic |
if it fails with an error message, you need to solve that error first |
# |
Feb 1st 2018, 17:22 |
hmic |
it should start a server, and show you information on how to access it |
# |
Feb 1st 2018, 17:22 |
hmic |
you can try if all the cakephp requirements are met, if you start the dev server on the console: go to your apps root dir and type "bin/cake server" |
# |
Feb 1st 2018, 17:21 |
hmic |
if you get a blank page, thats rather a server problem |
# |
Feb 1st 2018, 17:21 |
hmic |
not the app log |
# |
Feb 1st 2018, 17:21 |
hmic |
the server log |
# |
Feb 1st 2018, 17:19 |
joopm |
but cookbook writes it does not matter |
# |
Feb 1st 2018, 17:13 |
joopm |
extension is intalled rewriting i havent edited |
# |
Feb 1st 2018, 17:12 |
joopm |
but log file is empty |
# |
Feb 1st 2018, 17:12 |
joopm |
well i gave 777 permission for tmp and log |
# |
Feb 1st 2018, 17:09 |
joopm |
thank you i try what you suggest |
# |
Feb 1st 2018, 17:09 |
joopm |
hello hmic |
# |
Feb 1st 2018, 17:08 |
hmic |
like neccessary extensions, rewriting, and so on |
# |
Feb 1st 2018, 17:07 |
hmic |
make sure your server meete the prerequisites too |
# |
Feb 1st 2018, 17:07 |
hmic |
enable debug in the app, if you created a new app template from cakephp/app that should be the case already |
# |
Feb 1st 2018, 17:07 |
hmic |
joopm: check the serverlog |
# |
Feb 1st 2018, 16:44 |
joopm |
but it shows only blank page the php version 7.1 |
# |
Feb 1st 2018, 16:44 |
joopm |
i created a linux server,and created a cake project |
# |
Feb 1st 2018, 16:43 |
joopm |
i faced with a challange |
# |
Feb 1st 2018, 16:43 |
joopm |
hello all |
# |
Feb 1st 2018, 16:37 |
steinkel |
well done! |
# |
Feb 1st 2018, 16:37 |
neon1024 |
I’ll take 98% |
# |
Feb 1st 2018, 16:37 |
neon1024 |
https://coveralls.io/github/davidyell/CakePHP-Seo :) |
# |
Feb 1st 2018, 16:37 |
steinkel |
indeed it's a feature |
# |
Feb 1st 2018, 16:37 |
neon1024 |
We’ll call it an integration test and noone will notice! |
# |
Feb 1st 2018, 16:36 |
steinkel |
hehe |
# |
Feb 1st 2018, 16:36 |
neon1024 |
A small crime ;) |
# |
Feb 1st 2018, 16:36 |
neon1024 |
Yeah, I think on balance it’s not too bad |
# |
Feb 1st 2018, 16:36 |
steinkel |
ok, but you are using the router with this approach |
# |
Feb 1st 2018, 16:35 |
neon1024 |
I went with this in the end which seemed to work okay |
# |
Feb 1st 2018, 16:35 |
neon1024 |
Ahh ok |
# |
Feb 1st 2018, 16:35 |
neon1024 |
https://github.com/davidyell/CakePHP-Seo/blob/master/tests/TestCase/View/Helper/SeoHelperTest.php#L260 |
# |
Feb 1st 2018, 16:35 |
steinkel |
you would mock the protected method, not the Router:url one |
# |
Feb 1st 2018, 16:34 |
neon1024 |
I’d prefer to use a mock, as I don’t need to test the router |
# |
Feb 1st 2018, 16:34 |
neon1024 |
It was the mock that caused that error :slightly_smiling_face: |