# |
Jan 29th 2014, 04:29 |
Starcraftmazter |
why would echo $this->Form->create() work in one view but not another? |
# |
Jan 29th 2014, 04:29 |
Starcraftmazter |
hi |
# |
Jan 29th 2014, 04:18 |
itamar_ |
@Hippo sorry I meant hasMany Through http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasmany-through-the-join-model |
# |
Jan 29th 2014, 04:14 |
Hippo |
I have never heard of hasThrough |
# |
Jan 29th 2014, 04:12 |
itamar_ |
It seems like a pretty simple user story but can't find good documentation on how to do it |
# |
Jan 29th 2014, 04:12 |
itamar_ |
so in the Courses index.ctp I'm trying to create a button that subscribes the logged in user to the course |
# |
Jan 29th 2014, 04:11 |
itamar_ |
I want a user to be able to subscribe |
# |
Jan 29th 2014, 04:11 |
itamar_ |
and there's a Subscriptions hasThrough |
# |
Jan 29th 2014, 04:11 |
itamar_ |
I have Users and I have Courses |
# |
Jan 29th 2014, 04:11 |
itamar_ |
so i have a question that seems so basic that I might be missing something that's right in front of me |
# |
Jan 29th 2014, 04:09 |
markstory |
sure |
# |
Jan 29th 2014, 04:09 |
itamar_ |
anyone active anyway? |
# |
Jan 29th 2014, 04:08 |
itamar_ |
hey anyone in here? |
# |
Jan 29th 2014, 03:31 |
markstory |
I guess he'll be on his own for that.. |
# |
Jan 29th 2014, 03:18 |
lugotache |
URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting |
# |
Jan 29th 2014, 03:18 |
lugotache |
it says |
# |
Jan 29th 2014, 03:18 |
lugotache |
cakephp |
# |
Jan 29th 2014, 03:18 |
lugotache |
sorry buy in windows i can´t run cacephp |
# |
Jan 29th 2014, 02:28 |
markstory |
or class/file typos |
# |
Jan 29th 2014, 02:28 |
voycey |
ah ok - thanks - ill check the paths out :) |
# |
Jan 29th 2014, 02:28 |
markstory |
*filters |
# |
Jan 29th 2014, 02:28 |
markstory |
it just doesn't run the filtesr. |
# |
Jan 29th 2014, 02:28 |
markstory |
voycey: it still loads all the filters on every request |
# |
Jan 29th 2014, 02:27 |
voycey |
no - they are linux boxes |
# |
Jan 29th 2014, 02:27 |
markstory |
You might have a casing issue. |
# |
Jan 29th 2014, 02:27 |
tigrang |
cpierce: dunno, try pasting the code, maybe we'll catch something |
# |
Jan 29th 2014, 02:27 |
markstory |
Do you develop one windows? |
# |
Jan 29th 2014, 02:26 |
voycey |
also markstory - if its debug 2 why is it even looking at the filters? |
# |
Jan 29th 2014, 02:26 |
tigrang |
ignore that ^ |
# |
Jan 29th 2014, 02:26 |
tigrang |
Why do you think it's loading the helper/ |
# |
Jan 29th 2014, 02:25 |
voycey |
Ill try that - im just not sure why it works on my other boxes but not the vagrant one - I havent had to define the paths on any of those... |
# |
Jan 29th 2014, 02:25 |
cpierce |
tigrang: yes ... it's inside a plugin but that doesn't make any sense why it is doing this |
# |
Jan 29th 2014, 02:24 |
markstory |
voycey: paths |
# |
Jan 29th 2014, 02:23 |
circ-user-fy3gI |
markstory: just the man! https://gist.github.com/voycey/fff2ec6b89202612e97d anyone got any idea why this is happening with AssetCompress? It is driving me mad - yuicompressor is definitely there and java is installed - it works fine on all of my other boxes - just not on my vagrant box |
# |
Jan 29th 2014, 02:22 |
tigrang |
it tries to load Session helper inside of the controller? |
# |
Jan 29th 2014, 02:20 |
cpierce |
markstory: no i'm in the controller of a plugin |
# |
Jan 29th 2014, 02:20 |
markstory |
no writing to the session from the view |
# |
Jan 29th 2014, 02:20 |
markstory |
cpierce: are you in a view? |
# |
Jan 29th 2014, 02:18 |
cpierce |
getting Method SessionHelper::write does not exist |
# |
Jan 29th 2014, 02:16 |
cpierce |
have a plugin that needs to use Session Component. I call $this->Session->write() and it tries to load the helper .... any ideas? |
# |
Jan 29th 2014, 01:19 |
akira2014 |
but no logs where inside |