Re: SQL log not showing when debug set to 2 (Cake 1.2)

2008-05-03 Thread Mike52
Hi, I tried your suggestions: 1. I have the default CSS 2. Tried to disable cache, makes no difference 3. I am using MySql 5.0.41. It is part of the WOS package (http:// www.chsoftware.net/en/useware/wos/wos.htm) 4. DboSource::close() is indeed not being called. I put an echo statement in this me

Re: a couple of small things I can't figure out

2008-05-03 Thread damo
just got around the problem by using a hidden field in the form echo $form->hidden('student_id', array('label' => 'Student Number:', 'size'=>5, 'value'=>$student)); works a treat now. But still haven't figured out the flash... --~--~-~--~~~---~--~~ You receive

Re: change password

2008-05-03 Thread damo
looks good, but I get the following error on this line: '$user = $this- >User->findById($this->Auth->User('id'))' Fatal error: Call to a member function User() on a non-object in /var/ www/cake/app/controllers/users_controller.php on line 59 Also, what does the '$this->User->recursive = -1;' do?

Re: Missing PaginatorHelper Method in View

2008-05-03 Thread Cheeze
Upz anyone? My suspicion is the resolution of the path, but I've checked CAKE_CORE_INCLUDE_PATH and ini_get('include_path') and both show the right path. Looking at cake/libs/view/helpers/ paginator.php is there. I don't know where else to look. --~--~-~--~~~---~--~-

Re: a couple of small things I can't figure out

2008-05-03 Thread damo
b logica, have taken your advise and renamed the field as you wisely suggested. I'm still perplexed as to why this saves the files, but with nothing in the $student_id: function add($student = null) { if (!empty($this->data) && is_uploaded_file($this->data['Myfile'][

Sessions Weirdness

2008-05-03 Thread MikeK
We used to have our cake app running in a subdir off our public_html called "foo". So all cake paths were http://mysite.com/foo/controller/action/ We moved the app to the root directory and restructured the site to let everything else hang from the cake app's webroot. We just noticed suddenly

Re: I'm very confused by your approach to internationalization.

2008-05-03 Thread Larry E. Masters aka PhpNut
Sorry should have been... sprintf(__('User with e-mail address %s already exists in our database. Please try to use another e-mail address.', true), $value); -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~-

Re: I'm very confused by your approach to internationalization.

2008-05-03 Thread Larry E. Masters aka PhpNut
-- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Sat, May 3, 2008 at 1:07 PM, Ivans <[EMAIL PROTECTED]> wrote: > > Consider flash message you need show to your visitor during > registration process because u

How to update Div based on specific content from a field using Ajax

2008-05-03 Thread OrlandoP
Hi, Let me try to explain what I'm trying to accomplish. I have a form that I will be submitting using Ajax. Then I have 100 divs that I will update based on the info submitted in the form. The form only has two fields, a number from 00 to 99, and an amount field. It is like a playing board. I hav

I'm very confused by your approach to internationalization.

2008-05-03 Thread Ivans
Consider flash message you need show to your visitor during registration process because user with that e-mail address already exists in your users table. "User with e-mail address "[EMAIL PROTECTED]" already exists in our database. Please try to use another e-mail address". YOU CAN'T, because _

Re: CakePHP and PHPed

2008-05-03 Thread Raistlin Majere
I changed the color scheme and my site was renamed from To Read and To Write to The Amateur Journal. Mysteriously, the problem stopped happening. On 3 maio, 08:59, Raistlin Majere <[EMAIL PROTECTED]> wrote: > For details, take a look > athttp://www.nusphere.com/kb/technicalfaq/howto_set_project_

Re: Formatting Forms

2008-05-03 Thread [EMAIL PROTECTED]
I think you are over generalizing the standard (recommended by w3c) that tables shouldn't be used for web page layouts. It's fine to use tables to format data and forms, it's also just as fine not to use tables for format forms. Don't feel bad about using tables to format forms :). Take Care, Ant

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread R. Rajesh Jeba Anbiah
On May 3, 11:19 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > > I think, modifying core is necessary evil. To bend it for the > > UIMS, it's extremely necessary. > > I need to do my research in the area before arguing. > > > Another change that seems extremely > > necessary is compo

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread Dardo Sordi Bogado
> That said, good lock! That should be "good luck!", ouch! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this gr

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread Dardo Sordi Bogado
> I think, modifying core is necessary evil. To bend it for the > UIMS, it's extremely necessary. I need to do my research in the area before arguing. > Another change that seems extremely > necessary is component vs model namespace confusion (You don't know > what is foo in $this->foo:

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread R. Rajesh Jeba Anbiah
On May 3, 9:04 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Yes, It sounds like a fork. Anyway, maintaining a set of changes to > the core on top of the svn is easily done with git and quilt (as SCM > goes) but involves too much work from programmers. > > I've tried to make a "thing on

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread R. Rajesh Jeba Anbiah
On May 3, 8:59 pm, nate <[EMAIL PROTECTED]> wrote: > Also, for as quaintly egalitarian as your "no authority" clause is, it > doesn't fly in the real world. Even if "developers aren't morons," > that doesn't mean that you won't get n00bs who only think they know > what they're doing, or people wh

Re: [Solved] Inflection Help

2008-05-03 Thread José Selesán
The problem is solved. It was a controller error, I had $name = 'Trivia' and the correct was $name = 'Trivias' Thanks José Selesán escribió: Hi. I'm working on a site in spanish and have a problem with a custom inflection. I have a table called 'trivias', so I created a model 'trivia'

Inflection Help

2008-05-03 Thread José Selesán
Hi. I'm working on a site in spanish and have a problem with a custom inflection. I have a table called 'trivias', so I created a model 'trivia' and a controller 'trivias_controller'. When I try to call some action of trivias_controller I get this error: Error: Database table trivia for model

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread nate
Well, clearly some things aren't obvious to everybody. ;-) On May 3, 12:09 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Sat, May 3, 2008 at 9:29 PM, nate <[EMAIL PROTECTED]> wrote: > > If you really think you can do this, hey, more power to you, but so > > far this plan doesn't even sou

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread Dr. Tarique Sani
On Sat, May 3, 2008 at 9:29 PM, nate <[EMAIL PROTECTED]> wrote: > If you really think you can do this, hey, more power to you, but so > far this plan doesn't even sound good in theory. > Nate I am sure all the devs have better things to do than write long explanations of the obvious ;) Cheers T

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread Dardo Sordi Bogado
> So it sounds like what you're talking about is really more like a > fork. Because I don't see how this would "sit on top of" Cake so much > as "be a replacement". How would you plan to maintain all these > changes against each successive Cake release? Yes, It sounds like a fork. Anywa

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread nate
Also, for as quaintly egalitarian as your "no authority" clause is, it doesn't fly in the real world. Even if "developers aren't morons," that doesn't mean that you won't get n00bs who only think they know what they're doing, or people who's opinions differ from yours. And you plan to handle thi

Re: CakePlus - On the top of CakePHP

2008-05-03 Thread nate
So it sounds like what you're talking about is really more like a fork. Because I don't see how this would "sit on top of" Cake so much as "be a replacement". How would you plan to maintain all these changes against each successive Cake release? On May 3, 11:09 am, "R. Rajesh Jeba Anbiah" <

CakePlus - On the top of CakePHP

2008-05-03 Thread R. Rajesh Jeba Anbiah
I have been thinking this for a while and also posted this sometime ago http://groups.google.com/group/cake-php/browse_frm/thread/949555be03d9df8b/300bec44c5902198 But, I understand Cake should be a tiny and tight framework for many people here. So, I envision something new on the top of CakePHP

Re: Route Redirect question

2008-05-03 Thread simonb
I think in your htaccess file. Something along the lines of RewriteEngine on RewriteRule ^/foo/(*) webroot/$1 [L] RewriteRule^$webroot/[L] RewriteRule(.*) webroot/$1[L] On May 3, 1:49 pm, MikeK <[EMAIL PROTECTED]> wrote: > The specific route to fix our paym

Re: Route Redirect question

2008-05-03 Thread MikeK
The specific route to fix our payment gateway issue for payments initiated before we restructured the site appears to work. The other bit I am wondering if we need something in .htaccess to generally rewrite these requests? And if that's the better place to do it, how? the rewrite rules are someth

Route Redirect question

2008-05-03 Thread MikeK
We used to have our cake app running in a subdir off our public_html called "foo". SO all cake paths were http://mysite.com/foo/controller/action/ We moved the app to the root sirectory and restructured the site to let everything else hang from the cake app's webroot. As a result we have some

Re: CakePHP and PHPed

2008-05-03 Thread Raistlin Majere
For details, take a look at http://www.nusphere.com/kb/technicalfaq/howto_set_project_mapping.htm?/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googl

Re: CakePHP and PHPed

2008-05-03 Thread Raistlin Majere
For details, http://www.nusphere.com/kb/technicalfaq/howto_set_project_mapping.htm?/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To

CakePHP and PHPed

2008-05-03 Thread Raistlin Majere
I am using PHPed and I am getting an error message for mapping Root URL and Remote root directory wrong. My DocumentRoot is C:\AppServ\www\ My site is at C:\AppServ\www\CakePHP\toreadandtowrite\ My site is at http://localhost/CakePHP/toreadandtowrite/ My site is at http://www.toreadandtowrite/ T

CakePHP and PHPed

2008-05-03 Thread Raistlin Majere
Take a look at http://www.nusphere.com/php/cakephp.htm My DocumentRoot is C:\AppServ\www\ My site is at C:\AppServ\www\CakePHP\toreadandtowrite\ My site is at http://localhost/CakePHP/toreadandtowrite/ My site is at http://www.toreadandtowrite/ http://www.nusphere.com/php/php_images/cakephp_pro

Paginate Sort Question

2008-05-03 Thread Kyle Decot
I have a skatepark directory website and I want to be able to sort my results by park name, rating, and city/state. I am having some problems figuring out how to do the city/state sort with paginate. I want to sort the states, and then sort the cities within the states. Anyone have any tips on how

Problem with widget in opera.

2008-05-03 Thread lekshmi
Hi when i try this code as in php file include it as http://192.168.0.182:8090/check.php";> it is working .But include it as cakeurl like http://192.168.0.182/widgets/test";> ,it is not working in opera but it is working in all other browsers like SAFARI,IE,FF perfectly tw

Re: Sharing plugins between several CakePHP websites.

2008-05-03 Thread Daniel Hofstetter
Hi mustan9, > I have 3 websites that all require a blog reusable component that I'm > developing. Can I share the same plug-in across several websites by > telling the different Cake websites to look for plugins in the same > directory. You can define a variable $pluginPaths in app/config/bootst

Re: Sharing plugins between several CakePHP websites.

2008-05-03 Thread mbavio
You have a plugins folder in the root of the Cake folders directory. That´s where you need to pu your plugins. Cheers, mbavio On May 2, 11:53 am, mustan9 <[EMAIL PROTECTED]> wrote: > Hi, > > I have 3 websites that all require a blog reusable component that I'm > developing. Can I share the same

Re: change password

2008-05-03 Thread mbavio
My two cents: Action in the controller: function changePassword() { if (!empty($this->data)) { $this->User->recursive = -1; $user = $this->User->findById($this->Auth->User('id')); if($this->Auth->password($t