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
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
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
Here's my main problem.
Whenever I run sudo ./lampp restart, I get the following error:
httpd: Syntax error on line 114 of /opt/lampp/etc/httpd.conf: Cannot load
/opt/lampp/libexec/apache2/mod_rewrite.so into server:
/opt/lampp/libexec/apache2/mod_rewrite.so: cannot open shared object file:
No su
I thought I would respond back to this in case someone else had the
same problem. I fixed it by changing my host in my Config/database.php
file to be 127.0.0.1 instead of being localhost.
Andrew
On Oct 4, 2:02 pm, andrewperk wrote:
> Well it turns out it did not fix the problem all the way, I'm
My Post model have Tree behavior, and everything work just fine. Each
post has a parent_id and lft,rght column.
If I create and move posts in single level, everything is OK.
But I get an error when I try to move a post which has one or more
children. How to deal with this? Thanks
--
Our newest s
Can you paste User model
http://bin.cakephp.org/
--
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 ema
Thanks Jose, that cleared it out and everything was working again last
night, but this morning it had forgotten again and wasn't using the
model. I cleared out the cake cache and it used the model. No doubt
it will forget again soon.
What could be causing this? Its like it sometimes writes somet
there is 2.0 branch
https://github.com/CakeDC/comments/blob/2.0/Controller/Component/CommentsComponent.php
--
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
If you look at PSR-0 and how classes are named (singular) FormHelper,
MediaView, BakeTask
then it make sense to pluralize Layouts, Elements, Scaffolds etc.
View\Layouts\rss
View\Layouts\Emails
View\Layouts\Emails\html
View\Emails\html
could be CamelCased imo.
--
Our newest site for the communi
I, too, have to grasp all the changes and understand WHY they are
happening.
and I am still not quite used to the idea of those CamelCase folder/
file names
but I'll try not to pre-jugde anything here.
It feels like the framework did make a huge step in the right
direction no matter what the files
i wonder why Templates is uppercase?
there is no namespace here, is there?
or no actual classes in this template folder...
On 21 Okt., 18:25, José Lorenzo wrote:
> app/Console/Templates/*
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new Ca
looks kind of ugly
one more reason to get those functions out of the helpers into libs
there is no reason for almost 70% of all helper functions to be in
helpers
some might have to be used in controllers etc.
therefore they should be libs and the helpers should internally use
those libs.
it starts
It is not a big deal but probably I do something wrong. This code
always return false, but the cookie is set fine
if($this->Cookie->write('paginate_limit', '7')){
$this->Session->setFlash(__('OK', true), 'default',
array('class'
=> 'error'));
ah, my feelings are hurt :(
-- since sarcasm doesn't translate well to typed text, I'll let you know...
this reply is just an example of some poor humor
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.ca
Solved (might be a better solution though, if anyone cares to critique my
solution) :
*Changed the function cleanHtml() from the above version to this version : *
*
*
// in Comments/Controller/Component/CommentsComponent.php
function cleanHtml($text, $settings = 'full') {
App::import('Helper',
Hi, I am working on same caching and I need to disable in form token
generating UserAgent, is this possible, and from form checking also?
--
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
Ok, so it seems like I was heading the right way. I think I will go with th
suggestion from euromark.
Thanks for the help.
/Anders
--
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 othe
Nevertheless, you should be using Sha-256 or better.
On Fri, Oct 21, 2011 at 3:29 PM, Justin Edwards wrote:
> The mdcrack utility only tries to crack md5 hashes with salt up to
> 55characters.
>
>
> On Fri, Oct 21, 2011 at 1:03 PM, Matt Kaufman wrote:
>
>> It is very fast to crack MD5 hashed wit
The mdcrack utility only tries to crack md5 hashes with salt up to
55characters.
On Fri, Oct 21, 2011 at 1:03 PM, Matt Kaufman wrote:
> It is very fast to crack MD5 hashed with any Nvidia Video card with a GPU
> chip on it or FPGA.
>
> Matthew M. Kaufman
> Http://mkfmn.com
>
> 1-503-881-6906
>
>
Awesome!
Changing 'localhost' to '127.0.0.1' worked :)
Thanks!
--
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
It's PDO error.
Try to use 127.0.0.1 instead of localhost in database.php
When you run PHP from CLI - command line, usually there's another php.ini
file, so look for it.
Or google eg.
http://stackoverflow.com/questions/1435445/error-on-creating-connection-to-pdo-in-php
--
Our newest site for
I am trying to make my own function
Where i put my own function? in bootstrap file?
like this?
function __myd($domain, $msg, $return = false) {
$var[] =__d($domain, $msg, true);
return __d($domain, $msg, $return = false);
}
--
View this message in context:
http://cakephp.
Not sure, but I think the application will see the domain name as the ACE
(or IDNA) version.
http://en.wikipedia.org/wiki/Internationalized_domain_name
HTH,
LipeDjow
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site h
It is very fast to crack MD5 hashed with any Nvidia Video card with a GPU chip
on it or FPGA.
Matthew M. Kaufman
Http://mkfmn.com
1-503-881-6906
Sent from my iPhone
On Oct 21, 2011, at 10:49 AM, Nate wrote:
> MD5 is only one way. It cannot be reversed...However, it has been
> "cracked" and
The PHP Security Consortium has an article on password hashing, including
using salt. http://phpsec.org/articles/2005/password-hashing.html
On Fri, Oct 21, 2011 at 1:49 PM, Nate wrote:
> MD5 is only one way. It cannot be reversed...However, it has been
> "cracked" and is considered insecure by
MD5 is only one way. It cannot be reversed...However, it has been
"cracked" and is considered insecure by itself.
Why? Rainbow tables have billions of hashes. They contain any and
every password combination you can come up with. All an attacker has
to do is take an MD5 hash and compare it to what
In manually setting everything up, I'm able to successfully add,
modify, view, and remove products with scaffolding enabled.
However, when I go into Bake, and I choose to create a [C]ontroller -
it then asks for my database (default). I confirm that setting and I
get this error:
Warning Error: P
It always baffles me how anyone can judge anything based on the amount of
effort required of them whilst disregarding the quality of the output.
Miles - you're a good guy and you've contributed a lot here. There are some
changes with 2.0 and I admit that I am finding some a struggle. It's like g
Yup - it's one way, so if you changed the salt you'd bust everything. The
one-way-ness of it helps it be more secure as it is impossible (probably) to
take an encrypted password and reverse it. When a user logs in Cake encrypts
the value and compares it with the stored (encrypted) value to see i
I responded to your email without realizing you may not have followed the
discussion of 2.0 changes that much. We did follow the final standard
https://gist.github.com/1293323, not sure which group you are thinking of. And
just by chance, did you look at any of the other frameworks you mentioned
Me to:
Brooksides-MacBook-Pro:app brooksidestudios$ cake bake model all
Welcome to CakePHP v2.0.0 Console
---
App : app
Path: /Users/brooksidestudios/Sites/grticket2/app/
---
Y
I'm migrating to CakePHP 2.0, and run into this problem with the
FormHelper. I have a Book model and a related Author model:
var $uses = array('Book', 'Author');
I'm creating an autocomplete field for Author in the Book edit form,
which will look for existing author names. In the beforeSave()
fun
I get the same error after moving to cakephp2:
Brooksides-MacBook-Pro:app brooksidestudios$ cake bake model all
Welcome to CakePHP v2.0.0 Console
---
App : app
Path: /Users/brooksidestudios/Sites/grticket2/app/
--
error after loading cakephp at dreamhost
Fatal Error (256): [MissingHelperException] Helper class FormHelper
could not be found.
#0 /home/legalpanda/legalpanda.abmantech.com/lib/Cake/View/
View.php(577): HelperCollection->load('Form', Array)
#1 /home/legalpanda/legalpanda.abmantech.com/lib/Cake/Vi
Hi,
I've been using Auth in a website under development and it seems to be
working fine. The only potential concern I have is that it uses the
'salt' for generating the encrypted password, and obviously to check
it against provided password during login.
My question is :
- Isn't md5 an irrevers
My question in that case would be, why am I getting that error?
On Thu, Oct 20, 2011 at 5:12 PM, Yves S. Garret
wrote:
> I have a decent understanding of what the tutorial is trying to do.
> However, trying it to move it into my project is my present issue.
>
> Here is my model:
> http://bin.cak
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
Thanks guys that saves the Bacon.
I thought CakePHP would chuck a wobbly if you have extra fields in
the validation which don't exist in the database.But that doesn't
seem to be the case.
Also your password behaviour looks good, I will look into it.
On Oct 20, 12:55 pm, euromark wrote:
>
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...
Thanks, bye.
--
Larry E. Masters
On Oct 21, 2011, at 11:02, Miles J wrote:
> Oh you mean the PHP standards group? CakePHP is far from following
> that.
>
> I think capitalized folder names are the worst kinds of implementation
> and now making every folder work that way? Stupid. Yet still havi
Yes. Here is a small snippet:
-->
Kathy
Peanuts
Robe
No go.
CSS file:
http://bin.cakephp.org/view/1070883347
On Fri, Oct 21, 2011 at 4:03 AM, Arno.E wrote:
> Sorry, also in your CSS on line 166: it should be tr.altrow, not
> table.altrow. Try that and see if it works?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://
How do you get the pdf version? Only found the ePub version.
-flosky
vaughany schrieb:
Will try it from another computer later! I get the 404 no matter how many ways
I try clicking on the link...!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check o
Oh you mean the PHP standards group? CakePHP is far from following
that.
I think capitalized folder names are the worst kinds of implementation
and now making every folder work that way? Stupid. Yet still having
some folders not capitalized? Stupid and inconsistent. For one thing,
it requires me t
Will try it from another computer later! I get the 404 no matter how many
ways I try clicking on the link...!
--
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
I have been trying to modify the default baked template in 2.0 and can't
seem to get my template option to show up
I tried putting it in
app\Vendor
app\Vendor\shells\Template
I even tried putting it in \lib\Cake\Console\Templates
Is there something I'm missing.
--
Our newest site for t
H guys,
I have download cakephp2.0 and run the bake from command
prompt(windows 7, PHP 5.3.8).
It gives me following error while trying to bake Users
Model,Controller but these page created successfully, the problem is
with View file. All others are working fine.
Fatal error: Cannot redeclare cl
I am getting the following error
{"DTOCollection":[],"ErrorCollection":[{"ErrorCode":
80,"FriendlyErrorMessage":"Requested XML format is not
correct!"}],"IsResultTrue":false,"IsSuccess":false}in the following
portion of code
$dom = new DOMDocument();
$dom=load($url);
$root = $dom->documentE
Hello all,
I'm able to bake view one by one but when I call bake view all just don't do
nothing and exits ...
I'm calling the script from the root from my project like this :
./lib/Cake/Console/cake bake view all
I'm using 2.0 on a Mac.
cheers
--
Our newest site for the community: CakePHP Vid
I have six model are Company->Brand->SubBrand->Product->Ad-
>Monitoring. i want to get data pagination with title filter. I want
to find A Brand based Monitoring report. and Company based Monitoring
report.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Che
:-)
So you're a class outfit, huh? I guess corny humor is an innate part of
that outfit?
;-) :-P
On Fri, Oct 21, 2011 at 11:02 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> ...but maybe I took the last copy from the bookshelf...?
>
>
> Jeremy Burns
> Class Outfit
>
>
...but maybe I took the last copy from the bookshelf...?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 21 Oct 2011, at 16:00, Jeremy Burns | Class Outfit wrote:
> I browsed to it on my iPad, clicked it and it asked if I wanted to open it in
> iBooks. Simples.
>
> Jeremy Burns
> Clas
I've used Tomes/Bookshelf on the iPod before, that works nicely, but as of
30 seconds ago the link to get the epub book was still dead, so that's
probably why you can't download it.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Q
I browsed to it on my iPad, clicked it and it asked if I wanted to open it in
iBooks. Simples.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 21 Oct 2011, at 15:58, Yves S. Garret wrote:
> I can see it, but how do download it on my iPhone and read it? Is there a
> PDF version that I
I can see it, but how do download it on my iPhone and read it? Is there a
PDF version that I can put into iBooks?
On Fri, Oct 21, 2011 at 8:45 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> Yup - look at the first few links: http://book2.cakephp.org/en/index.html
>
> Jer
So I'm working on upgrading the CakeDC Comments Plugin to 2.0, and I've hit
a roadblock.
// in Comments/Controller/Component/CommentsComponent.php
function cleanHtml($text, $settings = 'full') {
App::import('Helper', 'Comments.Cleaner');
$cleaner = & new CleanerHelper();
return $cleaner->clean(
The ebook link is throwing a 404 error, but I'll checkback regularly until I
get 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
@Andreas, thanks for the tip and example code. It hasn't really dawned on me
what I was doing there. At the moment I'm happy if I don't get a stack
trace. :)
As an aside, I had to change your 'recursive' => -1 to 0 for it to work
correctly.
@Jeremy, thanks for your reply and example code. I'l
Yup - look at the first few links: http://book2.cakephp.org/en/index.html
Jeremy Burns
Class Outfit
Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 21 Oct 2011, at 13:42, Yves S. Garret w
Epub version? I can download a PDF and put it on my iPhone?
On Fri, Oct 21, 2011 at 6:21 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:
> I just put the epub version on my iPad - I find it's a great way to flick
> through it.
>
>
> Jeremy Burns
> Class Outfit
>
> http://ww
On Oct 17, 9:07 pm, "Yves S. Garret"
wrote:
> Hello everyone,
>
> I came across this problem. I googled it and found this solution.
>
> http://ask.cakephp.org/questions/view/removing_cakephp_header_footer
>
> And, maybe it's due to this cold/headache, but I can't make any sense of
> what's w
I just put the epub version on my iPad - I find it's a great way to flick
through it.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 21 Oct 2011, at 11:11, Yves S. Garret wrote:
> I envy you. I wish I could work from home.
>
> And yes, the book is a great resource, I just wish I had
I envy you. I wish I could work from home.
And yes, the book is a great resource, I just wish I had the chance to open
it and read it from start to finish while trying everything out.
On Fri, Oct 21, 2011 at 5:49 AM, WebbedIT wrote:
> I work from home so there is rarely a chance to get away fr
I work from home so there is rarely a chance to get away from it!
I find that I constantly have the book open and must still reference
it 10+ times a day, hard to remember what every parameter does or how
each data array should be formatted,
Paul.
On Oct 20, 10:46 am, "Yves S. Garret"
wrote:
>
Hi everybody,
I'm implementing a test for a controller, and I'm experiencing a
strange problem: it seems that if I call ``testAction`` multiple time
inside the same test function, assertions start to fail as if requests
were not properly sent to controllers.
The example below shows a successful t
Sorry, also in your CSS on line 166: it should be tr.altrow, not
table.altrow. Try that and see if it works?
--
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
Hi there,
Looks like my fix didn't work. I tried:
Index: /var/www/html/myapp/lib/Cake/Model/Datasource/DboSource.php
===
--- /var/www/html/myapp/lib/Cake/Model/Datasource/DboSource.php
+++ /var/www/html/myapp/lib/Cake/Model/Datasour
Dear Community,
Not sure if this is the right place, but here goes. I've upgraded an
application from 1.3.10 to 2.0.0 and now get the following error:
"Fatal error: Access to undeclared static property: DboSource::
$methodCache in /var/www/html/myapp/lib/Cake/Model/Datasource/
DboSource.php on li
Great; Ditch PHP 5 Standards too
Sent from my iPhone
On Oct 21, 2011, at 12:08 AM, Miles J wrote:
> Oh my that is a god awful format. Looks like I am not upgrading.
>
> On Oct 20, 11:28 pm, Andras Kende wrote:
>> Directories Capitalized, files lowercase :)
>>
>> Andras Kende
>>
>> On Oct 21
Oh my that is a god awful format. Looks like I am not upgrading.
On Oct 20, 11:28 pm, Andras Kende wrote:
> Directories Capitalized, files lowercase :)
>
> Andras Kende
>
> On Oct 21, 2011, at 1:18 AM, Miles J wrote:
>
>
>
>
>
>
>
> > Wait, so is uppercase folder names for views standard now?
>
>
On Fri, Oct 21, 2011 at 2:38 AM, Greg wrote:
> Still a bit stuck here with ReST. I have the index displaying as XML,
> and JSON - so its a good start...
>
> however the list could end up being quite large, so I want to
> condition it by fields.
>
> Conceptually something like:
>
> logs.xml?source=
72 matches
Mail list logo