You have a whitespace at the en of the file. Erase it...
On Oct 4, 11:01 am, val <[EMAIL PROTECTED]> wrote:
> Instead redirecting, i get this.. Any Ideas?
>
> login.thml:
> if ($error)
> {
> e('Invalid Login.');}
>
> ?>
>
> Please log in.
>
>
> form('/users/login') ?>
> Username:
> input('U
You have a whitespace at the end of the file. Erase it.
On Oct 4, 11:01 am, val <[EMAIL PROTECTED]> wrote:
> Instead redirecting, i get this.. Any Ideas?
>
> login.thml:
> if ($error)
> {
> e('Invalid Login.');}
>
> ?>
>
> Please log in.
>
>
> form('/users/login') ?>
> Username:
> input('Us
var was undeprecated on 5.2
On May 22, 12:03 pm, mustan9 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The var keyword is deprecated in PHP5. The Cake documentation and
> source code constantly use this keyword to define properties for
> classes. The documentation should be changed, and all references to
On May 21, 4:40 pm, rloaderro <[EMAIL PROTECTED]> wrote:
> Hello, I am a big fan of Cake. Recently I have been having to use
> other MVC frameworks and came across a couple bits that I would love
> to see duplicated in Cake (my framework of choice).
>
> - Symfony function name caching
>
> When Sy
I think this is currently possible
$form->create('Post',array('url' =>array('named' => value))) will
produce /posts/add/named:value
On May 26, 12:59 pm, mmalca <[EMAIL PROTECTED]> wrote:
> I have following situation:
> 1. i have a hidden field in a form in which I store referer (for me to
> know
Hi Jhon,
It looks like you have not configured properly the component or
behavior.
Could you please join the #cakedc irc channel in order to get help
with this plugin? We will be waiting for you to offer any help you
need.
Cheers.
On Jan 4, 11:32 am, John Maxim wrote:
> Hi the below is exactly
This error was already fixed in the lasted revision, if you want to
stay with latest changes please checkout the 2.0 branch using git.
Thanks!
On Jan 4, 4:50 am, ennosun wrote:
> Hi Tomasz,
>
> I think cakephp does not use the database file because a print_r on
> the $this object tells me, that
This issue was recently fixed, please visit the book page again to see
correct code samples
On Feb 7, 11:32 am, Cyrus wrote:
> Im not quite sure if I just don't see it, but
> inhttp://book.cakephp.org/view/1543/Simple-Acl-controlled-Application#!...
> it says " Execute the following SQL statemen
How did you download the project, and where did you put the files?
--
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 questions.
To unsubscribe from thi
Yes it is possible. What is your particular problem?
--
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 questions.
To unsubscribe from this group, send
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.0-RC3[1]. 2.0.0-RC3 marks the end of the release candidates for
2.0.0. If no critical issues arise during the life time of the RC, we should
expect a stable release really soon. As usual, mo additional new fea
You need to use $this->getDatasource()->expression() for those cases.
CakePHP does not handle all database details such as explicit casting. It
might be better to define an implicit cast function inside postgresql.
Cheers
--
Our newest site for the community: CakePHP Video Tutorials
http://tv
Mocks should be done inside each test method, but if you are doing them
inside setUp() then, you should not specify the class name for the mock,
because you will get duplicate defined class errors. So lets say you want to
mock the save method for a model
App::uses('User', 'Model') //It is impor
That looks like a very odd error. What version of php are you using? can you
paste the complete core.php file in the cakephp bin?
--
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
I can confirm this bug, I'll keep you posted
--
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 questions.
To unsubscribe from this group, send email to
The bug was fixed in lastest commit in cakephp repo. Thanks a lot for
reporting it.
--
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 questions.
To un
Yes, your configuration looks fine. I would not advise using memcache for
the _core_ cache configuration, it is better to use APC, although it will
still work fine and fast with memcache.
CakePHP does not cache find() calls, that is a task left for the developer.
--
Our newest site for the com
My standard is just as Elte Hupkes* *pointed out:
App::uses('MyException', 'Error/Exception'); at the beginning of the class
that will throw it and put the exception class in app/Lib/Error/Exception
Cheers!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
C
I don't know where your problems stems, but I know why you are seeing that
issue. ClassRegistry::init looks first if a model with that name is already
loaded, if it is, then it returns the already created instance. If it is not
there already, it will do an App::import() internally to look for th
It is possible that having the model there is causing the issue. But I'm not
sure. It might be worth trying to put it in /modes to see if it works. I'm
glad it's working now :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questi
I think you are confusing the mssql driver with the SqlSrv driver. There is
no mssql in CakePHP 2.0. Sorry about that
--
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
yes, it is open for edition, through github pull requests
https://github.com/cakephp/docs
--
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 questions.
What global variables
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr
Use try-catch.
Alternatively, override save() in AppModel and tor try { parent::save()}
catch (Exception $e) { //do something }
--
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
Can you post the data in $logs ?
--
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 questions.
To unsubscribe from this group, send email to
cake-php+un
I think you can get it working with very minor changes. It just need proper
accessors (public, protected, private) importing the datasource class
(App::uses('DataSource', 'Model/Datasource')) and I think that's it
give it a try!
--
Our newest site for the community: CakePHP Video Tutorials
You are missing a trailing slash in you App::build() path
--
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 questions.
To unsubscribe from this group,
Can you link to your hosting provider web page? also... can you paste the
complete phpinfo() ?
--
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 questio
They match the controller name, yes. As in the past
--
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 questions.
To unsubscribe from this group, send e
App::uses('CalendarAppModel', 'Calendar.Model') in each model in your plugin
should do the trick :)
--
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 qu
app/Console/Templates/*
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...
Well, good luck with future project in Symfony, Zend, I'm sure you will be
hitting the shift key a lot less!
--
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 r
Well, it happens because in certain pages you visit some classes are loaded
and in other pages it could load different ones. The cache will be written
(appending new classes) every time, but in debug mode it gets cleaned after
a short period, hence the erratic behavior of sometimes being able to
Basically it just started with folder CamelCased when they only contained
php classes. But shortly after we realized that half the folders where in
uppercase and the other in the old standard. It looked really odd, and would
make developers have to remember more conventions, so it was decided to
Actually, it could potentially have classes inside. But while being an edge
case, we decided to keep everything as much uniform as possible, mixing
camelcase and underscore in the same folder looked really odd when we
started, so we settled for only one standard. See my response in the other
po
Did you finish the tutorial? In the following lines it is explained how to
allow access to post adding and editing.
--
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 Ca
It will be available very soon, hopefully for next week or so. We are
working on the training materials and defining the contents for each
session. Thanks for your interest!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions
The exception handler is a last resource mechanism. You should always use a
try catch unless you think than presenting an error page to the user is the
best thing to do. otherwise, if you can handle the exception and recover
from it, you should do so.
There are very clever ways of using the exc
In any method of your custom object you ca do something like this, it will
load the component or return the already instantiated one.
$session = $this->_Collection->load('Session');
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
Take a look at this video, it is a plugin I did for using the datamapper
pattern in CakePHP and MongoDB as a datasource:
http://tv.cakephp.org/video/CakeFoundation/2011/10/06/using_the_mongocake_plugin_for_cakephp_2_0_-_by_jose_lorenzo_rodriguez
--
Our newest site for the community: CakePHP Vid
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.1 [1]. 2.0.1 is the first bugfix/maintenance release for the
2.0 branch. Since the very well received release of 2.0 stable two weeks
ago there have been 95 commits, and 6 issues resolved. For people still
hesi
Just tested it in a clean cakephp 1.3.13 install and works fine.
--
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 questions.
To unsubscribe from this
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.2 [1]. We saw the need to release this version after a bug that
was introduced in the 2.0.1 version regarding the calculation of the
Content-Length header. This bug can cause unexpected errors in the ouput
su
This issue was resolved yesterday, please checkout the latest code in the
2.0 branch
--
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 questions.
To u
where's the pull request?
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr.
Try $this->Components->disable('Security')
--
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 questions.
To unsubscribe from this group, send email to
c
This weekend
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegrou
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.3 [1]. A lot has happened in the PHP world since our last
release, this new version incorporates all needed changes needed to adapt
to the ever evolving world of PHP frameworks.
One of the big changes out the
It is possible via creating a custom Authorization object, those objects
act as plugins for the AuthComponent so you would not need any changes in
the usual way you work with Auth. The main question is, do you really need
ACL? I've seen lots of people wondering about ACL and after a short talk
When mocking a model it is recommended that you pass the correct parameters
to the contstructor:
$this->User = $this->getMock('User', array('_saveUploadedFile',
'_removeUploadedFile'),
array(false, 'users', 'test'));
The third parameter indicates that you want to use the 'users' table and
th
Sorry, duplicate classnames are not allowed by PHP. Cake is not failing
hard with a fatal error in your case because it caches the classname
location for future uses, so the first one accessed wins. If you had
multiple classes with the same name PHP would throw a fatal error if both
classes get
You might want to take a look at this plugin to get an idea of how to
implement it
http://cakealot.com/2009/04/eventful-a-cakephp-event-system/
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.3 [1]. A lot has happened in the PHP world since our last
release, this new version incorporates all needed changes needed to adapt
to the ever evolving world of PHP frameworks.
One of the big changes out there
Sorry About the mixup, that was the announcement for 2.0.4. Here is the
real one:
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.4 [1]. This release fixes an important security issue in the
AuthComponent. Prior to this version, the AuthComponent will let no
The only way you can override that using schema importing is implemeting
the create() funciton in your fixture:
class MyFixture extends CakeTestFixture
function create($db) {
$this->fields['tableParameters']['engine'] = 'InnoDB';
return parent::create($db)
}
--
Our newest site for the
this should just work, what error are you getting?
--
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 questions.
To unsubscribe from this group, send em
You also need to mock the models:
$this->controller = $this->generate('Users', array(
'components' => array('Auth' => array('user')),
'models' => array('User' => array('save')) // We mock the User
Model's save method
));
--
Our newest site for the community: CakePHP Video T
Yes, it works because you have disabled the ACL :)
--
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 questions.
To unsubscribe from this group, send em
You can throw exceptions on you model for flow control, it's pretty handy,
I've been doing it since a couple of years ago
--
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 th
Got to repository in github, browse the file you need to change, click edit
and that's it.
If you need to do changes to the layout, I would suggest to download the
source, and follow the instructions to get it running.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.ca
Oh, and after having it locally, make changes to it and push to your fork
in github. The rest is just doing a pull request to us. Please let me know
if you need help with anything.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
Well, the 'bit' column is not officially supported, so it interpreted it as
binary. The best of doing booleans is with tinyint(1)
--
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
set 'validatePost' => false for the security component in that action
--
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 questions.
To unsubscribe from
Thanks for reporting, this issue has been fixed.
--
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 questions.
To unsubscribe from this group, send emai
Just do it header('P3P: ...'), the call to header() will override any
previous calls for the same header. You will probably want to use the
response object for that.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site ht
Not all databases support transactions, and not all requests begin with
one. So it would make sense for you to do it in your models, I don't see
cake handling that automatically.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Ques
Can you please add the changes to the book yourself? that would be greatly
appreciated
--
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 questions.
To
Is that in CakePHP 2.0?
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...
I think the reasons for doing this are very narrow. But if you are
absolutely positive that you need to do it, then the best way would be to
not encrypt the url at all! Encryption can be broken with some level of
effort. My suggestion would be to create urls like tinyurl does, store the
params
Use the migrations plugin, it is a more complete solution.
https://github.com/CakeDC/migrations/tree/2.0
--
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 relat
$this-> Auth-> login($this -> request -> data) should be just $this->
Auth-> login()
If you pass any data to login() that is what it will be stored in the
session, whereas if you call it with no parameters, the it will copy the
database data to the session.
--
Our newest site for the communit
Did you read this?
http://cakedc.com/downloads/view/cakephp_search_plugin
--
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 questions.
To unsubscribe
Those queries are generated by the fixtures in your app, those classes
generate fake model data in separate tables in order to test the features
safely. Although if you did not know about it, then those queries are being
run on your main database!! (with a table prefix in order to preserve the
Comparing floats in PHP is super annoying, go to the line that is comparing
those 2 numbers and cast both values as string.
$this->assertEqual((string) $value1, (string) $value2);
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
read $this->data in beforeFilter(), the password will be plain text there.
--
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 questions.
To unsubscribe
I would use plugins, it is a very natural way of organizing related code
into logical and reusable chunks
--
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 rela
Only the model queries and those you manually do with query() will be
logged. There is actually no reason for that, except that it make logs a
lot more cleaner. If you think transaction queries should be logged, please
open a ticket explaining your use case.
--
Our newest site for the communit
Try to debug the params that the isOwnedBy() function got, and see if they
are what you expect them to be
--
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 rela
You can instantiate a new one:
$request = new CakeRequest();
--
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 questions.
To unsubscribe from this gro
Btw, in CakePHP 2.1 the errors will be rendered using the accept content
type from the browser! Just what you are trying to do in 2.0.
--
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 ot
Probably no, can you submit a patch and a test?
--
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 questions.
To unsubscribe from this group, send email
Expose a method in your model having that line you want to execute. You
will be able to execute the method from outside the model instance.
--
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 he
protected means it can be accessed in subclasses, but not from the outside.
I really don't see a valid use case for altering the schema from the
outside, that is why the schema property is protected.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.1.0 alpha [1]. Version 2.1 is fully backwards compatible with
2.0.x release. This means that if you have an app already working in 2.0 or
plan to upgrade one to it, you can safely start using 2.1 right away and
2.0
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com Fo
Here is the 2.1 migraion
guide http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html
Both "issues" are described there, just update the code accordingly. I
think those two ware the only update that are not fully compatible with 2.0
--
Our newest site for the community: CakePHP Vid
Use more advanced solutions like the AssetCompress plugin
github.com/markstory/asset_compress
--
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 question
http://www.domain.com//index.php notice the double // it looks like either
the search engine is doing dumb requests or you have a bad link in your
site wich is being followed by the spider.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new C
Check this out, this will solve your problem:
https://github.com/cakephp/CakeFest-2010-Workshop/blob/master/models/event.php#L88
--
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
probably an extra line in your CSV file
--
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 questions.
To unsubscribe from this group, send email to
cake
2.0, no doubt!
--
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 questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegr
Not much, you should debug into the behavior to see where it is trying to
add a blank row. I've used it many times in the past without any issues
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Most probably you have trailing whitespace before of after the php tags in
your classes. Use the DebugKit whitespace shell to remove them. You may
also want to change the session settings in core.php, usually setting
'checkAgent' => false solves some issues.
--
Our newest site for the communit
You need this:
http://book.cakephp.org/2.0/en/installation/advanced-installation.html#url-rewrites-on-iis7-windows-hosts
--
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 the
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.1.0 beta [1]. As noted in previous release, this version is fully
backwards compatible with 2.0.5, making it a breeze to update your apps to
start taking advantage of the many improvements that made into this re
$persistModels does not exist anymore, the table structure is cached either
in files or in APC cache if available (the faster APC cache is used if
detected)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.
echo in controller? hmm you might want to try this:
$this->response->type('json');
$this->response->body(json_encode($var));
return $this->response;
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.o
The CakePHP core team is proud to announce the immediate availability of
CakePHP 2.0.6 [1]. This will hopefully be the last minor version released
for the 2.0 branch if no important changes are needed to be done before we
get version 2.1 stable. After this one all bugfixes and security patches
Your aliasing would produce the "$this->Table" object in your views not
"$this->Pdf->Table"
--
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 questions.
Disregard my last comment, maybe you have another Table helper that is
conflicting. If you think this is a bug, please open a ticket in the issue
tracker.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.ca
1 - 100 of 579 matches
Mail list logo