!
Warm Regards,
Andy Johnson • Sr. Technical Recruiter • Panzer Solutions, LLC
50 Washington Street • 9th Floor, SONO Corporate Center • Norwalk CT 06854
USA
Office: 203 -652 -1444 Ext 259 • Fax: 203-286-1457 • Email:
ajohn
Arash,
I seem to have the same problem, would you mind posting your solution with
your sample code and all?
On Saturday, June 23, 2012 8:45:50 AM UTC-4, Arash wrote:
Thanks Tarique, it looks to be the correct way but i didn't have any
success using it!
Here is what i did:
1. used HTTP
apache server allow .htaccess
http://httpd.apache.org/docs/current/mod/core.html#allowoverride
3. Does your apache server have mod_rewrite enabled?
http://httpd.apache.org/docs/current/mod/mod_rewrite.html
Cheers,
Andy
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
-partitionable
I haven't tried it but maybe this will help you.
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
-less-css-in-cakephp-application/
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
On Fri, Jul 6, 2012 at 2:17 PM, Marsson C. marss...@gmail.com wrote:
Does it mean Cake 3.0´s Model will return objects instead of arrays ?
Yes
Model layer rewrite:
Models to return objects from queries
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Our newest site
. an entirely different
object which is a copy of $obj.
So in PHP4, = is need to assign a reference to $obj to $obj2.
In PHP5...
$obj2 = $obj;
... assigns $obj2 as a reference of $obj by default so = is not required.
Cheers,
Andy
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
/default.ctp on
line 44
You need to include the Session helper I'd imagine.
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Hi,
I installed David Pearsson's media manager per the readme file but
can't see how to link it to my forms so that it handles image
uploads. I've scoured Google, the bakery, and ask.cakephp.org but
can't find any clear answer on this.
Any help or examples would be appreciated.
Thanks,
Andy
What version of Cake are you using? findAll() was replaced by
find('all') in 1.2.
From the 1.3 docs:
http://book.cakephp.org/view/1017/Retrieving-Your-Data#find-all-1021
On Jan 6, 7:22 pm, AndreGuerreiro andreadguerre...@gmail.com wrote:
Hi, I got this message
The 'i' means case insensitive, so you don't need the A-Z anymore:
'/^[\-\'\.\sa-z]+$/i'
On Nov 29, 3:54 am, Stephen step...@ninjacodermonkey.co.uk wrote:
My mistake, i goes after the forward slash.
*'rule' = array('custom', '/^[\-\'\.\sa-zA-Z]+$/i'),*
On 29 November 2010 08:53, Stephen
On Tue, Sep 21, 2010 at 4:02 PM, j.blotus j.blo...@gmail.com wrote:
I recently set up memcached as well, it's too bad that it doesn't give
you a great idea of how things are working behind the scenes.
Run memcached with the -vv option and it will tell you exactly what's going on.
--
Andy Gale
Did you try array(..., 'ClubsPlayer.start_datetime =
CURRENT_TIMESTAMP')?
On Sep 19, 5:38 pm, DerBjörn b.unkh...@googlemail.com wrote:
Hi Zaky,
yes with time() it works like that: ClubsPlayer.start_datetime =' =
date('Y-m-d H:i:s', time()) but i thought there is a easilier way :)
Thanks
What are you using for the log setting in core.php?
On Sep 10, 7:52 am, psybear83 psybea...@gmail.com wrote:
Hi everybody
From Ruby On Rails I'm used that while developing my log files are
full of informations about what pages were rendered etc.
In CakePHP I'm missing this - I don't even
:
as mentioned above i use
define('LOG_ERROR', 2);
On Fri, Sep 10, 2010 at 3:11 PM, Andy Dirnberger
andy.dirnber...@gmail.com wrote:
What are you using for the log setting in core.php?
On Sep 10, 7:52 am, psybear83 psybea...@gmail.com wrote:
Hi everybody
From Ruby On Rails I'm used
Router::connect('/threads/*', array('controller' = 'threads',
'action' = 'index'));
On Aug 30, 7:52 am, Greg Skerman gsker...@gmail.com wrote:
Ok so this should be fairly easy right?
I have a few controllers (forums, threads and posts)
The index of the forums controller shows the list of
view for posts (with a
comment existing) I only get Posts and Users, with no mention of
Comments.
Is there a reason for this?
Andy
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed
this? If all else fails... I may just have to
put in some code to delete the main Homepage cache file manually after
a model is saved or deleted. But I still hope there is a cleaner
way...
Andy
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
generation point of view but maybe not from a
performance point of view. Depends how important performance is
really.
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions
There's an error in your syntax. The line should be $filter =
array('Event.postcode' = '4883');
On Aug 2, 11:24 pm, #2Will willjbar...@gmail.com wrote:
Sorry but i seem to be struggling today. Ive got my index page
showing my paginated list and filtering by tag, but what if i want to
add in
consider all images url in webroot img
Any help plz
They are outside the document root so your web server can't serve them.
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
On Mon, Jul 26, 2010 at 1:31 PM, majna majna...@gmail.com wrote:
Andy Gale,
you can't cache elements and views in cache engine (1.2 or 1.3,
because Cache::read() and Cache::Write is not even used here).
It requires refactoring cache() and clearCache() functions
(basics.php) to implement
://book.cakephp.org/view/434/requestAction
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP
Things will be different if you're using Cake 1.3, but it will be
along the lines of:
$this-Html-link($this-Html-image('folio/thumb/' . $feature['Entry']
[0]['image'], array('alt' = __($feature['Portfolio']['title'], true),
'border' = 0)) . 'h3' . $feature['Portfolio']['title'] . '/h3',
URL_HERE,
Hi Chaim,
This is more of a HTML/css question rather than a cakephp question.
Try checking out some web libraries like JQuery or similar. These will
help you achieve what you are after
On Jul 21, 6:13 pm, Chaim ch...@oxfordshul.com wrote:
Hello,
I am a beginner to CakePHP, so forgive my
Hi,
The first line of you edit function has a mistake.
should be
$this-Post-id = $id;
Good luck!
On Jul 9, 11:13 pm, BlaineRumsey bla...@blainerumsey.com wrote:
Hello, I am new to cake and I am trying to complete the blog tutorial
in the manual for 1.3 for getting started. I am at the
The 404 page is the same. When an error occurs in production mode, the
site will return a 404 instead of the actual error. That's the only
difference in how 404s are handled.
The difference that may be tripping you up is that when debug is set
to 1+ there is an HTML comment appended to the end of
Sounds like you have private function admin_login() in
UsersController. Try public function admin_login() instead.
On Jun 13, 7:05 pm, Davor Ilic webfa...@gmail.com wrote:
with this i mean this
link:http://groups.google.com/group/cake-php/browse_thread/thread/4a445f48...
2010/6/14 Davor Ilic
According to the W3C, they expect to reach the recommendation
milestone for HTML5 in Q3 2010.
http://www.w3.org/2007/03/HTML-WG-charter.html#deliverables
On Jun 9, 11:11 pm, calvin cal...@rottenrecords.com wrote:
You can use whatever you want, but HTML5 is nowhere near completion.
It's not
I got around this by adding the following to
AppController::beforeRender until I was able to clean up the
controllers.
if (!empty($this-pageTitle)) {
$this-set('title_for_layout', $this-pageTitle);
}
On May 31, 11:27 pm, Miles J mileswjohn...@gmail.com wrote:
This was the one thing I hated
/path.php.
On Jun 1, 11:16 pm, Jeff jhull...@gmail.com wrote:
Hi Andy,
Actually that is my full path. At least when I FTP to my server,
immediately in the root directory / is the app folder. Is there
anything else that could be wrong?
Thanks
On May 12, 9:20 pm, Andy Dirnberger
In your controller, the current prefix is stored in $this-
params['prefix']. It's also available through Router::currentRoute()-
defaults['prefix'].
On May 27, 6:45 pm, aleph1 cubeythero...@gmail.com wrote:
I can't see how to retrieve the current prefix that is being used for
routing purposes.
Does that host have a users folder at ..users?
On May 27, 11:37 am, leo ponton@gmail.com wrote:
I'm having a problem on one of our hostings with case sensitivity.
Strangely, it is only on the 'users' controller.
If I do '..users/login' it doesn't work. If I do '..Users/login' it
does.
This is just a rough idea and will need to be completed (and probably
improved some), but hopefully it can get you started.
In AppModel:
var $schedule_id;
function find($conditions = null, $fields = array(), $order = null,
$recursive = null) {
if (is_array($conditions)) {
if
Do you have a crossdomain.xml file?
On May 17, 8:21 pm, Cycling_Joe joespran...@gmail.com wrote:
Can anyone guide me to what I am doing wrong.
If the www is omitted in my url's it causes my flash files to break.
If I go tohttp://www.mysite.comeverything is fine.
If I go
You may want to take a look at prefix routing (admin routing prior to
1.3) http://book.cakephp.org/view/950/Prefix-Routing.
On May 18, 9:58 am, Andrei Mita andrei.m...@gmail.com wrote:
Thank Renato. Actually I was thinking to develop two separate cake apps: one
to run the website for the
You need to use /the/full/path/to/app/.htpasswd.
On May 12, 11:17 pm, Jeff jhull...@gmail.com wrote:
Hi, I have the following in my /app/webroot/.htaccess file, as well as
a matching .htpasswd file in the correct directory per multiple online
how-to's, but my password protection is not
http://book.cakephp.org/view/1128/debug
On May 10, 9:06 pm, bradmaxs b...@pezzano.com wrote:
Can anyone tell me how to get:
Array
(
[0] = Array
(
[Portfolio] = Array
(
[id] = 1
[user_id] = 0
the automated 'for' attribute for the $this-Html-label.
On Sun, May 9, 2010 at 1:01 AM, Andy Dirnberger
andy.dirnber...@gmail.comwrote:
Labels are supposed to be used with input fields. You should be using
th for table column headers.
On May 8, 4:13 pm, ZAky procsh...@gmail.com
Labels are supposed to be used with input fields. You should be using
th for table column headers.
On May 8, 4:13 pm, ZAky procsh...@gmail.com wrote:
I am trying to omit the auto generated 'for' attribute for
$this-Html-label with no success.
I tried:
Why use the subquery?
SELECT * FROM mytable WHERE some_id = 1 GROUP BY block_id HAVING
MAX(date)
or:
$Model-find('all', array(
'conditions' = array('Model.some_id' = 1),
'group' = ('Model.block_id HAVING MAX(date)'),
);
On May 7, 6:16 am, Eleazar gerrit.kru...@gmail.com wrote:
Hello
for
,
[original table name 2]-values
[1]- etc.
What on earth could cause this? I have no idea where to begin! Why is
the returned array not formatted in the usual way? Why would it work
on the localhost but not on the online server? Any ideas will be
appreciated!
On May 7, 4:08 pm, Andy
I believe the src attribute of any script tag loaded through an Ajax
call is ignored; all JavaScript needs to be included in the original
page load or embedded directly in the response.
On Apr 30, 3:23 am, Vijay k.vidn...@gmail.com wrote:
Thanks for reply andrei.
I am calling the normal
I think mex is talking about dropping WordPress right into the webroot
folder with the ultimate goal being to have http://www.example.com/users
going to UsersController in Cake and http://www.examples.com/some-post/
going to WordPress. The problem is, .htaccess would have no easy way
of knowing
Check the Cookbook http://book.cakephp.org/view/127/One-Rule-Per-Field
On Apr 22, 10:10 am, Angelo angelo.maior...@gmail.com wrote:
Hello,
I juste discover ina blog article that we can use a on value in
$validate array.
Is there somewehere documentation about all value we can put in
and
the model (datasource?).
The code that Andy D. (sample) and you posted will, as far as I
understand, only handle the case of ensuring uniqueness in the
submitted data, not in both the submitted data and the existing data
in the table. Correct me if I am wrong :)
Enjoy,
John
On Apr 22, 6:08 pm
Here's a stripped down example of how I do it:
app_model.php
class AppModel extends Model {
...
function isUniqueMulti($data, $fields) {
if (!is_array($fields)) {
$fields = array($fields);
}
foreach ($fields as $key) {
$tmp[$key] = $this-data[$this-name][$key];
Ah, that's interesting!
Thanks again for the help.
Andy
On Apr 21, 2:19 am, WebbedIT p...@webbedit.co.uk wrote:
wouldn't one be able to use $this-Model-unbindModel() to take away any
unwanted, extra associations?
Yes, but that's exactly why Containable was written, it's a
convenience
Check out JsHelper in 1.3
http://book.cakephp.org/view/1594/Using-a-specific-Javascript-engine
On Apr 19, 10:17 am, Bryan Lim ytbr...@gmail.com wrote:
question as above.
I also want to ask if there's an official jquery helper for cakephp?
The one at the bakery is kinda outdated.
thanks!
...
Andy
On Apr 19, 12:04 am, WebbedIT p...@webbedit.co.uk wrote:
Recursive may do the trick, but you should be getting your head around
containable here and if your associations are correct the code Walther
provided should have worked.
Problem with recursive is if ModelA or ModelB are associated
('CTable';
And Andy, in the future please use real model names, makes it much
easier to see what is happening and sometimes people make mistakes
when converting to the alphabet models.
On Apr 16, 5:12 am, andy sum...@gmail.com wrote:
Hi Alan,
Thanks for the idea. I tried using
Using recursive seems to be a way to go about it:
$this-set('a', $this-ATable-find('all', array('recursive' =
'2')));
I found this via the following post:
http://stackoverflow.com/questions/137314/three-table-related-model-in-cakephp
Hope that helps someone.
Andy
Check out the new CakePHP
/2f1922523c17/9b2db4b7a05ce1e8?lnk=gstq=hasmany+hasmany#
And it sounds like something that was addressed with CakePHP 1.3. So
I'm using 1.3 (RC4)... yet it doesn't seem to allow me to use multi-
level models.
Thanks for any help,
Andy
Check out the new CakePHP Questions site http://cakeqs.org and help
)
)
)
)
)
)
On Apr 15, 5:38 pm, andy sum...@gmail.com wrote:
Has anyone successfully been able to do something like this? (I'm
using CakePHP 1.3 RC4)
I have three models:
class ATable extends AppModel {
var $name = 'ATable';
var $hasOne = array('BTable' = array
Hi Alan,
Thanks for the idea. I tried using 'contain' just now and I still am
just seeing ATable and BTable results in the returned array. I'll
keep playing around with containable anyhow...
Andy
On Apr 15, 7:16 pm, Alan Asher a...@asteriskpound.com wrote:
I think you need a contain
Cake doesn't insist on anything. The nature of clicking a submit
button in a form is to submit the form. That means the browser sends
the post/get request to the server and loads the response. If you want
different behavior, you need to catch the submit event through
JavaScript and cancel it.
The
Try $this-Auth-allow('*'). I think the addition of array() is what's
tripping you up.
On Apr 9, 4:48 pm, TobyG toby.i.griffi...@googlemail.com wrote:
Hi there,
Just wondering how to grant access to a plugin page using Auth.
Have tried using...
$this-Auth-allow(array('*'));
in the before
Why are you trying to save to the relationship table? Cake will do
that for you automatically.
What does your view look like (at least the part that creates the
form)? Provided your HABTM is set up correctly in the models and view,
calling $this-Model-save($this-data) in the controller should be
Why not perform your manipulations in afterFind?
http://book.cakephp.org/view/681/afterFind
If you add an 'age' key to the result in the callback (my guess is you
store the date of birth in the database, not the current age), you can
then use $person['Person']['age'] in your view.
On Mar 30,
You need to do two things:
1. Accept all of the parent constructor's parameters
2. Call the parent constructor
function __construct($id = false, $table = null, $ds = null) {
parent::__construct($id, $table, $ds);
...
}
That said, I'm not exactly sure what you're doing with parent::$this-
What happens if you change SisField::$hasMany to var $hasMany =
array('SisQueue');?
pardon for my dumbness but I did not understand what you are asking me
to do...in the model hasMany is already var hasMany=
I'm asking you to change $hasMany from what you have to the shorter
version I
What happens if you change SisField::$hasMany to var $hasMany =
array('SisQueue');?
On Mar 6, 9:02 pm, mathaios mathaio...@gmail.com wrote:
yes Paul this is the problem!
$this-SisField-SisQueue-belongsTo does return an empty array
instead of the real one. Clearly Cake is auto-creating the
What is the actual name of model2 and what is its filename? If the
file isn't being found, model2 is of type AppModel and not model2,
which would explain why you can't access a method defined in model2.
On Mar 4, 12:36 pm, mathaios mathaio...@gmail.com wrote:
Hallo all bakers! I hope someone can
XMLHttpRequest cannot upload files. The two ways to give the
appearance of Ajax are with Flash (e.g., Uploadify, SWFUpload, etc.)
and with an iframe.
Either way, only the data from $_POST ends up in $this-data. To
access any uploaded files, you need to use $_FILES.
Check out the new CakePHP
Glad to hear you were able to get that resolved.
Check out the documentation for the Auth component
http://book.cakephp.org/view/172/Authentication, in particular the
user method http://book.cakephp.org/view/387/user.
On Feb 24, 3:04 pm, deek derek.bon...@gmail.com wrote:
Andy,
It looks like
and the it does not output any of
the information. If I put ?php echo $post['User']['id']; ? or ?php
echo $post['User']['username']; ? those values will output just fine
but not displayname, what might cause this?
On Feb 23, 8:36 pm, Andy Dirnberger andy.dirnber...@gmail.com wrote:
Did you try
'
),
'frontpage' = array(
'rule' = 'numeric'
)
);}
On Feb 23, 12:01 am, WebbedIT p...@webbedit.co.uk wrote:
^^ What @Andy says is right.
Simple rule of thumb for hasMany/hasOne - belongsTo
relationships ... whichever model your foreign_key is in, it belongs
Try $belongsTo instead of $hasOne.
$belongsTo = array('User');
On Feb 22, 7:03 pm, deek derek.bon...@gmail.com wrote:
First of all let me say I'm very new to CakePHP and complex PHP in
general. I based the blog I am working on off the tutorial on the
CakePHP website. I skipped creating ACL
It's still sessions: http://book.cakephp.org/view/173/Sessions
On Feb 22, 9:01 pm, Josh LaMar jola...@umail.iu.edu wrote:
Hi all,
This is my first post. I am new to CakePHP but I have experience
programming in PHP and Python/CGI. Anyways I want to get comfortable
switching over to CakePHP by
I purposely put the closing /form
tag at the very end of my generated HTML (and verified by viewing the
generated HTML source.)
Thanks for the help anyway. I should have realized I was appending
outside of the form tags.
Andy
On Feb 17, 1:57 am, WebbedIT p...@webbedit.co.uk wrote:
No, you do
For future reference for anyone else having the same issue... it turns
out that the current HTML FORM tag has a certain scope that needs to
be within the same (or within the same,) DIV.
I ended up having one FORM tag inside of a DIV... and then had the
ending /FORM tag outside of the DIV.
Check
No worries about a test case :-)
I'll just keep testing different parts of it until something works...
it seems like it should work but maybe I am forgetting something.
Thanks for your help anyway.
Andy
On Feb 17, 1:57 am, WebbedIT p...@webbedit.co.uk wrote:
No, you do not need the single
I wonder if this could be a partial caching issue with the view...
- Any fields in the form at first page view will save.
- Any fields added via jQuery after first page view are not saved.
Does anyone know if CakePHP partially caches a form (view) the first
time it is loaded?
Check out the new
for the existing entries... but for the newly added (DOM/HTML)
fields, no success. Do you know if those single quotes matter in this
case? Thanks,
Andy
Thanks again for your help.
On Feb 16, 12:36 am, WebbedIT p...@webbedit.co.uk wrote:
In your first two representations of your data array
Does it work if you try doing a $this-Subject-find() instead of
using paginate? Just to see if that works...
On Feb 16, 9:37 am, Furuno furunom...@gmail.com wrote:
Okay, so, I have two models called Program and Subject, here's the
classes :
program.php
?php
class Program extends AppModel
Do you know what version of CakePHP you are running?
On Feb 16, 10:00 am, Furuno furunom...@gmail.com wrote:
Nope... :(
Just to make sure, I tried that once again with :
$this-set('subjects', $this-Subject-find('all'));
still no luck...
On 17 Feb, 00:56, andy sum...@gmail.com wrote
It appears to work when I manually put in a new input form field into
the view... instead of having it being added via jQuery:
[data] = Array
(
[Event] = Array
(
[0] = Array
(
[title] =
There is an article on this page that may help you redirect the
old .htm pages to the new format... in the article it talks about
using .php at the end of the redirect... but in your case you would
probably just have no extension at the end of your URL. This is all
assuming that you are using an
But I am wanting to use jQuery/Javascript to dynamically add a new
form item before saving... I'll keep poking around with it but I am
still curious as to if there is a limitation on form-creation with
CakePHP...
On Feb 15, 12:40 pm, andy sum...@gmail.com wrote:
It appears to work when I
something to a form
in the HTML before saving? When I add a new event... I'm purposely
not putting a new id in the UL's LI for that new event item. The id
should be added automatically in my database and it would most likely
be a different number.
Thanks,
Andy
On Feb 14, 1:00 am, WebbedIT p
Sorry, that array actually should look like this (I had previously
commented out something...)
Array
(
[Event] = Array
(
[0] = Array
(
[title] = First Event
[description] = This is the first event.
Also, if it helps... here is the HTML output of a newly-added form
event added to the HTML... before saving with CakePHP:
span class=ui-icon ui-icon-arrowthick-2-n-s/span
div class=input text
label for=Event1TitleTitle/label
input name=data[Event][1][title] maxlength=255
id=Event1Title
Have you tried putting anything like 'onclick' = false? (I forget if
false needs to be in quotes or not for this type of check...)
?php echo $html-link('Demo',
array('controller'='posts','action'='add'),
array('class'='popupButton', 'onclick' = 'false'));
or
?php echo $html-link('Demo',
| Fifth Grade |
Is there any way I can do this natively in CakePHP?
Any tips would be appreciated.
Thanks,
andy
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google
in the title of this post as well.
Thanks,
andy
On Feb 3, 11:17 am, andy sum...@gmail.com wrote:
Hello,
Sorry for the strangely-worded question title. I've been searching
around for a few days here on the CakePHP doc book, CakePHP group, and
around the Internet but I haven't been able
My solution for now is to use the !important qualifier in my css,
which will override any inline styles.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
I'm having problems styling the div that is created by the $ajax-
autoComplete() function. My code is identical to the example in the
book - http://book.cakephp.org/view/632/autoComplete. The
functionality works great - the callback works and the data gets
filled in properly. The problem, it
that location.
As I mentioned, on occasions the second call to the login has not
happened and I am successfully logged in, I can't tell you what is
different to male this happen. I wish I knew.
I'm a bit lost as to where to look next as I seam to be going round in
circles.
Best Regards
Andy
://groups.google.com/group/cake-php/browse_thread/thread/4f462c16...
On Aug 18, 5:10 pm, Andy and...@websitesthatdostuff.com wrote:
Greetings, all,
I'm working on a CMS based on CakePHP and I've been enjoying
working with Cake so far. However, I'm having some issues saving
information. My
and categories.
Would you all have any comments or suggestions on what I need to do to
get this working correctly? Thanks for your time!
~Andy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
Is 'type' a possible value for $this-params['action']? Rather than
setting the 'test' variable, have you tried to echo something from
that action just to be sure the routing is correctly taking you to
there?
On Jun 21, 6:37 pm, thatsgreat2345 thatsgreat2...@gmail.com wrote:
When I use $this-set
Petr,
Read http://book.cakephp.org/view/428/render.
On Jun 2, 1:40 pm, Petr Vytlačil petr.vytla...@gmail.com wrote:
APP CONTROLLER
function beforeRender(){
if($this-params['controller']=='frontends'){
// This do nothing
$viewPaths =
If you remove the echo $html-meta('icon'); line, does the page
display correctly?
On May 27, 6:17 am, iammikek mi...@brightstorm.co.uk wrote:
We're getting the same issue with php5.2.5 using the cake_1.2.3.8166 release
so suggest the issue doesnt only apply to php4.
Anyone got any ideas why
What error displays?
On May 25, 2:21 pm, fain182 fain...@gmail.com wrote:
Take a look athttp://book.cakephp.org/view/809/find-count
i tried:
$this-set('stati',
$this-{$this-Singular}-Sito-Stato-find(
'list',
array('fields'='DISTINCT stato')
)
);
Take a look at http://book.cakephp.org/view/809/find-count
On May 24, 3:30 am, fain182 fain...@gmail.com wrote:
hello,
i have a table 'posts' like:
id, author, subtitle, text, other fields..
i want to make a search with some select(one for author, one for
subtitle, ecc.), what is the best
Why not allow the blank record to save as NULL?
On May 24, 9:01 pm, cakephp101 valenzuela...@gmail.com wrote:
thanks for the reply but the thing is it's ok for the field to be
empty but it should not be saved in the database. i'm using foreach
loop for my saveAll for each of the fields so i
Has anyone ever had a problem with the Auth component not working
properly on an IIS7 server? I am able to login and am redirected to
the appropriate page. However, if I try to access another protected
page, I am immediately logged out. I have the same code on an Apache
and it works great.
] = */*
)
[__renderType] =
[ext] =
[__typesInitialized] =
[_log] =
)
)
2009/5/18 andy andy.baugh...@gmail.com
If you print_r($this-Auth), what keys/values are included in the
array?
On May 18, 4:09 am, paulos
If you print_r($this-Auth), what keys/values are included in the
array?
On May 18, 4:09 am, paulos nikolo paulitosthe...@gmail.com wrote:
Yeah Andy i tried this but still nothing.Dunno what else i have to do.Thx
anyway for your idea!
2009/5/18 andy andy.baugh...@gmail.com
I may be wrong
1 - 100 of 135 matches
Mail list logo