) and add RewriteBase /myapp
into mod_rewrite section.
Regards
2009/1/26 inVINCable invinceable...@gmail.com:
Hey all,
Very simply question but cannot seem to find the answer. I have the
directory structure and everything in tact in the normal way. However,
on my server I put
be worth re-starting the (web) server. It fixed a 500 error I
was getting a while back. Been fine every since (even after uploading
source updates).
On Jan 26, 1:38 pm, inVINCable invinceable...@gmail.com wrote:
Hey,
Ok, I found both of the .htacess files and added RewriteBase /myapp
so
, inVINCable invinceable...@gmail.com wrote:
Hey,
Ok, I found both of the .htacess files and added RewriteBase /myapp
so my .htacess file looks like:
IfModule mod_rewrite.c
RewriteEngine on
RewriteBase /myapp
RewriteRule ^$ webroot/ [L]
RewriteRule
inVINCable,
I have tested my suggestion - see above.
This is the htaccess of the top-level. The others are untouched.
Hope that helps
RoVo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Hey all,
Very simply question but cannot seem to find the answer. I have the
directory structure and everything in tact in the normal way. However,
on my server I put the entire structure in the /myapp folder in the
document root.
Now, everything is all mest up and there is no CSS and files are
I would also like some suggestions for this as well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
Hey guys,
I apologize if this has been answered before, but I could not find it
anywhere, and have been attempting to get this thing to work for the
past 3 hours. I am using WAMP 5 and have tried to set up the console
the way gwoo did in the screencast, followed directions exactly, but
when I
, inVINCable [EMAIL PROTECTED] wrote:
Hey guys,
I am trying to paginate the results after creating an association on
the fly that lets me search the results of a HABTM association. This
is what it look like...
$userschool = $this-Session-read('User.school_id
Ketan Patel,
I am attempting to do the exact same thing and am running into
trouble. How exactly are you setting the $userid variable? What I have
done is in my view, set it up like this, $session-read('User.id), so
the user id is set there, and then something like $this-
element('tagCloud',
Hey guys,
I am trying to paginate the results after creating an association on
the fly that lets me search the results of a HABTM association. This
is what it look like...
$userschool = $this-Session-read('User.school_id');
$this-Story-bindModel(array('hasOne'
Hey mate! Thanks for your help but I solved the problem a couple of
hours ago. What I did was first get the items, then I simply extracted
the data, in this case the votes, from those items, then after that I
set a variable to the funciton in_array. Then depending on the outcome
of that the css
Hi guys,
Alright, this problem has troubled me for the past four hours so I
have to resort to the group : \
Ok, I have a HABTM between stories, tags, and my join table is
stories_tags. I have my search function set up very simply like this
in my tag controller
function search($tag) {
be done at this level.
You could use the finderQuery parameter, maybe into the HABTM
association.
This thread is very helpfull for the syntax of the finderQuery :
http://groups.google.com/group/cake-php/browse_thread/thread/5ac2bdec...
On Jul 7, 7:37 pm, inVINCable [EMAIL PROTECTED] wrote:
Hi
P.S. franckyl,
You were right, it does not work because there is no tag_id field in
my story table.
On Jul 7, 10:58 am, inVINCable [EMAIL PROTECTED] wrote:
francky06I,
I think a problem would occur because the variable depending on what
school_id is in their session, so if I put
Heh, yeah I fixed it, still no dice :(
No Story.tag_id field
On Jul 7, 11:12 am, Tim Koschuetzki [EMAIL PROTECTED] wrote:
Typo in the last line of the binding operation:
'cinditions'
; ]
On 7 Jul., 19:58, inVINCable [EMAIL PROTECTED] wrote:
francky06I,
I think a problem would occur
I am trying to get jquery to work with cake as well, so if anyone has
any ideas that would be great.
On Jul 4, 12:26 pm, Contrid [EMAIL PROTECTED] wrote:
Thanks for the responses guys! Greatly appreciated!
I could use the 'ajax' feature...
But the problem is that I'll then need the
I have just begun to set up my site and am running into trouble when
trying to use the model associations.
My tables look like this.
CREATE TABLE city (
id INT UNSIGNED NOT NULL AUTO_INCREMEMNT,
name VARCHAR(50)
);
CREATE TABLE users (
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
username
On Jun 25, 1:09 pm, Jonathan Langevin [EMAIL PROTECTED] wrote:
I agree with Chris
On 6/25/07, Chris Hartjes [EMAIL PROTECTED] wrote:
On 6/25/07, inVINCable [EMAIL PROTECTED] wrote:
Each user will be linked to ONLY one city, and each city will have
many users. So the best way I can
I have spent the last 3 hours trying to figure this out, and to no
avail.
Everything was fine and dandy until I add my login function in the
users controller. unction login() {
if(!empty($this-data))
{
// see if there are any users in the
('localhost');
}
On Jun 25, 7:13 pm, John David Anderson [EMAIL PROTECTED]
wrote:
On Jun 25, 2007, at 7:58 PM, inVINCable wrote:
I have spent the last 3 hours trying to figure this out, and to no
avail.
Everything was fine and dandy until I add my login function in the
users
Does anybody have a fix? It seems simple enough, just a simply logout
function, but those damn header warnings keep coming up. Any advice?
Thanks.
On Jun 25, 7:19 pm, inVINCable [EMAIL PROTECTED] wrote:
Well, I fixed the original problem, but now after setting my logout
function, the redirect
I have been creating various websites for hire the past few months.
Most have been basic logins, shopping carts, etc. And they have all
been using PHP and the SMARTY template system. I have been fuddling
around with CakePHP for about 10 hours already the past few days to
get a feel for it. I have
On Jun 23, 6:00 pm, Grant Cox [EMAIL PROTECTED] wrote:
Unless the views are quite different between cities, definitely use a
single view file.
In MVC your controller should load whatever data is appropriate for
the request, and the view just renders that data (into HTML, or RSS,
or JSON,
I am currently following a tutorial, and this line appears in my
code:
if ($error)
{
e('Invalid Login');
}
Obviously this means there is an error. The problem is I do not
remember defining $error anywhere, nor do I have any idea what the
single 'e' means.
Thank you for any advice on the
24 matches
Mail list logo