Re: character encoding woes

2010-10-29 Thread jsalonen
Most likely the mysql client is set to use latin-1. To change it from Cake add the encoding setting to the config/database.php: var $default = array( 'encoding' = 'utf8', // Convert all character data to UTF-8 'driver' = 'mysql',

Auth-deny problem

2010-10-29 Thread thomaus
Hi there, I don't know what's happening with the Auth-deny function, but I can't make it work properly. Such a function: function beforeFilter() { parent::beforeFilter(); $this-Auth-deny('overview'); } in my Users controllers should forbid the access to the url '/users/

Re: 2 database, 1 models and controllers, many views

2010-10-29 Thread Zaky Katalan-Ezra
1. Use themes for two different designs 2. Use some sync software like rsync to update one of the sites controllers, models. 2.1 if both sites on the same server you can use symlink/hardlink (in linux) for controller and models in on of the sites 3. Set each site with its default theme. Another

Re: Best Idea Needed

2010-10-29 Thread dtemes
Off topic - I am not really fond of selects, as you can only see the selected option and you have to open it to see other possible values.If the number of options per select is just 5 have you considered using groups of radio buttons? If I understood you correctly your form could be solved with 9

Strange Session problem

2010-10-29 Thread Squire
Hi I've just encountered a really strange problem on one of our production sites. This is the scenario: We have a reporting page where a user can put in search criteria. Those search criteria are saved in the session, and the data is returned. Then the user can download the report. The download

Re: Strange Session problem

2010-10-29 Thread Jeremy Burns | Class Outfit
Are you switching between http and https at any time? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 29 Oct 2010, at 05:52, Squire wrote: Hi I've just encountered a really strange problem on one of our production sites. This is the scenario: We have

Re: Acl and bindNode

2010-10-29 Thread Jeremy Burns | Class Outfit
Anybody else got any more ideas on this? Anyone using it with success? Jeremy Burns Class Outfit jeremybu...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burns http://www.classoutfit.com On 27 Oct 2010, at 17:10, Jeremy Burns | Class Outfit wrote: I wish that

Find all query + conditions

2010-10-29 Thread Vinícius Barbosa
Hello, I have a problem a few days it seems very simple, but I can not in any way a solution. I have a table, more or less like this, but has many more fields summarize because it's just that I need: id veiculosModelo veiculosHodo(int) veiculosHodoprox(int) 1 carro1

Re: Strange Session problem

2010-10-29 Thread Squire
Hi Jeremy thanks for the response. Typically I have now found the mistake, after posting... this tends to happen to me. Here's what happened. We have an auto-complete input box that uses an ajax call to find the users in the system. Since this can be used multiple times, I cached the results in

Re: Find all query + conditions

2010-10-29 Thread Marco
It is difficult to understand what is your problem, probably you translated your message from portuguese to english with an automatic translator. Try also the google group in portuguese http://groups.google.com/group/cakephp-pt/topics On Oct 28, 11:59 pm, Vinícius Barbosa vina...@gmail.com

Sent mails don't arrive in Outlook Exchange mailboxes!

2010-10-29 Thread psybear83
Hey everybody I noticed that mails sent using the Email component (without using SMTP or stuff) don't arrive at my office's email, which is run using Outlook Exchange. When sending to my private email provider, it works flawlessly. I guess it could have something to do that Outlook has a

Re: How to insert an empty string with CakePHP

2010-10-29 Thread euromark
i still dont get why $object['Taxcode']['description'] = '' should be ignored in my case it always sets the field to empty in the database what you are doing is exactly what happens if you use edit and empty a field. sure there is no callback, no whitelisting involved? On 29 Okt., 04:27,

Re: Sent mails don't arrive in Outlook Exchange mailboxes!

2010-10-29 Thread Jeremy Burns | Class Outfit
I have had a similar experience where emails are generally sent perfectly, but are not received by staff who work for the client company (those who share the same email address domain as the address used to send the emails). I know they are sent because I am bcc'd, but they don't get them. It

Re: Auth-deny problem

2010-10-29 Thread Marco
Is the variable $this-Auth-authorize set to 'controller'? On Oct 29, 5:19 am, thomaus tho...@saimiris.com wrote: Hi there, I don't know what's happening with the Auth-deny function, but I can't make it work properly. Such a function: function beforeFilter() {        

Re: Find all query + conditions

2010-10-29 Thread Vinícius Barbosa
Thanks, I'll try this group you now, if not I work to get a message more readable. On 29 out, 08:47, Marco marco.perg...@gmail.com wrote: It is difficult to understand what is your problem, probably you translated your message from portuguese to english with an automatic translator. Try also

Re: How to insert an empty string with CakePHP

2010-10-29 Thread Caroline
ok, I am an idiot... After hours of debugging, I found the code where I, myself, unset the field if it is empty. Sorry about the waste of time and thanks for the help. On Oct 29, 9:05 pm, euromark dereurom...@googlemail.com wrote: i still dont get why $object['Taxcode']['description'] = ''

Re: Sent mails don't arrive in Outlook Exchange mailboxes!

2010-10-29 Thread Joshua Muheim
OK, thanks for your feedback, Jeremy. On Fri, Oct 29, 2010 at 1:08 PM, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: I have had a similar experience where emails are generally sent perfectly, but are not received by staff who work for the client company (those who share the

Re: How to insert an empty string with CakePHP

2010-10-29 Thread euromark
i knew it^^ On 29 Okt., 13:58, Caroline cdotc...@gmail.com wrote: ok, I am an idiot... After hours of debugging, I found the code where I, myself, unset the field if it is empty. Sorry about the waste of time and thanks for the help. On Oct 29, 9:05 pm, euromark dereurom...@googlemail.com

Re: Change a field's value after changing another field using Model-set(...)

2010-10-29 Thread Anthony
You also may want to check out the modified and created *magic* columns. http://book.cakephp.org/view/69/created-and-modified On Oct 28, 5:53 am, Joshua Muheim psybea...@gmail.com wrote: Right, I forgot about that... Silly me. Thank you, Mark! On Thu, Oct 28, 2010 at 11:59 AM, euromark

CKEditor + KCFinder

2010-10-29 Thread Juliano Bordignon
hello .. I have an application running with CKEditor + CKFinder, but I want to change the CKFinder by KCFinder because of licensing .. but I'm having trouble integrating the two, has anyone ever done this? thanks Juliano Check out the new CakePHP Questions site http://cakeqs.org and help

Re: Auth-deny problem

2010-10-29 Thread thomaus
Ok, thanks. I can now deny some acces, following this article http://book.cakephp.org/view/396/authorize But still, what is the use of the deny function then? On Oct 29, 1:12 pm, Marco marco.perg...@gmail.com wrote: Is the variable $this-Auth-authorize set to 'controller'? On Oct 29, 5:19 am,

Re: Learn CakePHP

2010-10-29 Thread Adrian Arnautu
Hi, How much do you know about MVC pattern? How much have you worked with a MVC framework? And how much do you know about Web development? If you know Rails it will be easier to pick up Cake. :) Personally I needed proximately 1 week and a half to be up and ready for almost any situation I could

RE: Best Idea Needed

2010-10-29 Thread Dave Maharaj
Another good idea with the rows, but in total I think there are close to 60 selects and more to be added so that's why I used selects. 60 Rows would be rather larger where currently I have 3 selects in a row so it cuts down on the height. Dave -Original Message- From: dtemes

Re: Auth-deny problem

2010-10-29 Thread jsalonen
The deny function makes Cake require the user to log in. If you deleted all cookies and tried to access you should be redirected to your login page. AuthComponent actually does two different kinds of auth: authentication (checking the user is who she says she is) and authorization (checking the

form to create/redirect to a url

2010-10-29 Thread Briko03
I want to create a form that redirects to a url based on input from the user. For example: First Name:--- Last Name: Would redirect to domain.com/controller/action/lastname/firstname There would be no information saved. I also want to have a select box populated by table

Re: form to create/redirect to a url

2010-10-29 Thread Tilen Majerle
make a form action to some method in controller...then in this method get firstname and lastname from $this-params[url][firstname] and $this-params[url][lastname] and make a redirect to controller/action/firstname/lastname -- Tilen Majerle http://majerle.eu 2010/10/29 Briko03

The Biggest Social Network site...

2010-10-29 Thread chris...@yahoo.com
Hello all,... I have a beautiful START with a this BIGGEST Social site I have dreamed of. Half way thru,... can't finish it. I'm just a beginner, and have plans to create the BIGGEST ever social site on the Net... lol, with plans and strategies that CAN bring more Business to your pocket. ...

Re: The Biggest Social Network site...

2010-10-29 Thread Alok Mishra
Very intersting work in social networking site On Fri, Oct 29, 2010 at 10:57 PM, chris...@yahoo.com chris...@yahoo.comwrote: Hello all,... I have a beautiful START with a this BIGGEST Social site I have dreamed of. Half way thru,... can't finish it. I'm just a beginner, and have plans to

Re: form to create/redirect to a url

2010-10-29 Thread Briko03
Thanks mate! On Oct 29, 12:02 pm, Tilen Majerle tilen.maje...@gmail.com wrote: make a form action to some method in controller...then in this method get firstname and lastname from $this-params[url][firstname] and $this-params[url][lastname] and make a redirect to

Re: character encoding woes

2010-10-29 Thread cricket
On Fri, Oct 29, 2010 at 2:31 AM, jsalonen joni.salo...@gmail.com wrote: Most likely the mysql client is set to use latin-1. To change it from Cake add the encoding setting to the config/database.php:        var $default = array(                'encoding' = 'utf8',      // Convert all

Re: Sent mails don't arrive in Outlook Exchange mailboxes!

2010-10-29 Thread BrendonKoz
From my experience in dealing with our Exchange administrator, any emails that are dynamically created and faked (send an email from some...@business.com when the domain the message is sent is not from the business.com network) is automatically blocked and marked as spam. This is a huge spam

Re: The Biggest Social Network site...

2010-10-29 Thread alexsandro andre
skype? Atenciosamente, Alexsandro André Joinville - SC 47-8825-0133 2010/10/29 Alok Mishra aloksoft2...@gmail.com Very intersting work in social networking site On Fri, Oct 29, 2010 at 10:57 PM, chris...@yahoo.com chris...@yahoo.comwrote: Hello all,... I have a beautiful START with