Hi,
A client purchased data, but wasn't allowed to have the code. The
user table has an encrypted password and a salt column. I started my
site using AuthComponent, where it's just one password field, docs say
Cake appends your password string to a salt value and then hashes
it.
So is there a
Hi,
I've put a repo on github for a cakephp plugin. It very early days,
and im interested to see if anyone would like to help contribute to
the project.
https://github.com/markaduffy/wijmocake
--Mark
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check
Hi,
you would need to implement a password logic that prepends/appends (you
would need to check with the supplier how the salt was applied and which
hash algorithm was used, md5, sha1, etc...) the salt to the user
password input and check the resulting hash with the hash in the
database. I
I solved this problem by placing the dbf file inside webroot
directory.
Thanks
On Sep 19, 1:02 pm, Uday khanal.sham...@gmail.com wrote:
Hi,
I have connected the .dbffile with plain code in php but unable to
open the same file with cakephp.
Is there any quick / better way to use Auth to limit the results based
on the users login details or is it just a matter of using if/else
statments to get what you want.
For example, I have a list of products which all have a group id
assigned to them. Each user also has a group id. When the user
I guess you can do something like this:
$group_id=$this-Auth-user('group_id');
$products=$this-Product-find('all',array('conditions'=array('Product.group_id'=$group_id)));
Is this what you're looking for ?
Teddy
On Wed, Sep 21, 2011 at 12:28 PM, elogic asymo...@elogicmedia.com.auwrote:
Is
On Sep 21, 2:28 pm, elogic asymo...@elogicmedia.com.au wrote:
Is there any quick / better way to use Auth to limit the results based
on the users login details or is it just a matter of using if/else
statments to get what you want.
For example, I have a list of products which all have a
i never had a problem mixing auto increment ids and uuids.
but with the current head versions of cake1.3 it seems to get messed
up
i got a simple address table with id(int 10) as primary and a
foreign_id (char 36) for user model etc
pretty sure it used to work
but now on every update it tries to
Taking that you are new to CakePHP this might be a bit too hard to
digest, but I recommend at least reading this article:
http://jmcneese.wordpress.com/2009/04/19/rmac-ftw-part-1/
http://jmcneese.wordpress.com/2010/01/28/rmac-is-dead-long-live-rmac/
This is implementing UNIX-style permissions
Hi,
strange, I do a find and I can debug my results perfectly.
Then I do a $this-set('results', $results); and I can debug() it
again in the view.
Then I need to do a foreach like
foreach($results as $key = $object):
debug($object);
The array looks like
Array
(
[Gesamtobjekt] = Array
If u want the script on body`s page, just remove this `inline` = false.
$this-Html-scriptBlock(document.getElementById(\OpFirstName
\).focus(););
Atenciosamente,
Vinícius Moraes
2011/9/21 nkoss nkos...@gmail.com
Webbedit...
AHA...but your code did not work since scriptBlock is a method of
There's a different salt for each row.
I have an email in with the designer who deals with the clients, to
see if I can find out more about the old logic. Hopefully someone
knows at least one password in it, so I can test with.
Thanks
On Sep 21, 3:59 am, Thomas Ploch profipl...@googlemail.com
Hello,
I'm currently switching from php sessions to database sessions in
cakePHP 1.3.11. I used the command line to create the cake_sessions
database table. I've got the following in my core.php file:
Configure::write('Session.save', 'database');
Configure::write('Session.table',
I tried to disable debug.log and error.log logging but I couldn't. I've
tried putting debug in 0 and log in 0 in core.php but that didn't work. I've
tried this:
class CakeLog {
/**
* Writes given message to a log file in the logs directory.
*
* @param string $type Type of log, becomes part of
Why do you need to disable logging?
Logging is handled through a PHP function, not Cake. Cake just defines
the handler.
On Sep 21, 9:40 am, Hugo M ham1...@gmail.com wrote:
I tried to disable debug.log and error.log logging but I couldn't. I've
tried putting debug in 0 and log in 0 in core.php
Please resubmit your question I accidentally deleted it (sorry) and ..
google groups gives me no way to find out who you are, or undelete
your message.
AD
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Robert,
No, there is no bug, what you're trying to achieve has nothing to do
with saving data. You're creating a control mechanism where a
checkbox designates if an action should be performed on a row or not.
Cake has no built in functionality to deal with this.
One way to achieve what you want
I installed a fresh copy of 2.0.0-RC2 and set up a simple
UsersController and Model, and enabled Auth and Acl Components. I can
log in, but when trying to access any page requiring an Acl-check() I
get the following error.
Warning (512): AclNode::node() - Couldn't find Aro node identified by
You woudl create two associations using something like
var $belongsTo = array(
'Area1Translation' = array(
'className' = 'Translations',
'foreignKey' = 'item_area1_translationId',
'conditions' = '',
* [Note: Session.table is deprecated as of CakePHP 1.3]
*/
// so get rid of it Configure::write('Session.table',
'cake_sessions');
try this
Configure::write('Session.save', 'database');
Configure::write('Session.model', 'Session');
Configure::write('Session.database', 'default');
works
Please how do i disable cakephp production error from showing on a
live site. I am getting this error
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]:
Can't connect to local MySQL server through socket '/var/run/mysqld/
mysqld.sock' (2)
At core.php, change the value of debug to 0
On Sep 21, 7:51 pm, tubiz tayi...@gmail.com wrote:
Please how do i disable cakephp production error from showing on a
live site. I am getting this error
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]:
Can't connect to local
I originally thought this error had to do with my path setup - I had
separated the core from the app so I could work more easily with git
submodules, so I ignored it. I just did a fresh checkout from the git
repo / a download of the RC2 source / and a cakeinit install of the
2.0 package (also uses
Hi All,
I am having the exact problem as mentioned in the below post. It says
the ticket has been resolved however I have the latest copy and the
same issue is happening.
Anyone know the fit for this?
Thanks
ISSUE:
===
I have a like-field with encoding turned
I heard rumors that we are turning search result into object list
instead of array.
Is it comming soon? As English is not my mother tongue, it is very
difficult to find
spelling mistakes, whereas if it was object I can just depend on auto-
complete.
--
Our newest site for the community: CakePHP
Hi
I developed a site last year in php and mysql in a procedural manner
(I did not use MVC model or object oriented programming). The project
is being developed further along with 2 new programmers. As we have
got some investment and it looks like this application (market place
style website) will
Hi
My team have been using Elgg to build a social commerce site. We have
all found it confusing and slow. Additionally, the database uses an
EAV model, totally different to what we've all been used to.
How does cakePhp compare to Elgg? Is it fast? Easy to use?
Thanks
Mark
--
Our newest site
Cake will do just fine for you.
The most important thing about the longevity of any application is the strength
of your data models.
As long as you keep the data clean and follow strict conventions, you be fine.
Cakephp promotes a very clean and normalized data model.
Code with confidence.
That's not a very good comparison. This is what Elgg is:
http://en.wikipedia.org/wiki/Elgg_(software)
It's a social networking engine, but CakePHP is not. Could you narrow down
your comparison?
On Wed, Sep 21, 2011 at 7:38 PM, mark kelly markkelly1...@gmail.com wrote:
Hi
My team have been
Still stuck on this.
Whats odd is it is sending duplicates to my work email, and another
pop type email - but if i set the to my gmail, just the one email.
Seems odd. Must be a reason.
w
On Sep 14, 4:25 pm, #2Will willjbar...@gmail.com wrote:
Hello
My little app is sending duplicates of
I certainly appreciate the comments from all and I have learned a lot
from this discussion. @Webbedit. I did try your code, but I got
several errors. Thatis why I thought it was not correctIAC, it is
probably time to put this one to rest. Thank you all again!!
--
Our newest site for the
31 matches
Mail list logo