# |
Jul 11th 2017, 18:54 |
manuweg |
An Internal Error Has Occurred |
# |
Jul 11th 2017, 18:52 |
admad |
try and find out |
# |
Jul 11th 2017, 18:52 |
manuweg |
Must I? |
# |
Jul 11th 2017, 18:52 |
manuweg |
No |
# |
Jul 11th 2017, 18:52 |
admad |
did you turn off debug? |
# |
Jul 11th 2017, 18:51 |
manuweg |
Yes it is |
# |
Jul 11th 2017, 18:51 |
manuweg |
cachePath = WEBROOT/cache_js/ |
# |
Jul 11th 2017, 18:51 |
manuweg |
[js] |
# |
Jul 11th 2017, 18:51 |
admad |
*set for |
# |
Jul 11th 2017, 18:51 |
admad |
what's the path set of "cachePath" for for in asset_compress.ini and is the jquery-combined.js located inside it? |
# |
Jul 11th 2017, 18:49 |
manuweg |
or should I have a configured path that I am not aware of? |
# |
Jul 11th 2017, 18:49 |
manuweg |
should I remove these file build settings after building with the CLI? |
# |
Jul 11th 2017, 18:48 |
manuweg |
Could not locate WEBROOT/theme/vendors/jquery/jquery-2.1.4.min.js for jquery-combined.js in any configured path. |
# |
Jul 11th 2017, 18:47 |
manuweg |
however, when I refresh my page I get an error |
# |
Jul 11th 2017, 18:47 |
manuweg |
successfully using the CLI |
# |
Jul 11th 2017, 18:47 |
manuweg |
I have generated the build file jquery-combined.js |
# |
Jul 11th 2017, 18:46 |
manuweg |
I'm try to get mark story's asset compress plugin working |
# |
Jul 11th 2017, 18:46 |
manuweg |
Hi |
# |
Jul 11th 2017, 17:55 |
ericadeefox |
anyone else on here use akkaweb's Facebook plugin? |
# |
Jul 11th 2017, 17:51 |
graziel |
you probably forgot to `use FilesystemsTrait;` |
# |
Jul 11th 2017, 17:18 |
awi |
$this->filesystem is an unknown method... |
# |
Jul 11th 2017, 17:11 |
awi |
WyriHaxismus i am trying to set up FlyPie with Webdav adaptor. I tried calling it in a table beforeMarshal to fetch the file before saving it to the database... I get some weird results... |
# |
Jul 11th 2017, 16:32 |
ericadeefox |
how to set `$this->session()` but for ALL of the integration tests? |
# |
Jul 11th 2017, 16:15 |
rudy1976s |
thank you all |
# |
Jul 11th 2017, 16:15 |
rudy1976s |
it was clearly there :scream: |
# |
Jul 11th 2017, 16:15 |
rudy1976s |
as usual I spend few time reading the cookbook |
# |
Jul 11th 2017, 16:15 |
hmic |
you should have a look in the callable arguments to collection functions too, if you need more custom stuff next time, this is really a nice and very mighty feature... |
# |
Jul 11th 2017, 16:14 |
hmic |
congrats rudy1976s! |
# |
Jul 11th 2017, 16:12 |
ericadeefox |
ahh cool |
# |
Jul 11th 2017, 16:12 |
rudy1976s |
$data = $collection->extract(‘node.left_relations.{*}.node’); |
# |
Jul 11th 2017, 16:12 |
rudy1976s |
I solved my problem apparently using |
# |
Jul 11th 2017, 16:11 |
ericadeefox |
^^right, which I had been doing, but now that I have incorporated FB SDK, I'm getting thrown all kinds of errors about how there's no stored session. so I'm thinking, OK, I guess for every test that requires session data, now I've got to set `$this->session()` for FB as well. which I'm not sure how to do that yet cos this is the first time I've used FB SDK. x_x |
# |
Jul 11th 2017, 16:10 |
jeremyharris |
you can use $this->session() in your integration tests to set data that will be passed to the created session object though |
# |
Jul 11th 2017, 16:10 |
jeremyharris |
integration tests create a session object which is then used, it doesn’t actually read from the session itself |
# |
Jul 11th 2017, 16:09 |
ericadeefox |
it requires a stored session, which apparently the way I had been doing it w my integration testing wasn't sufficient. so I go, OK, let's `session_start()` at the top of my tests. nope, it starts the session but then completely ignores the session data I set, like admin stuff, rendering most of my tests useless anyway. RIP perfect tests |
# |
Jul 11th 2017, 16:07 |
jeremyharris |
not sure your use case though, I don’t know anything about the fb sdk or what it expects |
# |
Jul 11th 2017, 16:06 |
jeremyharris |
if it requires it now, I guess so :( I usually have a login() method for my tests that set session data, which would allow setting fb related session data in it as well |
# |
Jul 11th 2017, 16:04 |
ericadeefox |
FB SDK has ruined my integration testing, which has been perfect for past several weeks. erring there is no stored session, so do I need to store specific session data for FB for each test I have that requires session data? |
# |
Jul 11th 2017, 16:02 |
jeremyharris |
the best |
# |
Jul 11th 2017, 16:02 |
jeremyharris |
procrastination! |
# |
Jul 11th 2017, 16:02 |
ericadeefox |
nbd I'm fiercely trying to avoid confronting the 56 errors my tests are throwing me :,( |