I'm currently deploying a CakePHP site that works fine in one
environment (staging), but then encounters errors in another (live).
The error... my result array keys in staging reflect the joined tables
while my array keys in live are numeric. This means, on live, when I
state $my_var = $results['My
Hi,
I'm looking for a CakePHP developer to join an existing CakePHP
development team for a 2-3 month contract in NYC. CakePHP knowledge is
required. Any front-end skills such as jQuery and CSS are a bonus.
This project is for a major media/entertainment brand and will require
some work on-site at
Here's a new tutorial that's a bit more relevant
http://foldifoldi.com/news/?p=466
On Dec 25, 9:15 am, foldiman wrote:
> Andrew,
> It sounds like you want to use a join in yourpaginationquery. If you
> have set up your model relationships, the joins may happen
> autom
Andrew,
It sounds like you want to use a join in your pagination query. If you
have set up your model relationships, the joins may happen
automagically. However, you can force the join using the 'joins'
parameter in the pagination query. For example:
$joins1 = array(
'table' => 'bug_relations',
'a
Hi. I'm currently engaged on a CakePHP project and am looking for
another CakePHP developer to help bring it to completion. This site
has been fully wireframed, designed and has a working prototype that
was developed in Zend. Everything is in place and ready to go.
However, the final site needs to
I vote NYC!
On Nov 13, 11:19 pm, BrendonKoz wrote:
> Although I live east coast, I'd be more apt to go if it was some place
> warm/tropical. Once you're in DC, it's not bad, but getting there if
> you don't fly is a pain. Chicago's airport's pretty cool, but I've
> never been outside of it. Ho
I have a chance to pitch using CakePHP as the framework for a very
large project. However, I'm being asked to provide real world examples
of commercial Cake sites. I found the "Cake in the wild list".
However, I'm curious if there are any more high-profile sites like
rockstargames.com, addons.mozi
Here's a blog post on exactly this subject.
http://foldifoldi.com/news/?p=352
You can also see the comment about the $this->params['url']['url']
entry
On Aug 20, 5:12 pm, Jamie wrote:
> Oops, you're right - I don't. ;) At least, not until yesterday, and
> now I have a bug report sitting in
The original post about problem strings and TinyMCE reminds me of a
problem I recently had. Search for "500.shtml error? What is this?
Help!?" in this group.
But I had built a basic CMS that allowed an admin to change text in
specific views. Whenever the text contained "from" or other specific
wo
ose 500 errors when my webroot directory permissions were
> incorrectly set up. but in your case it seems that the error appears
> when you submit a form. is it submitting the the right controller?
>
> On Aug 4, 7:37 am, foldiman wrote:
>
>
>
> > I've deployed my
I've deployed my project to a client's server and am getting a strange
error when submitting text via a simple form. This does not happen on
my staging server. The full error looks like this:
NOT FOUND
Error: The requested address '/500.shtml' was not found on this
server.
Obviously I'm not loo
I found this article and followed his advice. It's amazing what damage
a little whitespace can do.
http://dblog.com.au/web-development/cakephp-session-troubleshooting/
On Jun 16, 5:31 pm, foldiman wrote:
> Correction, I'm using
>
> read()); ?>
>
> On Jun 16, 4:20
Correction, I'm using
read()); ?>
On Jun 16, 4:20 pm, foldiman wrote:
> I just started a new CakePHP project with a new download of Cake. If I
> place the following in my home.ctp in my pages directory, I see my
> session.
>
>
>
> But it doesn't work o
I just started a new CakePHP project with a new download of Cake. If I
place the following in my home.ctp in my pages directory, I see my
session.
But it doesn't work on any view page that's linked to a controller.
For example, I have a 'cars_controller' and a 'cars' folder in the
'views' folde
I haven't found any documentation on this. But I'm assuming the
Session.timeout and Cookie expiration date are not equal. In fact, by
experimenting with the three different security levels, I found the
following:
low = cookie expires in 25 years
medium = cookie expires in 1 week
high = cookie exp
Setting the 'content' field type to BLOB in the secrets table solved
this problem.
On Jun 9, 12:10 pm, foldiman wrote:
> I'm trying to figure out why on one host, my CakePHP app will read/
> write ciphered text in and out of a MySQL table while on another it
> fails. I
I'm trying to figure out why on one host, my CakePHP app will read/
write ciphered text in and out of a MySQL table while on another it
fails. I've set up a simple test to comparetry it and you can see
for yourself
On this host it works:
http://www.foldifoldi.com/cakeapps/cipher/secrets/
I get this error intermittently and do not understand why.
Warning (2): unlink(/app/tmp/cache/models/
cake_model_default_restaurants_states)
[function.unlink]: No such file or directory [CORE/cake/libs/file.php,
line 292]
I notice that if I simply reload the page, the error goes away. It
seems t
Thanks. I've implemented this change and pushed another build for
testing. Meanwhile, would the following setting in the core.php file
have any effect?
Configure::write('Session.start', true);
Configure::write('Session.checkAgent', true);
Do these have anything to do with the Auth component?
Th
My Cake built site is in QA and is receiving bugs from testers saying
they are getting involuntarily logged out at random places in both the
admin and public side. I'm using a simple implementation of the Auth
component...no Acl. I have my Security set to low for long sessions.
But I'm really stu
gt; Then your image helper would look something like:
>
> $html->link($html->image('photos/mediagallery/uploads/main_demo.jpg'),
> array($html->url('
> photos/mediagallery/uploads/main_zoom.jpg')), array('title' =>
> 'hello',
I'm stuck trying to construct a URL using the html helper that points
to an jpeg sitting in an 'uploads' folder in my webroot folder. I've
tried the following.
$html->link($html->image('/uploads/main_demo.jpg'), array($html->url('/
uploads/main_zoom.jpg', true)), array('title' => 'hello', 'escape
I'm stuck on constructing a complex find statement. I have a Car model
and a Cartype model that are associated via HABTM. In other words, a
Jeep (Car) can be an SUV (Cartype), a Truck (Cartype), and a
Convertible (Cartype).
I'm stuck on constructing the find query when searching for Cars by
Carty
Does anyone have a live example of Spreadsheet_Excel_Writer? Thanks.
On May 3, 2:38 pm, shird wrote:
> Thank you. I found the problem I was having when I first replied to
> this. I am now set on this. I did have to declare the vendors path
> though, I am keeping my vendors in the app directory,
Thanks!
On Mar 4, 6:19 pm, brian wrote:
> I would do that in beforeSave(). What problems were you having with that?
>
> On Wed, Mar 4, 2009 at 1:34 PM, foldiman wrote:
>
> > I've successfully setup a HABTM between a User model and Club model
> > that looks like th
I have an add User page that has a set of checkboxes representing the
User model's HABTM relationship to another model. On form submission,
when one of the validation rules gets triggered, all the checkboxes
disappear. Has anyone else encountered this problem?
To get around it, I do the validatio
I've successfully setup a HABTM between a User model and Club model
that looks like this in my User model:
var $hasAndBelongsToMany = array(
'Club' =>array(
'className' => 'Club',
'foreignKey' => 'user_id',
'associationForeignKey' => 'club_id'
)
);
When creating new Users, I display a select
I've successfully setup a HABTM between a User model and Club model
that looks like this in my User model:
var $hasAndBelongsToMany = array(
'Club' =>array(
'className' => 'Club',
'foreignKey' => 'user_id',
'associationForeignKey' => 'club_id'
)
);
When creating new Users, I display a select fi
Thanks. That was it
On Mar 3, 12:05 pm, mscdex wrote:
> On Mar 3, 10:15 am, foldiman wrote:
>
> > $params = array(
> > 'conditions' => array('Music.inactive' => '0')
> > );
> > $this->set('musics', $this-&g
I've successfully setup a HABTM relationship between two models,
`Club` and `Music`. When I want to add a new club, I do the following
in the Clubs controller:
$this->set('musics', $this->Club->Music->find('list'));
Like magic my admin_add view for Clubs displays a series of checkboxes
with a li
I've been using Aptana studio and have been deploying to the Aptana
Cloud. Synching to the cloud is pretty cool and has saved me some
time.
On Mar 1, 3:53 am, Kappa wrote:
> Does the code completion works well with netbeans?
> I'm currently using Eclipse, and it's completion is not great.. for i
...after trying a few things, I noticed I can't even do this...
form id='pwTestForm' action='javascript:alert()'>
Just trying to trigger an alert triggers the loginAction!?
On Feb 27, 9:12 am, foldiman wrote:
> I'm using the Auth component with no p
I'm using the Auth component with no problem..users login, logout,
admin working fine, etc.
However, I have a few forms (contact, password recovery) that are not
connected to models and need to be accessible to all users. The pages
themselves are easily accessible using the allow() method. But wh
x27; validation rule set on the email_confirm
field.
I removed the rule from the field and used your unset suggestion and
the column is no longer included in the INSERT statement. So now it
works...
Thanks!
On Feb 10, 7:04 pm, mscdex wrote:
> foldiman wrote:
> > Cake wants an '
Ok. Thanks. But this only works if I specify exactly which columns to
save in my controller using:
$user = $this->User->save($this->data, true, array('email',
'password', 'password_confirm', 'first_name', 'last_name')
Notice I left out 'email_confirm' in the list even though that field
appears i
Ok. Here's the relevant code in the view file 'users/add.ctp'
echo $form->create('User', array('action' => 'add'));
echo $form->input('first_name', array('label' => '*First name',
'before' => '', 'between' => '', 'after' => '',
'error' => array('wrap' => 'span', 'class' => 'errorMsg'), 'maxlength
I'm trying to build a form that includes both a password_confirm field
as well as a email_confirm field. The password_confirm field behaves
as expected when using a confirmPassword() function in the model that
compares the two fields, 'password' and 'password_confirm'.
However, there's a problem
Can anyone give general strategy advice on building a tagging system?
I'm creating an app where users simply upload pics. I've successfully
established an HABTM relationship bw my 'pic' model and my 'tag' model
and have a table w two foreign keys called 'pics_tags'. Adding new
'tags' updates this
I'm working thru the "Simple Acl controlled Application" in the
cookbook and cannot get past the 10.2.4 Acts As a Requester step.
Everything is working up to this point, baking the files, initializing
the Dd Acl, tables, etc. I'm on a Mac and can view the app in progress
at http://localhost/tusers
39 matches
Mail list logo